[MPlayer-users] Produce 422 format pixels with mencoder for mpeg4-encoding

Tom Evans tevans.uk at googlemail.com
Sun Dec 15 23:47:58 CET 2013


On Sun, Dec 15, 2013 at 4:30 PM, James Board <jpboard2 at yahoo.com> wrote:
>> > Also, I plan on using mencoder and libx264 to produce MPEG-4
>> > AVC files and 422-format pixels.  Can ffmpeg do  this?
>
>> ffmpeg -i input.mp4 -vf
>> scale="'if(gt(a,16/9),1280,-1)':'if(gt(a,16/9),-1,720)',pad=ceil(iw/16)*16:ceil(ih/16)*16:(ow-iw)/2:(oh-ih)/2:black"
>> -f yuv4mpegpipe - | x264 --demuxer y4m --profile high422
>> --preset slow
>> --tune film -qp 0 --output-csp i422 -o output.mp4
>
> I tried this and the error message was:
>     x264 [error]: invalid argument  qp = p
>

Did you put the letter 'O' instead of the number '0'?

Cheers

Tom


More information about the MPlayer-users mailing list