Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

具体参数调用方法? #6

Closed
weiystyle opened this issue May 31, 2018 · 1 comment
Closed

具体参数调用方法? #6

weiystyle opened this issue May 31, 2018 · 1 comment

Comments

@weiystyle
Copy link

README 中使用如下命令进行编码 ./xavs2 -f encoder.cfg -f seq4K.cfg -p InputFile=input.yuv -p FramesToBeEncoded=500 -p preset=0 -p recon=. -p initial_qp=32 -p OutputFile=test.avs
但是源码包中并没有encoder.cfg seq4K.cfg等配置文件,我把源码包中有的配置文件都尝试了一遍,会出现Failed to read one YUV frame这样的问题
如果不使用配置文件进行编码则编码不成功
顺便咨询一下这个编码是否是这样一个流程:
支持各种视频格式转换成avs文件,然后解码将avs文件转换成yuv文件

@luofalei
Copy link
Member

luofalei commented Jun 1, 2018

(1)config目录下有一个 seq-template.cfg 文件,修改其中的YUV文件路径即可。
(2)目前只支持将YUV420p格式的视频文件转换成符合AVS2视频标准的码流文件,任意格式之间的转换可以尝试下 ffmpeg https://github.com/pkuvcl/buildFFmpegAVS2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants