[Ffmpeg-devel] [PATCH] let ffplay can play more pixel format

Måns Rullgård mans
Wed Feb 14 12:40:09 CET 2007


Limin Wang said:
> Hi there,
>
> It's very useful to preview the raw video by ffplay I think. The patch
> will support ffplay to play yuv422p, yuv444p, etc instead of yuv420 only.
> Please review it.
>
> * How to test it:
> lmwang at laptop:~/yuvad/open/h264/x264$ ./x264 --progress --frames 100 -o
> /tmp/foremean_cif.h264 /home/lmwang/download/test_sequence/foreman_cif.yuv
> 352x288
> lmwang at laptop:~/yuvad/open/h264/ffmpeg$ ./ffmpeg -i /tmp/foreman_cif.h264
> -pix_fmt yuv422p /tmp/2.yuv
> lmwang at laptop:~/yuvad/open/h264/ffmpeg$ ./ffplay -x 352 -y 288 -pix_fmt
> yuv422p /tmp/2.yuv
>
> In addition, how about to add -pix_fmt help option for ffmpeg and ffplay? It's
> very crazy to find out what's the pixel format name from the code.

Your patch has trailing whitespace.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list