[FFmpeg-user] About the command -vcodec

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Sep 14 16:33:42 CEST 2013


陈立 <kidney <at> mail.ustc.edu.cn> writes:

> ffmpeg -vcodec rawvideo -pix_fmt yuv420p 
> -s widthxheight -r framerate -i input.yuv 
> -vcodec rawvideo -pix_fmt uyvy422 -r framerate 
> output.avi

(The second -r framerate may be redundant)

Please note that for your specific use-case, -vcodec 
copy would do something else than -vcodec rawvideo 
because you cannot change the pix_fmt with -vcodec 
copy.

Unrelated to your question:
Generally please send actual command lines, not 
command lines that contain variables and if you 
have further questions, please provide the 
complete, uncut console output.

Carl Eugen



More information about the ffmpeg-user mailing list