[Ffmpeg-devel] [PATCH] Video generator format

Ramiro Ribeiro Polla ramiro
Thu Apr 26 02:58:08 CEST 2007


Hello,

Attached demuxer generates sample videos (just like what output_example 
does) with user supplied size, rate, and pix_fmt.

It helps a bunch for testing, specially when different pix_fmts are needed.

Test with command line:
./ffmpeg_g -s 640x480 -pix_fmt yuyv422 -r 30 -f video_gen -i xxx output.mpg
(filename doesn't matter)

Currently all planar and 2 packed yuv formats are supported.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: videogen.diff
Type: text/x-patch
Size: 1590 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/a9faf956/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: videogen.c
Type: text/x-csrc
Size: 4963 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/a9faf956/attachment.c>



More information about the ffmpeg-devel mailing list