E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
AVformat
FFMPEG(一)使用初探
使用FFMPEG的主要流程如下:av_register_all()->
avformat
_open_input()->av_find_stream_info()->avcodec_find_decoder
makeyourprogress
·
2020-08-03 19:51
ffmpeg框架阅读笔记二 : 寻找AVIOContext初始化过程,自定义初始化。
在
avformat
_open_input中,有一个init_input函数,它的作用是打开输入媒体,初始化所有与媒体读写有关的结构们,例如/AVIOContext,AVInputFormat等等。
_Mr_COOL
·
2020-08-03 14:12
多媒体
ffmpeg
ffmpeg源码简析(六)编码-av_write_frame(),av_write_trailer()
1.av_write_frame()av_write_frame()用于输出一帧视音频数据,它的声明位于libavformat\
avformat
.h,如下所示。
小码哥_WS
·
2020-08-03 13:07
ffmpeg
FFmpeg:AVFormatContext结构体分析
FFmpeg:AVFormatContext结构体解析AVFormatContextAVFormatContext是API中直接接触到的结构体,位于
avformat
.h中,是音视频数据,也就是音视频文件
SuperDali
·
2020-08-03 02:52
ffmpeg
Android用FFmpeg解封装解码
1.解封装步骤1.1初始化操作//初始化解封装和编解码av_register_all();avcodec_register_all();//2、初始化网络
avformat
_network_init();
记住我的名字啊
·
2020-08-02 21:28
FFmpeg
音视频学习一: android平台下ffmpeg编解码简记-解封装
解封装1.常用函数:av_register_all():注册所有组件
avformat
_network_init():初始化网络环境
avformat
_open_input(...)
夜PP
·
2020-08-02 20:58
android
音视频
教程:视音频编解码库FFmpeg快速上手笔记01;
FFmpeg的基本组成;FFFmpeg框架由
AVFormat
、AVCodec、AVFilter、AVDevice
MoeDisk
·
2020-08-02 20:32
ffmpeg
使用FFMpeg实现实时推流功能
推流操作从乎用户层面可简单分为以下几个步骤:1.开始推流2.推流中3.结束推流在开始推流的时候,关键的几个事情就是1.标记RTMP推流状态为开始2.使用
avformat
_alloc_output_c
Abe_liu
·
2020-08-02 15:38
FFMpeg
iOS开发
ffmpeg编译过程遇到的问题
遇到问题:头文件找不到libavformat/
avformat
.hfilenotfound解决方法:LibrarySearchPaths,HeaderSearchPaths,两个要设置,要是还不行,Project
wangsongsong1
·
2020-08-02 14:21
ios学习
linux 平台最简FFMPEG 程序
#include#define__STDC_CONSTANT_MACROS#include"
avformat
.h"#include"avcodec.h"#include"swscale.h"intmain
li_wen01
·
2020-08-01 13:01
FFMPEG
AVFormatContext结构体源码解析
/***利用
avformat
_alloc_context()来create一个AVFormatContext.
番茄炒蛋蛋炒饭
·
2020-08-01 12:10
ffmpeg
FFMPEG抓取摄像头数据保存为一张图片
下边什么都不说了,直接上代码#include#include#include#include#include#include"libavformat/
avformat
.h"#include"libavcodec
游泳的鲨鱼
·
2020-08-01 02:50
FFMPEG
FFmpeg源码分析:
avformat
_open_input
avformat
_open_input(),该函数用于打开多媒体数据并且获取一些信息,它的声明位于libavformat/
avformat
.h:/***Openaninputstreamandreadtheheader.Thecodecsarenotopened
vivianluomin
·
2020-07-31 22:31
音视频
ffmpeg源码分析1-
avformat
_open_input
FFMPEG打开媒体的的过程开始于
avformat
_open_input,因此该函数的重要性不可忽视//参数ps统领整个上下文,//会返回一个AVFormatContext的实例.
PuiKei
·
2020-07-31 22:20
ffmepg 播放Rtsp流解码器(转换成RGB32)
)ffmepg播放Rtsp流的代码基于上述函数的QTrtsp播放器ffmepg播放Rtsp流的代码#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
zhangjun0703
·
2020-07-30 02:30
ffmepg
FFmpeg——Windows下,视频播放器3:绘制画面、缩放、暂停、拖拽进度条
#include"XFFmpeg.h"#pragmacomment(lib,"
avformat
.lib")#pragmacomment(lib,"avutil.lib")#pragmacomment(lib
得儿央
·
2020-07-29 22:15
FFmpeg实现解封装
()网络注册,如rtsp和http的3、打开文件//AVFormatContext封装的结构体,创建一个内容为空的指针,内部可以自己管理icAVFormatContext*ic=NULL;intre=
avformat
_open_input
0X46356770
·
2020-07-29 10:16
qt使用ffmpeg显示rtsp视频流
include#include#include#include#includeextern"C"{#pragmacomment(lib,"avcodec.lib")#pragmacomment(lib,"
avformat
.lib
xxq123321
·
2020-07-29 01:44
QT
C/C++
基于FFMPEG+Opencv的视频播放器(对h264进行解码)(注释清晰)
STDC_CONSTANT_MACROSextern"C"{#include#include#include#include#include#include#include#include"libavformat/
avformat
.h
东山阿强
·
2020-07-28 21:22
FFmpeg学习
FFmpeg源代码简单分析:
avformat
_find_stream_info()
=====================================================FFmpeg的库函数源代码分析文章列表:【架构图】FFmpeg源代码结构图-解码FFmpeg源代码结构图-编码【通用】FFmpeg源代码简单分析:av_register_all()FFmpeg源代码简单分析:avcodec_register_all()FFmpeg源代码简单分析:内存的分配和释
雷霄骅
·
2020-07-28 01:07
FFMPEG
FFmpeg
FFmpeg
源代码
AVFormatContext
媒体信息
h264增加SEI段信息添加自定义信息
3.2.2直接上代码:EvHeade.h#ifdef__cplusplusextern"C"{#endif#include"libavcodec\avcodec.h"#include"libavformat\
avformat
.h
无稽长叹
·
2020-07-27 18:35
c++
ffmpeg
部标jt1078实时音视频,音视频同步推流
音频也需要有一个输入,跟视频一样,要调用
avformat
_open_input函数,起初本以为可以使用一个队列,音视频数据包都放在一个队列里,调用一次
avformat
_o
zhoukai216
·
2020-07-27 14:02
windows
FFmpeg菜鸡互啄#第7篇#文件/rtsp推流到rtmp
关键步骤
avformat
_open_input//打开输入文件/rtspavformat_find_stream_info////获取音视频流信息
avformat
_alloc_output_context2
gongluck93
·
2020-07-15 23:50
Media
FFmpeg菜鸡互啄
音视频开发(三)——编码视频
https://blog.csdn.net/leixiaohua1020/article/details/42658139一、编码一般步骤
avformat
_alloc_output_context2
Mr__Hu
·
2020-07-15 18:47
FFMPEG
ffmpeg取rtsp流时av_read_frame阻塞的解决办法
搜索关键词:ffmpeg超时/timeout方法一方法是设置超时参数AVFormatContext*pAVFormatContext=
avformat
_alloc_context();//申请一个AVFormatContext
HMJ_
·
2020-07-15 01:16
C++/C
第三十五节 利用SurfaceView播放视频文件
cpp文件#include#include#includeextern"C"{//编码#include"libavcodec/avcodec.h"//封装格式处理#include"libavformat/
avformat
.h
最美下雨天
·
2020-07-14 13:42
FFmpeg函数新老接口对照
blog.csdn.net/chen495810242/article/details/327009471)guess_format==>av_guess_format2)av_alloc_format_context==>
avformat
_alloc_output_context3
ZONG_XP
·
2020-07-14 00:35
使用ffmpeg 3.3+sdl 2.0 不能直接获取摄像头的原因
>本文主要是下面这个链接的补充https://blog.csdn.net/leixiaohua1020/article/details/39702113avdevice_register_all();
avformat
_network_init
weixin_33751566
·
2020-07-13 17:47
【ffmpeg】常用结构体集合
几种重要结构体之间的关系,图片来自雷神(雷霄骅)博客结构体AVFormatContext该结构体在
avformat
.h中,AVFormatContext主要存储视音频封装
arvik
·
2020-07-13 15:21
图像
音视频
音视频开发---FFmpeg+SDL本地摄像头直播
+SDL2实现,代码中关键部分都有注释,这里不再叙述,详细代码如下:/**摄像头SDL直播*/#include#include#include#include#include"libavformat/
avformat
.h
挥剑踏苍穹
·
2020-07-13 15:48
音视频
avformat
_open_input代码剖析
今天看一下ffmpeg里面
avformat
_open_input这个函数,我个人认为这个函数算是在ffmpeg中最重要的函数了,因为其实在执行了这个函数之后,基本上所有的文件信息都就出来了。
最胖的棒棒
·
2020-07-13 15:05
ffmpeg
ffmpeg
解决VS2010下av_register_all程序中断退出的问题
代码和现象如下:#include#includeusingnamespacestd;extern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
最胖的棒棒
·
2020-07-13 15:05
ffmpeg
ffmpeg
100行代码实现ffmpeg下读取文件帧
#include#includeusingnamespacestd;extern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
最胖的棒棒
·
2020-07-13 15:33
ffmpeg
android :ffmpeg+anativewindow做视频播放
关于ffmpeg的编译以及具体java层的代码可以按照上面的博客中去操作,这里只贴出底层的代码:关于ffmpeg的知识下面只要介绍了:AVFormatContext结构体:
avformat
_alloc_context
Jareld
·
2020-07-13 14:22
音视频开发学习记录
FFmpeg中结构体的认识
*使用
avformat
_alloc_context()创建一个AVFormatContext.*/typedefstructAVFormatContext{/***AVCla
舵主相公
·
2020-07-13 09:59
FFmpeg
关于jpg的那些事儿
,如果说对画面质素要求不高的,可以转换为jpg码流,当然h264是传输码流的首选,代码如下#includeextern"C"{#include#include}#pragmacomment(lib,"
avformat
.lib
logens
·
2020-07-13 07:28
流媒体
ffmpeg常用结构体总结
AVFormatContext描述了一个媒体文件或媒体流的构成和基本信息,位于
avformat
.h文件中。
清澈见底-66
·
2020-07-13 06:04
音视频学习总结
ffmpeg 从内存中读取数据(或将数据输出到内存)
从内存中读取数据ffmpeg一般情况下支持打开一个本地文件,例如“C:\test.avi”或者是一个流媒体协议的URL,例如“rtmp://222.31.64.208/vod/test.flv”其打开文件的函数是
avformat
_open_input
dianyimo9099
·
2020-07-13 04:01
ffmpeg下读取内存数据并解析
其两个之间主要的差距主要是在
avformat
_open_input的参书中的AVFormatContext->pb里面只要这个pb用avio_alloc_context初始化过了,就可以从内存里面的读取了
最胖的棒棒
·
2020-07-12 22:11
ffmpeg
FFmpeg读取摄像头用OpenCV显示
EnvironmentUbuntu16.04GCC5.4CMake3.9.6OpenCV3.3.1Sourcecode#include#includeextern"C"{#include#include"
avformat
.h
ffiirree
·
2020-07-11 08:44
计算机视觉
FFmpeg新旧接口对照使用笔记
学习使用时编译会看见很多的warning,类似“warning:‘AVStream::codec’isdeprecated(declaredat/usr/local/ffmpeg/include/libavformat/
avformat
.h
zhangwu1241
·
2020-07-10 14:05
学习总结
Linux
FFMPEG
ffmpeg——
avformat
_write_header写文件头
一:介绍ffmpeg的Mux主要分为三步操作:
avformat
_write_header:写文件头av_write_frame/av_interleaved_write_frame:写packetav_write_trailer
一步-refresh
·
2020-07-10 05:06
视频/音频
ffmpeg——
avformat
_new_stream创建流通道
一:介绍1.1AVStream首先了解下AVStream:http://ffmpeg.org/doxygen/3.1/structAVStream.htmlAVStream即是流通道。例如我们将H264和AAC码流存储为MP4文件的时候,就需要在MP4文件中增加两个流通道,一个存储Video:H264,一个存储Audio:AAC。(假设H264和AAC只包含单个流通道)。typedefstruct
一步-refresh
·
2020-07-10 05:06
视频/音频
FFMPEG4.1 - 视频解码与解码(上)
ffplay-video_size320x320-pix_fmtyuv420p-i2.yuv#includeextern"C"{#include"libavcodec/avcodec.h"#include"libavformat/
avformat
.h
谁能懂我2011
·
2020-07-10 03:41
fffmpeg
Failed to resolve hostname 192: The name does not resolve for the supplied parameters
原因:intbyte_url(intcam_id,char*url){if(
avformat
_open_input
ShellCollector
·
2020-07-09 18:23
视频编解码
Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead
AVStream*out_stream=
avformat
_new_stream(ofmt_ctx,pCodecH264);if(!
ShellCollector
·
2020-07-09 18:23
视频编解码
ffmpeg time_base详解
一、time_base1、AVStream(libavformat/
avformat
.h)typedefstructAVStre
chinabinlang
·
2020-07-07 05:28
编解码
ffmpeg中G726解码器用法 编码器用法
/h/libavcodec/avcodec.h"};#pragmacomment(lib,"avutil.lib")//ffmpeg#pragmacomment(lib,"
avformat
.lib")#
chinabinlang
·
2020-07-07 05:57
编解码
FFmpeg入门系列教程(三)
视频解码,保存为yuv1、解码流程解码流程图2、相关函数*av_register_all():注册所有组件*
avformat
_open_input():打开输入视频文件*
avformat
_find_stream_info
zjjcc
·
2020-07-07 03:50
FFmpeg多媒体文件格式探测
当调用
avformat
_open_input的时候,FFmpeg会根据媒体封装格式的特点(主要是根据AVInputFormat结构的read_probe函数根据传入的一段buffer来判断传入的文件是否能被解析为该
adl30141
·
2020-07-07 02:50
上一页
4
5
6
7
8
9
10
11
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他