[FFmpeg-trac] #386(undetermined:reopened): Missing audio and subtitle streams in vob file

FFmpeg trac at avcodec.org
Tue Aug 9 18:55:05 CEST 2011


#386: Missing audio and subtitle streams in vob file
------------------------+---------------------------
Reporter:  Aztek        |       Owner:
    Type:  defect       |      Status:  reopened
Priority:  normal       |   Component:  undetermined
 Version:  unspecified  |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+---------------------------

Comment (by Aztek):

 I will upload the file this week end: I'm not home and I can't VPN from
 where I am (nor SSH).

 About the VOB files:

 1) Orgiginal VOB files were <1GB. It's by design because some platforms
 can't handle more at once.
 2) Usually, those VOB files are split the dumb way : `cat WHOLE_MOVIE.VOB
 | split -b 1g`
 3) So what I did was using `cat PART_{1,2,3,4}.VOB > FULLMOVIE.VOB`. I
 first launched `mplayer` to make sure the VOB files contained audio/video.
 I also tried `vobcopy -n 1 -l /dev/sr0` to directly extract and
 concatenate all the VOB files from the DVD.
 4)  When I saw this wasn't working, I tried on individual files.
 I didn't try `ffmpeg` on them but `ffprobe` (if `ffprobe` is blind,
 `ffmpeg` wouldn't see any better I thought).

 ==1ST VOB (1GB)==
 {{{
 $ ffprobe -analyzeduration 2000000000  VTS_02_1.VOB
 ffprobe version 0.8, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jul 22 2011 16:19:50 with gcc 4.6.1
   configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc'
 --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
 --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libschroedinger --disable-
 encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-
 libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-
 libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-
 amrwbenc --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-
 altivec --disable-armv5te --disable-armv6 --disable-vis
 --shlibdir=/usr/lib/x86_64-linux-gnu
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpeg @ 0x252f5c0] max_analyze_duration reached
 Input #0, mpeg, from 'VTS_02_1.VOB':
   Duration: 00:20:27.50, start: 0.162622, bitrate: 6997 kb/s
     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR
 16:9], 5500 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
     Stream #0.1[0x83]: Audio: ac3, 0 channels
     Stream #0.2[0x81]: Audio: ac3, 0 channels
     Stream #0.3[0x80]: Audio: ac3, 0 channels
     Stream #0.4[0x84]: Audio: ac3, 0 channels
     Stream #0.5[0x82]: Audio: ac3, 0 channels
 }}}

 ==2ND VOB (1GB)==

 {{{
 $ ffprobe -analyzeduration 2000000000  VTS_02_2.VOB
 ffprobe version 0.8, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jul 22 2011 16:19:50 with gcc 4.6.1
   configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc'
 --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
 --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libschroedinger --disable-
 encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-
 libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-
 libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-
 amrwbenc --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-
 altivec --disable-armv5te --disable-armv6 --disable-vis
 --shlibdir=/usr/lib/x86_64-linux-gnu
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpeg2video @ 0x1bd90a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x1bd90a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x1bd90a0] mpeg_decode_postinit() failure
 Input #0, mpeg, from 'VTS_02_2.VOB':
   Duration: 26:26:14.32, start: 1227.918867, bitrate: 90 kb/s
     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR
 16:9], 7500 kb/s, 24.35 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0.1[0x83]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.2[0x81]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.3[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
     Stream #0.4[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0.5[0x82]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.6[0x25]: Subtitle: dvdsub
     Stream #0.7[0x24]: Subtitle: dvdsub
     Stream #0.8[0x23]: Subtitle: dvdsub
     Stream #0.9[0x22]: Subtitle: dvdsub
     Stream #0.10[0x21]: Subtitle: dvdsub
     Stream #0.11[0x20]: Subtitle: dvdsub
     Stream #0.12[0x27]: Subtitle: dvdsub
     Stream #0.13[0x26]: Subtitle: dvdsub
 }}}

 ==3RD VOB (1GB)==
 {{{
 $ ffprobe -analyzeduration 2000000000  VTS_02_3.VOB
 ffprobe version 0.8, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jul 22 2011 16:19:50 with gcc 4.6.1
   configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc'
 --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
 --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libschroedinger --disable-
 encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-
 libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-
 libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-
 amrwbenc --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-
 altivec --disable-armv5te --disable-armv6 --disable-vis
 --shlibdir=/usr/lib/x86_64-linux-gnu
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpeg @ 0x23f65c0] max_analyze_duration reached
 Input #0, mpeg, from 'VTS_02_3.VOB':
   Duration: 00:20:39.36, start: 958.526856, bitrate: 6930 kb/s
     Stream #0.0[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
     Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR
 16:9], 7500 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0.2[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0.3[0x82]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.4[0x83]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.5[0x81]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.6[0x23]: Subtitle: dvdsub
     Stream #0.7[0x22]: Subtitle: dvdsub
     Stream #0.8[0x25]: Subtitle: dvdsub
     Stream #0.9[0x24]: Subtitle: dvdsub
     Stream #0.10[0x21]: Subtitle: dvdsub
     Stream #0.11[0x20]: Subtitle: dvdsub
     Stream #0.12[0x27]: Subtitle: dvdsub
     Stream #0.13[0x26]: Subtitle: dvdsub
 }}}

 ==4TH VOB (1GB)==
 {{{
 $ ffprobe -analyzeduration 2000000000  VTS_02_4.VOB
 ffprobe version 0.8, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jul 22 2011 16:19:50 with gcc 4.6.1
   configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc'
 --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
 --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libschroedinger --disable-
 encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-
 libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-
 libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-
 amrwbenc --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-
 altivec --disable-armv5te --disable-armv6 --disable-vis
 --shlibdir=/usr/lib/x86_64-linux-gnu
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mpeg, from 'VTS_02_4.VOB':
   Duration: 00:20:21.63, start: 2197.949489, bitrate: 7031 kb/s
     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR
 16:9], 7500 kb/s, 23.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0.1[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0.2[0x82]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.3[0x83]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.4[0x81]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.5[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
 }}}


 ==5TH VOB (786MB)==
 {{{
 $ ffprobe -analyzeduration 2000000000  VTS_02_5.VOB
 ffprobe version 0.8, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jul 22 2011 16:19:50 with gcc 4.6.1
   configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc'
 --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
 --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-
 pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-
 x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-
 nonfree --disable-stripping --enable-libschroedinger --disable-
 encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-
 libvpx --enable-librtmp --enable-avfilter --enable-frei0r --enable-
 libopencv --enable-libfreetype --enable-libvo-aacenc --enable-libvo-
 amrwbenc --libdir=/usr/lib/x86_64-linux-gnu --enable-libdc1394 --disable-
 altivec --disable-armv5te --disable-armv6 --disable-vis
 --shlibdir=/usr/lib/x86_64-linux-gnu
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg2video @ 0x16940a0] mpeg_decode_postinit() failure
 [mpeg @ 0x16915c0] max_analyze_duration reached
 Input #0, mpeg, from 'VTS_02_5.VOB':
   Duration: 25:34:16.11, start: 3419.645489, bitrate: 71 kb/s
     Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR
 16:9], 7500 kb/s, 24.98 fps, 59.94 tbr, 90k tbn, 59.94 tbc
     Stream #0.1[0x84]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0.2[0x82]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.3[0x83]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.4[0x81]: Audio: ac3, 48000 Hz, mono, s16, 192 kb/s
     Stream #0.5[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
     Stream #0.6[0x25]: Subtitle: dvdsub
     Stream #0.7[0x24]: Subtitle: dvdsub
     Stream #0.8[0x23]: Subtitle: dvdsub
     Stream #0.9[0x22]: Subtitle: dvdsub
     Stream #0.10[0x21]: Subtitle: dvdsub
     Stream #0.11[0x20]: Subtitle: dvdsub
     Stream #0.12[0x27]: Subtitle: dvdsub
     Stream #0.13[0x26]: Subtitle: dvdsub
 }}}



 As you can see, even though all those VOBs contain audio stream, some lack
 the subtitles and weird errors are given.
 That's why I though merging the files woulb be a good idea (and that's
 also what people seem to do).

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/386#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list