摘要:
gdb调试机制 调试的过程中可以清晰的了解上下文,以便分析程序原理与产生错误的原因。 代码 堆栈信息 进程与线程状态 调试信息 使用gcc或者makefile时编译过程中加上-g选项a56爆大奖在线娱乐编译过程中保留调试符号信息,此方法编译的程序明显比平时编译的程序要大的多 $ g++ -g -o core_dum 阅读全文
摘要:
time_base的定义与使用方法 在ffmpeg中,time_base是a56爆大奖在线娱乐时间基准用于a56爆大奖在线娱乐时间戳。在视频编解码过程中,每帧或者a56爆大奖在线娱乐音频样本都有自己的时间戳,以a56爆大奖在线娱乐该帧或样本在时间轴上的位置。time_base就是用来指定这些时间戳的时间基准。它是一个有理数类型,a56爆大奖在线娱乐a56爆大奖在线娱乐时间单位(通常是秒)有多少 阅读全文
摘要:
tbn tbn: the time base in AVStream that has come from the container 视频流时长的精确度time_base,即1s = 90000个刻度 视频总时长T = AVStream.duration * AVStream.time_base 阅读全文
摘要:
官方源码 /** * Initialize the AVCodecContext to use the given AVCodec. Prior to using this * function the context has to be allocated with avcodec_alloc_c 阅读全文
摘要:
官方源码 /** * Stream structure. * New fields can be added to the end with minor version bumps. * Removal, reordering and changes to existing fields requi 阅读全文
摘要:
结构体AVClass /** * Describe the class of an AVClass context structure. That is an * arbitrary struct of which the first field is a pointer to an * AVCla 阅读全文
摘要:
结构体AVCodecContext 点击这里查看AVCodecContext 结构体AVCodec 点击这里查看AVCodec 函数声明avcodec_alloc_context3 /** * Allocate an AVCodecContext and set its fields to defa 阅读全文
摘要:
AVCodec typedef struct AVCodec { /** * Name of the codec implementation. * The name is globally unique among encoders and among decoders (but an * enc 阅读全文
摘要:
结构体AVCodecContext typedef struct AVCodecContext { /** * information on struct for av_log * - set by avcodec_alloc_context3 */ const AVClass *av_class; 阅读全文
摘要:
代码依赖 自己写的工程,非第三方工程 工程目录 ├── 3rdparty │ └── jsoncpp │ ├── include │ └── src ├── build ├── CMakeLists.txt └── main.cpp CMakeLists.txt cmake_minimum_requ 阅读全文