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
AVFormatContext
FFMpeg SDK 开发手册
FFMpeg中比较重要的函数以及数据结构如下:1.数据结构:(1)
AVFormatContext
(2)AVOutputFormat(3)AVInputFormat(4)AVCodecContext(5)
Jenew
·
2020-08-01 10:48
ffmpeg源码分析1-avformat_open_input
FFMPEG打开媒体的的过程开始于avformat_open_input,因此该函数的重要性不可忽视//参数ps统领整个上下文,//会返回一个
AVFormatContext
的实例.
PuiKei
·
2020-07-31 22:20
FFmpeg解码视频流
而另一种选择是通过
AVFormatContext
来加载文件,并通过av_read_frame来得到
三杯两盏
·
2020-07-31 15:52
FFmpeg
ffmpeg
FFmpeg转换文件封装格式
因为mp4和flv都只是封装格式,底层音视频编码可以保持不变,因此这里的做法是直接从源文件中读取音视频流并写入目标文件,封装格式的转换由
AVFormatContext
完成。
三杯两盏
·
2020-07-31 15:52
FFmpeg
FFmpeg实现解封装
2、avcodec_register_all()网络注册,如rtsp和http的3、打开文件//
AVFormatContext
封装的结构体,创建一个内容为空的指针,内部可以自己管理icAVFormatContext
0X46356770
·
2020-07-29 10:16
ffmpeg 解码音频的方法
disable:41014244)intConverAudio(constchar*input_file,constchar*output_file,intsamples_rate,intchannel){
AVFormatContext
xujinquan19
·
2020-07-29 01:40
音视频开发
audio
codec
output
string
file
input
Qt+ffmpeg接受rtsp并显示
include"rtspplayer.h"#includeVideoPlayer::VideoPlayer(){}VideoPlayer::~VideoPlayer(){}voidVideoPlayer::run(){//变量
AVFormatContext
心流剑
·
2020-07-28 07:59
c++
qt
ffmpeg
FFmpeg:AVCodecContext结构体解析
AVFormatContext
包含了一个媒体流的解码器的上下文信息,比较重要的有:AVMediaType:解码器类型,表示这个解码器是用来处理什么流
SuperDali
·
2020-07-16 05:33
音视频
C/C++
ffmpeg
MultiMedia
基于FFMPEG的视频解码
include#include#include#includeextern"C"{#include#include#include};constchar*fileName="D:\\video\\1.avi";
AVFormatContext
zhubenfulovepoem
·
2020-07-15 12:43
OpenCV数字图像处理
ffmpeg推流方式采用TCP协议
1、使用命令时:ffmpeg跟参数-rtsp_transporttcp2、编码时
AVFormatContext
*ofmt_ctx;AVDictionary*optionsDict=NULL;//采用tcp
weixin_34106122
·
2020-07-15 05:10
ffmpeg取rtsp流时av_read_frame阻塞的解决办法
搜索关键词:ffmpeg超时/timeout方法一方法是设置超时参数
AVFormatContext
*pAVFormatContext=avformat_alloc_context();//申请一个
AVFormatContext
HMJ_
·
2020-07-15 01:16
C++/C
使用ffmpeg 3.3+sdl 2.0 不能直接获取摄像头的原因
leixiaohua1020/article/details/39702113avdevice_register_all();avformat_network_init();av_register_all();
AVFormatContext
weixin_33751566
·
2020-07-13 17:47
【ffmpeg】常用结构体集合
几种重要结构体之间的关系,图片来自雷神(雷霄骅)博客结构体
AVFormatContext
该结构体在avformat.h中,
AVFormatContext
主要存储视音频封装
arvik
·
2020-07-13 15:21
图像
音视频
使用ffmpeg接口解封装解码为YUV
目录1.第一步:相关结构的初始化1.1.第一步:通过打开文件获取
AVFormatContext
(解封装输入文件格式)1.2.第二步:通过打开文件的
AVFormatContext
,获取音频和视频AVStream1.3
timesir
·
2020-07-13 14:23
视频处理
ffmpeg
解封装
解码
yuv
视频
android :ffmpeg+anativewindow做视频播放
关于ffmpeg的编译以及具体java层的代码可以按照上面的博客中去操作,这里只贴出底层的代码:关于ffmpeg的知识下面只要介绍了:
AVFormatContext
结构体:avformat_alloc_context
Jareld
·
2020-07-13 14:22
音视频开发学习记录
FFmpeg中结构体的认识
AVFormatContext
:该结构体在使用FFmpeg的过程中会一直使用到,它的定义如下/***格式化输入输出上下文.
舵主相公
·
2020-07-13 09:59
FFmpeg
ffmpeg常用结构体总结
AVFormatContext
描述了一个媒体文件或媒体流的构成和基本信息,位于avformat.h文件中。
清澈见底-66
·
2020-07-13 06:04
音视频学习总结
ffmpeg下读取内存数据并解析
其两个之间主要的差距主要是在avformat_open_input的参书中的
AVFormatContext
->pb里面只要这个pb用avio_alloc_context初始化过了,就可以从内存里面的读取了
最胖的棒棒
·
2020-07-12 22:11
ffmpeg
ffmpeg中av_seek_frame使用样例
1,20*AV_TIME_BASE,AVSEEK_FLAG_ANY);参数一:fmt_ctx为容器内容;参数二:流索引,stream_index参数三:将要定位处的时间戳参数四:seek功能flag容器即
AVFormatContext
吐着泡泡说爱你
·
2020-07-12 17:47
ffmpeg
FFmpeg主要结构体:
AVFormatContext
AVStream AVPacket
1.主要结构体关系1.pngAVFormatContext:统领全局的基本结构体,主要用于处理封装格式(flv,mpegts,mp4等)。AVIOContext:输入输出对应的结构体,用于输入输出(读写文件,RTMP协议等)。AVStream,AVCodecParameters:视音频流对应的结构体,用于视音频编解码。AVFrame:存储非压缩的数据(RGB/YUV/PCM采样数据)AVPacke
片片碎
·
2020-07-11 20:19
ffmpeg调用USB摄像头并推RTMP流
2.ffmpeg框架流程第一步:打开infmt_ctx输入封装器
AVFormatContext
(视频格式上下文)//
抽屉疯了
·
2020-07-11 14:09
实战项目
FFmpeg
FFmpeg avcodec_copy_context deprecated
#include#includeintmain(){AVOutputFormat*ofmt=NULL;
AVFormatContext
*ifmt_ctx=NULL,*ofmt_ctx=NULL;AVPacketpkt
m0_37346206
·
2020-07-11 12:58
ffmpeg中如何取出
AVFormatContext
::void *priv_data到一个结构体中;
ffmpeg中如何取出
AVFormatContext
::void*priv_data到一个结构体中;其中SRTContext在对应ffmpeg_4.2.3_win32源码中ffmpeg-4.2.3\libavformat
朱韦刚
·
2020-07-10 14:26
ffmpeg
FFMPEG-数据结构解释(AVCodecContext,AVStream,
AVFormatContext
)
AVCodecContext这是一个描述编解码器上下文的数据结构,包含了众多编解码器需要的参数信息如果是单纯使用libavcodec,这部分信息需要调用者进行初始化;如果是使用整个FFMPEG库,这部分信息在调用av_open_input_file和av_find_stream_info的过程中根据文件的头信息及媒体流内的头部信息完成初始化。其中几个主要域的释义如下:extradata/extra
雪山飞狐88
·
2020-07-10 13:58
ffmpeg
ffmpeg源码分析
1:av_open_input_file的简单分析(主要是针对读数据)intav_open_input_file(
AVFormatContext
**ic_ptr,constchar*filename,AVInputFormat
天涯角落
·
2020-07-09 20:35
多媒体开发
buffer
url
file
input
protocols
null
FFmpge结构体分析
FFmpge有几个最重要的结构体比如:AVFrame,
AVFormatContext
,AVCodecContext,AVIOContext,AVCodec,AVStream,AVPacket包含了解协议
Adore_shine
·
2020-07-09 19:20
ffmpeg 打印音视频信息
#includeintmain(intargc,char*argv[]){interr_code;charerrors[1024];
AVFormatContext
*fmt_ctx=NULL;if(argc
nuptxiaoli0518
·
2020-07-08 11:10
ffmpeg入门
音视频之解码相关
我使用的ffmpeg是3.4版本对应的帮助文档是api文档是ffmpeg3.4api文档
AVFormatContext
:容器相关结构体,比如MP4,flv等。
mr_x_
·
2020-07-08 08:17
音视频
音视频专栏
直播入门(附录二)FFmpeg关键函数一览表
avformat_open_inputavformat_close_inputavformat_find_stream_infoavformat_alloc_output_context2avformat_open_input函数原型intavformat_open_input(
AVFormatContext
waponx
·
2020-07-07 00:48
直播
直播
ffmpeg
函数
直播入门(附录一)FFmpeg关键类一览表
文章目录关键类AVFormatContextAVInputFormatAVOutputFormat关键类
AVFormatContext
定义这里只给出源码的路径libavformat/avformat.h
waponx
·
2020-07-07 00:47
直播
ffmpeg超详细综合教程——摄像头直播
要使用libavdevice的相关函数,首先需要注册相关组件avdevice_register_all();接下来我们要列出电脑中可用的dshow设备
AVFormatContext
*pFmtCtx=avformat_all
-鸣人-
·
2020-07-06 07:10
ffmpeg
使用ffmpeg进行视频解码以及图像转换
AVFormatContext
代表一个打开的文件或者别的媒体,总之可以说代表数据的来源。视频和音频
成都_冉若愚
·
2020-07-05 10:36
qt
linux
ffmpeg源码分析之媒体打开过程
从打开文件开始.入口函数是avformat_open_input(),下面是对此函数的分析//参数ps包含一切媒体相关的上下文结构,有它就有了一切,本函数如果打开媒体成功,//会返回一个
AVFormatContext
iteye_7879
·
2020-07-04 19:10
FFmpeg源代码简单分析:常见结构体的初始化和销毁(
AVFormatContext
,AVFrame等)
=====================================================FFmpeg的库函数源代码分析文章列表:【架构图】FFmpeg源代码结构图-解码FFmpeg源代码结构图-编码【通用】FFmpeg源代码简单分析:av_register_all()FFmpeg源代码简单分析:avcodec_register_all()FFmpeg源代码简单分析:内存的分配和释
雷霄骅
·
2020-07-02 07:54
FFMPEG
FFmpeg
QT 使用ffmpeg 学习6 ffmpeg API保存流到文件demo
它的声明位于libavformat\avformat.h,如下所示:intavformat_open_input(
AVFormatContext
**ps,constchar*filename,AVInputFormat
谢厂节_编程圈
·
2020-06-30 04:44
音视频处理
如何判断视频数据是H264编码
H264详细介绍:H264编码总结u8is_h264_file(char*filename){
AVFormatContext
*ifmt_ctx=NULL;intret=0;if((ret=avformat_open_input
蓁叶
·
2020-06-29 07:25
多媒体技术
ffmpeg 获取视频的时长
include#include#include#include#include#include#include#include#includeintmain(intargc,char*argv[]){
AVFormatContext
猫瑾
·
2020-06-28 21:11
ffmpeg
windows下利用ffmpeg 采集摄像头数据,出现获取不了摄像头视频数据的像素格式(返回AV_PIXFORMAT_NONE)
1.ffmpeg的初始化不说了,不懂的可以搜索一下2.利用vfwcap采集
AVFormatContext
*pFormatCtx=avformat_alloc_context();AVInputFormat
唯独失去了从容
·
2020-06-28 20:48
FFMPEG
利用ffmpeg读取音乐文件的专辑信息(包括专辑封面图片)
AVFormatContext
*fmt_ctx=NULL;AVDictionaryEntry*tag=NULL;av_register_all();if((ret=avformat_open_input
weixin_34295316
·
2020-06-28 16:40
qt 使用opengl显示yuv实时视频流
av_register_all();avformat_network_init();
AVFormatContext
*pAVFo
wangzai6378
·
2020-06-27 12:39
Qt
opengl
yuv
FFmpeg推流延迟10秒问题记录
经查问题原因为
AVFormatContext
的max_interleave_delta参数默认为10秒,在ff_interleave_packet_per_dts方法中会检查所有流是否都有数据,如果没有数据会默认等待
vanjoge
·
2020-06-27 11:46
FFmpeg获取视频时长方法
此工程所用ffmpeg版本号为4.0.1下载地址:https://ffmpeg.zeranoe.com/builds/#includeextern"C"{#include}voidmain(){
AVFormatContext
unfound
·
2020-06-27 10:34
音视频
ffmepg 实时流,获取图片
include"SDL2/SDL.h"#include"libavcodec/avcodec.h"#include"libavformat/avformat.h"#include"libavutil/time.h"};
AVFormatContext
dongfangxingyu1
·
2020-06-27 04:24
ffmpeg
基于FFmpeg音视频流同步
难点在于将转码后的数据输出到内存中,再从内存读取数据并封装
AVFormatContext
*ic = NULL; ic = avformat_alloc_context(); unsigned char
cnhui2016
·
2020-06-26 23:05
音视频与图像处理
FFMPeg代码分析:AVCodecContext结构体
在调用avformat_open_input打开文件后,下一步调用av_find_stream_info函数从文件中读取音视频流的信息,而后
AVFormatContext
的结构体将会将这些信息保存在其中
取次花丛懒回顾
·
2020-06-26 08:36
FFMpeg
ffmpeg综合应用示例(一)——摄像头直播
要使用libavdevice的相关函数,首先需要注册相关组件avdevice_register_all();接下来我们要列出电脑中可用的dshow设备
AVFormatContext
*pFmtCtx=avformat_all
zhanghui_cuc
·
2020-06-24 17:42
ffmpeg
2.
AVFormatContext
和AVInputFormat
参考https://blog.csdn.net/leixiaohua1020/article/details/14214705
AVFormatContext
:用来存储视音频封装格式(flv,mp4,rmvb
NQian
·
2020-06-24 16:00
error C2054: 在“inline”之后应输入“(”
#include#include/*extern"C"{#include}*/intmain(intargc,char**argv){
AVFormatContext
*fmt_ctx=NULL;intret
n3verl4nd
·
2020-06-24 16:46
FFMPEG结构体分析:
AVFormatContext
注:写了一系列的结构体的分析的文章,在这里列一个列表:FFMPEG结构体分析:AVFrameFFMPEG结构体分析:AVFormatContextFFMPEG结构体分析:AVCodecContextFFMPEG结构体分析:AVIOContextFFMPEG结构体分析:AVCodecFFMPEG结构体分析:AVStreamFFMPEG结构体分析:AVPacketFFMPEG有几个最重要的结构体,包含
雷霄骅
·
2020-06-24 03:47
FFMPEG
FFmpeg
ffmpeg
AVFormatContext
源代码
视频
元数据
FFMPEG4.1源码解析之 最重要的结构体及其关系
最关键的结构体可以分成以下几类:1)应用层(提纲挈领)
AVFormatContext
结构体按名字来说,应该将其归为封装层,但是,从整体的架构上来说,它是FFMPEG中提纲挈领的最外层结构体,在音视频处理过程中
ice_ly000
·
2020-06-23 17:35
FFMPEG源码分析
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
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
其他