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

Michael Niedermayer michaelni
Sun Nov 16 22:17:56 CET 2008


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081116/895328ce/attachment.pgp>



More information about the ffmpeg-devel mailing list