[FFmpeg-devel] [PATCH] Improve error message when there are no streams in an output file

Stefano Sabatini stefano.sabatini-lala
Tue Nov 18 00:26:13 CET 2008


On date Sunday 2008-11-16 22:17:56 +0100, Michael Niedermayer encoded:
> On Sun, Nov 16, 2008 at 07:55:35PM +0100, Stefano Sabatini wrote:
> > Hi.
> > 
> > Example:
> > 
> > Without the patch:
> > 
> > stefano at geppetto ~/s/ffmpeg> ffmpeg -i test.wmv test.flv -an -vn test2.mpeg test3.avi  -y
> > [...]
> > Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
> > Input #0, asf, from 'test.wmv':
> >   Duration: 00:00:26.94, start: 3.100000, bitrate: 361 kb/s
> >     Stream #0.0: Video: msmpeg4, yuv420p, 320x240, 25.00 tb(r)
> >     Stream #0.1: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s
> > Output file does not contain any stream
> > 
> > Patched:
> > 
> > stefano at geppetto ~/s/ffmpeg> ffmpeg -i test.wmv test.flv -an -vn test2.mpeg test3.avi  -y
> > [...]
> > Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
> > Input #0, asf, from 'test.wmv':
> >   Duration: 00:00:26.94, start: 3.100000, bitrate: 361 kb/s
> >     Stream #0.0: Video: msmpeg4, yuv420p, 320x240, 25.00 tb(r)
> >     Stream #0.1: Audio: mp3, 44100 Hz, mono, s16, 64 kb/s
> > Output #1, mpeg, to 'test2.mpeg':
> > Output file #1 does not contain any stream
> 
> probably ok

Applied.
-- 
FFmpeg = Free and Fostering Minimal Programmable Erotic Glue




More information about the ffmpeg-devel mailing list