[Ffmpeg-devel] Bug? Subtitles not detected in vob
Erik Slagter
erik
Mon Jan 8 21:21:36 CET 2007
Wolfram Gloger wrote:
> Interesting.. I may have some patches for you to try
> (though not concerning your problem described below).
[ ... ]
> Currently, ffmpeg doesn't play very nicely with subtitles unless
> they appear regularly.
Well, they actually do, especially in the test clip (test2.vob).
>> The first thing I run into is that ffmpeg doesn't even detect the
>> subtitles in the vob file.
> Just a data point -- it did work fine at some time in the past:
> % ffmpeg -i test2.vob
> FFmpeg version SVN-r6105, Copyright (c) 2000-2004 Fabrice Bellard
> configuration: --enable-a52 --enable-mp3lame --enable-gpl --enable-libogg --enable-vorbis --enable-teletext-zvbi
> libavutil version: 49.0.0
> libavcodec version: 51.11.0
> libavformat version: 50.5.0
> built on Aug 27 2006 11:12:48, gcc: 2.95.4 20011002 (Debian prerelease)
> Input #0, mpeg, from 'test2.vob':
> Duration: 00:00:17.3, start: 115.196000, bitrate: 9446 kb/s
> Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 8700 kb/s, 25.00 fps(r)
> Stream #0.1[0x81]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
> Stream #0.2[0x80]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
> Stream #0.3[0x24]: Subtitle: dvdsub
> Stream #0.4[0x23]: Subtitle: dvdsub
> Must supply at least one output file
I painfully (yeah...) managed to compile this version, and finally
succeeded...
result:
artemis erik:~/apache/erik/pub $ ffmpeg -i /var/tv/test.vob
FFmpeg version SVN-r6105, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--enable-mp3lame --enable-faad --enable-faac --enable-x264 --enable-a52
--enable-pp --enable-static --enable-shared --enable-amr_nb
--enable-amr_wb --enable-amr_if2 --enable-pthreads --enable-gpl
--disable-audio-oss --disable-v4l --disable-v4l2 --disable-bktr
--disable-dv1394 --disable-debug --cpu=pentium-m --extra-cflags=-m32
--extra-ldflags=-m32
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Jan 8 2007 21:04:29, gcc: 4.1.1 20060525 (Red Hat 4.1.1-1)
Input #0, mpeg, from '/var/tv/test.vob':
Duration: 00:38:59.8, start: 0.060000, bitrate: 18533 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 8700 kb/s,
25.00 fps(r)
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
Stream #0.2[0x81]: Audio: ac3, 48000 Hz, 5:1, 384 kb/s
Must supply at least one output file
No joy!
Now I am really interested what either you or debian did to get the
subtitles working? Maybe secretly one of your patches?
BTW: /var/tv/test.vob is the complete vob, test2.vob (the one that you
tested) is a clip containing subtitles. Both of them fed to ffmpeg-r6105
yield the same output.
More information about the ffmpeg-devel
mailing list