[FFmpeg-user] ffmpeg fails to detect subtitles in a VOB file

Dan Hentschel dan at hentschels.com
Wed Jul 25 03:00:37 CEST 2012

Thank you very much for the link. It was very helpful. It turns out that
the -analyzeduration and -probesize flags actually DO work just fine. I was
just placing them incorrectly. They need to be BEFORE the -i flag. I was
placing them after. I changed my command line as follows:

ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -i 001\ Enter\
Naruto\ Uzumaki\!.vob

   ... snip ...

Input #0, mpeg, from '001 Enter Naruto Uzumaki!.vob':
  Duration: 00:23:06.84, start: 0.060000, bitrate: 8318 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9
DAR 4:3], 9800 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x81]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x20]: Subtitle: dvd_subtitle


And now I can see the subtitle just fine. I somehow missed the fact that
they needed to come before the -i. The link you provided had an example
command line that provided the spark. Thanks again.

 - dan

On Tue, Jul 24, 2012 at 5:33 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Dan Hentschel <dan <at> hentschels.com> writes:
> > For this one, ffmpeg doesn't see any subtitle tracks. However, I can play
> > the video with either MythTV's video player, or with VLC, and both of
> them
> > are able to detect and display English subtitles. I am not an expert on
> the
> > file format in VOBs, but my observation is that neither of the
> > aforementioned players detects that there is a subtitle stream present
> > until about 10-20 seconds into the video, at about the time that the
> first
> > subtitle is displayed.
> Consider adding yourself to the CC list of ticket #598:
> https://ffmpeg.org/trac/ffmpeg/ticket/598
> It unfortunately describes several problems, one of them is
> the one you see.
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

dan B hentschel
dan at hentschels.com

More information about the ffmpeg-user mailing list