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

Roger Berk RBerk at CreativeTechnology.com
Fri Jan 6 21:07:54 CET 2012


It almost works with the following, but it produces an error complaining about no input file....
This produces an empty test.mpg..... 

C:\bin>ffmpeg -vf testsrc=duration=10:size=1280x720:rate=30 -vcodec mpeg2video test.mpg

File 'test.mpg' already exists. Overwrite ? [y/N] y
At least one input file must be specified



________________________________________
From: ffmpeg-user-bounces at ffmpeg.org [ffmpeg-user-bounces at ffmpeg.org] on behalf of Roger Berk [RBerk at CreativeTechnology.com]
Sent: Friday, January 06, 2012 2:53 PM
To: FFmpeg user questions and RTFMs
Subject: Re: [FFmpeg-user] Command line to create mpeg ( or anything ) from testsrc

C:\bin>ffmpeg -i testsrc=duration=10:size=1280x720:rate=30 -vcodec mpeg2video test.mpg

produces the error:

testsrc=duration=10:size=1280x720:rate=30: No such file or directory

I have tried many other combinations, with various errors.



Any Ideas ?


________________________________________
From: ffmpeg-user-bounces at ffmpeg.org [ffmpeg-user-bounces at ffmpeg.org] on behalf of Stefano Sabatini [stefasab at gmail.com]
Sent: Friday, January 06, 2012 2:26 PM
To: FFmpeg user questions and RTFMs
Subject: Re: [FFmpeg-user] Command line to create mpeg ( or anything ) from testsrc

On date Friday 2012-01-06 19:13:14 +0000, Roger Berk encoded:
> Hello,
>
> 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.

ffmpeg -i lavfi testsrc=... OUTPUT
--
ffmpeg-user random tip #8
Multimedia related stuff web site promo:
http://wiki.multimedia.cx/
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list