Opened 11 years ago

Closed 11 years ago

#2894 closed defect (duplicate)

Wrong duration of the .vob files containing two titles.

Reported by: kasper93 Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mpegps
Cc: underground78@gmail.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
FFmpeg detect wrong duration of the vob files containing two titles. I'm not sure about that, but from my observations and comparing how this file is playback with MPC MPEG Splitter. I can say that real file duration is 21:34 and after 16:17 is video for other dvd title. Reproduced with multiple files. Sample: VTS_01_4.VOB Sorry for the size. Dropbox has bandwidth limit 20 GB per day. I hope that will be enough.

How to reproduce:

% ffmpeg -i VTS_01_4.VOB -report
ffmpeg version N-55721-gc443689 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 22 2013 19:03:10 with gcc 4.7.3 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 29.100 / 55. 29.100
  libavformat    55. 14.102 / 55. 14.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.102 /  3. 82.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
.
.
.
Input #0, mpeg, from 'VTS_01_4.VOB':
  Duration: 25:38:26.78, start: 3879.256000, bitrate: 93 kb/s
    Stream #0:0[0x1e0], 125, 1/90000: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80], 158, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
    Stream #0:2[0x81], 159, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
    Stream #0:3[0x1bf], 10, 1/90000: Data: dvd_nav_packet
Successfully opened the file.

Full report ffmpeg-20130823-200622.log

What I expect to see:
Correct duration and ability to jump through whole file. Currently we can do it only on the first part of the file (0-977s)

ffplay -ss 970 VTS_01_4.VOB

will work, but anything beyond 977 will start "second part" (sorry I don't know how to call that) of the file from beginning meaning 977s.

ffplay -ss 1000 VTS_01_4.VOB

Change History (2)

comment:1 by Underground78, 11 years ago

Cc: underground78@gmail.com added

comment:2 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Keywords: mpegps added; vob duration removed
Reproduced by developer: set
Resolution: duplicate
Status: newclosed

Looks like a duplicate of ticket #2084 to me, should be tested again once that is fixed.

Note: See TracTickets for help on using tickets.