[FFmpeg-user] Command line to create mpeg ( or anything ) from testsrc

James Darnley james.darnley at gmail.com
Fri Jan 6 20:24:17 CET 2012


On 2012-01-06 20:13, Roger Berk wrote:
> Can someone direct me how to use the ffmpeg,exe command line to record the testsrc source filter into an mpeg, h264 or other format video file ?
>
> ffplay -f lavfi testsrc=duration=10:size=1280x720:rate=30 will play the test pattern to the screen.

Try changing ffplay for ffmpeg, adding -i before that input "filename" 
and then adding some output options on the end, e.g:
 > -vcodec mpeg2video -qscale 2 output.mpg


More information about the ffmpeg-user mailing list