AVS+ GOP结构获取 及 软解码流程
来源:互联网 发布:mac office 2016 威锋 编辑:程序博客网 时间:2024/05/16 04:36
想要软解码AVS+视频在本地电脑播放,或者查看GOP结构等内容,可以通过以下流程。
1. 安装ffmpeg,用于将TS各式的码流分离为ES格式
a. 下载地址 :http://ffmpeg.zeranoe.com/builds/ (根据自己的操作系统版本选择)
如果不做开发用,下载static 版本就行
b. 通过下载的FFMPEG 进行TS转ES, 命令如下: ffmpeg -i xx.ts -vcodec copy -an xx.h264
c. 将得到的avs.h264 改名为avs.es
2. 从AVS联盟下载 avs 解码器。 (下载需要密码, 公司为联盟单位,有下载密码。 需要者申请)
这个解码器用于将AVS+ ES码流解码成YUV原始视频数据
a. 下载并编译解码器
下载得到的工程,通过VS2010打开,编译即可
b. 解码
将需要解码的ES码流写入配置文件
直接点de.bat, 生成yuv文件
通过查看生成的日志信息,可以得到GOP结构等
3. 播放yuv文件
a. 下载YUV播放器
b. 打开YUV播放器,设置参数
c.打开YUV文件,即可播放
附录:
avs解码器配置文件(decoder.cfg):
avs.es ........AVS coded bitstream
avs.yuv ........Output file, YUV 4:2:0 format
avs.yuv ........Ref sequence (for SNR)
2 ........Number of reference frame buffers, for memory managemnt only
0 ........Loopfilter disable(0: filter, 1: no loopfilter)
0 ........Reference frame's YUV Structure(0: YUV, 1: U0Y0 V0Y1)
0 ........Check BBV buffer when CBR in encoder is used ( 0: disable, 1: enable)
0 ........Output the result of syntax checking (0: overwrite the existing file, 1: append the result to the end of existing file)
0 ........PackingMode 1:right-left packing 2:up-bottom-packing
6 ........Tap number of upsampling filter
[1,-5,20,20,-5,1] ........UpSampleFilter
test_sec_dec.yuv ........SEC Output file, YUV 4:2:0 format
test_third_dec.yuv ........Output file, YUV 4:2:0 format
1 ........Reference Order(0: decoding order<default>, 1: display order<for comparison between original and decoded files>)
1 ........Output Decoded Picture
This is a file containing input parameters to the AVS1-P2 decoder.
The text line following each parameter is discarded by the decoder.
- AVS+ GOP结构获取 及 软解码流程
- AVS解码-MV预测流程
- MP3文件结构及编解码流程
- MP3文件结构及编解码流程
- MP3文件结构及编解码流程
- MP3文件结构及编解码流程
- MP3文件结构及编解码流程
- H.264avs解码
- AVS解码—环路滤波
- AAC文件格式及解码流程
- AAC文件格式及解码流程
- GOP三种编码结构
- AVS具体代码优化_熵解码
- 视频编解码基本概念之 GOP
- ffmpeg解码流程及解码跟踪和关键问题解析
- AMR 文件解析及编解码流程
- AAC 文件解析及解码流程
- AAC 文件解析及解码流程
- angularjs中使用ng-repeat需要注意的东西
- res
- DiskLruCache源码详解
- 如何禁止复制文字和下载图片
- 【Java提高】强制类型转换
- AVS+ GOP结构获取 及 软解码流程
- Android 页面回收引起的闪退问题的解决方法
- 文章标题
- 论文写作进度记录 随时更新
- SpagoBI数据库连接超时问题解决
- JProfiler一个专业的Java性能监控工具
- JAVA获取指定日期的时间戳
- 浅谈sql中的in与not in,exists与not exists的区别
- 基于IAR和STM32的uCOS-II移植