Author Topic: Wrong .VOB duration in Avidemux 2.6  (Read 6058 times)

ericzutter

  • Newbie
  • *
  • Posts: 11
Wrong .VOB duration in Avidemux 2.6
« on: January 31, 2014, 12:48:37 PM »
OS: Windows 7 64bits
Avidemux 2.6.7

Avidemux 2.6 gives a wrong duration, when opening a .VOB file
The problem happens with all versions of Avidemux 2.6, including latest version Avidemux 2.6.7.8981

The problem does NOT happen in Avidemux 2.5.6-1 64 bits.

To test, you can download the movie from the following website. It is a free movie created by the author of the website. To test, you must do following steps :

- go to http://www.zeitgeistmovie.com/
- scroll down to find "ZEITGEIST: THE MOVIE(2007)
- click on "DOWNLOAD TORRENT"
- click on "FREE DVD Torrent - PAL"
- download torrent file with utorrent (http://www.utorrent.com)
- unzip file "ZEITGEIST THE MOVIE PAL.iso" with 7-zip (http://www.7-zip.org/)
- start avidemux 2.6.7
- click on menu file + Open
- open VTS_01_1.VOB
- a popup will ask "There are several files with sequential file names. Shoud they be loaded ?
- click on button "No"
- VTS_01_1.VOB has a duration of 00:37:54,640 but Avidemux 2.6.7 shows the wrong duration 00:26:23,400
- close avidemux 2.6.7
- start avidemux 2.5.6-1 64 bits
- click on menu file + Open
- open VTS_01_1.VOB
- a popup will ask "There are several mpeg file, append them ?"
- click on button "No"
- Avidemux 2.5.6 64 bits shows the correct duration 00:37:54,640

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060

ericzutter

  • Newbie
  • *
  • Posts: 11
Re: Wrong .VOB duration in Avidemux 2.6
« Reply #2 on: May 02, 2014, 04:03:53 PM »
I removed the *.idx2 files. Then I retested the VOB file with the latest Avidemux version "avidemux_2.6.8_win64_v2.exe" using the same steps as mentioned above and the problem is still not solved. In the picture attached you see that the latest Avidemux version show the wrong duration 00:26:23,400.

Saving VTS_01_1.VOB to an AVI file (=default format when starting Avidemux), creates an AVI-file with the wrong audio duration 00:26:23,400 and the wrong video duration 00:26:23,400.

AQUAR

  • Hero Member
  • *****
  • Posts: 1077
Re: Wrong .VOB duration in Avidemux 2.6
« Reply #3 on: May 03, 2014, 01:57:03 AM »
Putting aside the duration mismatch just for the moment.
Is the avi video missing the last 11 minutes of audio/video in the source video?

VOB's are special containers designed to work within the DVD structure, they have private streams for things like navigation.
Other components of that structure, like IFO files, do interact with these private streams.
Just loading a VOB and ignoring the devil in the detail of the DVD structure can often result in these duration issues.
Probably the VOB suffers from time stamp discontinuities.

IMHO its not an Avidemux problem but a User problem.

Try demuxing the elementary video and audio streams inside to vob and remuxing them into a multimedia container like MKV.
There are some programs that will rewrite the mpeg time stamps and you may need to do that.

Avidemux 2.5.6 is frame based and probably/possibly ignores timestamps in the gop headers (I am just an enduser!).
I would use Avidemux 2.5.6 for this type of video.
« Last Edit: May 03, 2014, 05:00:29 AM by AQUAR »

VanillaMozilla

  • Newbie
  • *
  • Posts: 21
Re: Wrong .VOB duration in Avidemux 2.6
« Reply #4 on: September 30, 2014, 08:11:39 PM »
For anyone who just tuned in, there is a more recent and more complete discussion here:
http://avidemux.org/smuf/index.php/topic,16195.0.html
It's probably best to continue any discussion there.