[Ffmpeg-cvslog] r6755 - trunk/ffmpeg.c
Baptiste Coudurier
baptiste.coudurier
Sun Nov 5 19:34:57 CET 2006
nicodvb wrote:
> Author: nicodvb
> Date: Sun Oct 22 11:12:08 2006
> New Revision: 6755
>
> Modified:
> trunk/ffmpeg.c
>
> Log:
> support for sub-only streams; patch by borat subsense com
>
> Modified: trunk/ffmpeg.c
> ==============================================================================
> --- trunk/ffmpeg.c (original)
> +++ trunk/ffmpeg.c Sun Oct 22 11:12:08 2006
> @@ -3123,8 +3123,7 @@
> }
>
> if (!oc->nb_streams) {
> - fprintf(stderr, "No audio or video streams available\n");
> - exit(1);
> + fprintf(stderr, "Note: Output file will not contain a video or audio stream\n");
> }
>
> oc->timestamp = rec_timestamp;
That commit makes ffmpeg segault:
Take a file without audio stream and convert it to audio file only:
ffmpeg -i test.mpg test.wav
Input #0, mpeg, from 'test.mpg':
Duration: 00:00:00.0, start: 0.500000, bitrate: 36454 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 720x608, 104857 kb/s,
25.00 fps(r)
Note: Output file will not contain a video or audio stream
File 'test.wav' already exists. Overwrite ? [y/N] y
Output #0, wav, to 'test.wav':
Stream mapping:
zsh: segmentation fault ffmpeg -i test.mpg test.wav
Is that modification needed at all ? -vn -an -newsubtitle does not work ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-cvslog
mailing list