本文简单分析FFmpeg中一个常用的函数:avformat_find_stream_info()。该函数可以读取一部分视音频数据并且获得一些相关的信息。...
分类:
其他好文 时间:
2015-03-06 12:50:11
阅读次数:
428
本文记录FFmpeg的两个API函数:avcodec_find_encoder()和avcodec_find_decoder()。avcodec_find_encoder()用于查找FFmpeg的编码器,avcodec_find_decoder()用于查找FFmpeg的解码器。...
分类:
Web程序 时间:
2015-03-06 12:44:00
阅读次数:
480
http://blog.csdn.net/qq_19079937/article/details/43191211在MP4结构体系里面,hdlr字段(具体在root->moov->trak->mdia->hdlr)里面包含了该流是视频or音频or字母。ffmpeg代码:在ffmpeg代码里面,使用流...
分类:
其他好文 时间:
2015-03-05 18:57:00
阅读次数:
195
followstepsfrom:http://scateu.me/2014/03/06/compile-ffmpeg-on-linux-with-x264-and-x265-support.htmltarfilefromhttp://download.videolan.org/contrib/安装x265https://bitbucket.org/multicoreware/x265/wiki/Homesudoapt-getinstallmercurialcmakecmake-curses-guibuil..
分类:
系统相关 时间:
2015-03-05 07:01:27
阅读次数:
216
本文简单分析FFmpeg中一个常用的函数:avformat_open_input()。该函数用于打开多媒体数据并且获得一些相关的信息。...
分类:
其他好文 时间:
2015-03-05 00:19:22
阅读次数:
383
本文简单分析FFmpeg中一个常用的函数avio_open2()。该函数用于打开FFmpeg的输入输出文件。...
分类:
其他好文 时间:
2015-03-04 14:41:47
阅读次数:
112
第六部分
前几天一直被移植到ARM开发板上的nginx启动的问题困扰,在ARM开发板上启动时不是出现
nginx: [emerg] getgrnam("nogroup") failed (2: No such file or directory)
就是出现
/system/bin/sh: ./nginx: cannot execute - Permission denied
使用命令
...
分类:
其他好文 时间:
2015-03-04 13:01:44
阅读次数:
764
本文简单分析FFmpeg中常用的一个函数:avformat_alloc_output_context2()。在基于FFmpeg的视音频编码器程序中,该函数通常是第一个调用的函数(除了组件注册函数av_register_all())。avformat_alloc_output_context2()函数可以初始化一个用于输出的AVFormatContext结构体。它的声明位于libavformat\a...
分类:
其他好文 时间:
2015-03-03 23:47:06
阅读次数:
837
本文简单记录一下FFmpeg中内存操作的函数。内存操作的常见函数位于libavutil\mem.c中。...
分类:
其他好文 时间:
2015-03-03 16:49:12
阅读次数:
261
本文简单分析FFmpeg常见结构体的初始化和销毁函数的源代码。常见的结构体在文章:《FFMPEG中最关键的结构体之间的关系》中已经有过叙述,包括:AVFormatContext:统领全局的基本结构体。主要用于处理封装格式(FLV/MKV/RMVB等)。AVIOContext:输入输出对应的结构体,用于输入输出(读写文件,RTMP协议等)。AVStream,AVCodecContext:视音频流对应...
分类:
其他好文 时间:
2015-03-03 16:37:40
阅读次数:
6534