![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
音视频
文章平均质量分 51
Beam_WA
目标是星辰大海和祖国繁荣复兴
展开
-
FFmpeg结构体:AVPacket
AVPacket是一个存储压缩数据的结构体。在雷神的文章中已经比较清楚的描述了AVPacket,贴上雷神AVPacket的地址:FFMPEG结构体分析:AVPacket相比于雷神的文章,本文会增加一些AVPacket的函数,下面来看下AVPacket的声明代码:/** * This structure stores compressed data. It is typically exported by demuxers * and then passed as input to deco原创 2021-03-28 15:30:33 · 163 阅读 · 0 评论 -
ffmpeg:av_find_best_stream()
av_find_best_stream应该也是最近几年加的,从雷神的博客中没有看见,那就自己写一篇来记录下。这个函数同样是在libavformat/avformat.h下声明,下面是他声明的代码/** * Find the "best" stream in the file. * The best stream is determined according to various heuristics as the most * likely to be what the user expe原创 2021-03-28 14:56:09 · 1537 阅读 · 0 评论 -
FFmpeg结构体:AVStream
在看雷神博客的时候发现现在版本的ffmpeg的AVStream和雷神博客的已经不一样了,如果雷神没走的话估计已经更新了,雷神真的宝藏。我就自己记录下AVStream贴上雷神的AVStream: FFMPEG结构体分析:AVStream我们知道在AVFormatContext里就有AVStream,下面是AVFormatContext中AVStream部分代码 /** * A list of all streams in the file. New streams are crea原创 2021-03-28 00:01:56 · 683 阅读 · 0 评论 -
FFmpeg:av_dump_format()
最近在研究ffmpeg,雷神的博客给了很大的帮助,可惜雷神走了。在雷神博客里面发现没有av_dump_format()这个函数,那就自己写篇文章来记录下。av_dump_format是打印输入和输出格式的详细信息,声明位于libavformat/avformat.h下,如下所示/** * Print detailed information about the input or output format, such as * duration, bitrate, streams, conta原创 2021-03-27 23:03:09 · 630 阅读 · 0 评论 -
VS2017 编译SDL
最近在搞音视频方面,因为需要把YUV显示出来,之前用过OpenGL的shader,这里使用的就是SDL,记录下自己使用SDL编译的时候出现的问题。首先先去官网下载SDL:www.libsdl.org在这里我选择了VC++的版本下载下来后,压缩包里是这些东西。我将include下都放到我自己工作路径的include下,取名SDL,如下图。上面那些文件是ffmpeg的。然后将lib下的文件也放到我自己的工作目录下。x86和x64就是sdl的lib,lib里面有SDL.原创 2021-03-26 15:12:33 · 273 阅读 · 0 评论