ffmpegSDK开发手册


立即下载 清 月
2024-04-20
av 函数 编译 结构 数据 ffmpeg AV 测试 5. ImgReSampleContext()
234.5 KB

FFMpeg SDK 开发手册
FFMpeg 中比较重要的函数以及数据结构如下:
1. 数据结构:
(1) AVFormatContext
(2) AVOutputFormat
(3) AVInputFormat
(4) AVCodecContext
(5) AVCodec
(6) AVFrame
(7) AVPacket
(8) AVPicture
(9) AVStream
2. 初始化函数:
(1) av_register_all()
(2) avcodec_open()
(3) avcodec_close()
(4) av_open_input_file()
(5) av_find_input_format()
(6) av_find_stream_info()
(7) av_close_input_file()
3. 音视频编解码函数:
(1) avcodec_find_decoder()
(2) avcodec_alloc_frame()
(3) avpicture_get_size()
(4) avpicture_fill()
(5) img_convert()
(6) avcodec_alloc_context()
(7) avcodec_decode_video()
(8) av_free_packet()
(9) av_free()
4. 文件操作:
(1) avnew_steam()
(2) av_read_frame()
(3) av_write_frame()
(4) dump_format()
5. 其他函数:
(1) avpicture_deinterlace()
(2) ImgReSampleContext()
以下就根据,以上数据结构及函数在 ffmpeg 测试代码 output_example.c 中出现的前后顺进行分析。在此之前还是先谈
一下
ffmpeg 的编译问题。在 linux 下的编译比较简单,这里不多说了。在 windows 下的编译可以参考以下网页:
http://bbs.chinavideo.org/viewthread.php?tid=1897&extra=page%3D1
值得一提的是,在使用编译后的 sdk 进行测试时(用到 f


av/函数/编译/结构/数据/ffmpeg/AV/测试/5./ImgReSampleContext()/ av/函数/编译/结构/数据/ffmpeg/AV/测试/5./ImgReSampleContext()/
-1 条回复
登录 后才能参与评论
-->