[Ffmpeg-devel] [PATCH] let ffplay can play more pixel format
Michel Bardiaux
mbardiaux
Wed Feb 14 12:19:45 CET 2007
Limin Wang wrote:
> 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
Now might be a good time to add a -s WxH to ffplay too, and stop abusing
-x -y which have not been intended for giving the wxh of rawvideo.
>
> 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.
>
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list