Ripping a branching DVD fails at the end of the track

Please post here for issues related to DVD discs
Post Reply
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Ripping a branching DVD fails at the end of the track

Post by xaviour »

X-Men (PAL, Region 2) part of "X-Men Quadrilogy"
20th Century Fox Home Entertainment

MakeMKV 1.7.0 ends with a error at the end of the ripping process
of the track for the main movie. The error occurs at the end of the track.
The following cases have been tried:

DVD -> MakeMKV -> Failure
DVD -> Brasero -> ISO -> MakeMKV -> Failure
DVD -> Brasero -> ISO -> VIDEO_TS -> MakeMKV -> Failure
DVD -> DVDFab -> VIDEO_TS -> MakeMKV -> Failure

The resulting ISO and DVD structure on harddrive can be watched with VLC
without issue in particular at the end of the movie.
Last edited by xaviour on Fri Jan 27, 2012 6:53 pm, edited 3 times in total.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping process fails when reaching the end of the track

Post by xaviour »

Sent test dump to Mike.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping process fails when reaching the end of the track

Post by xaviour »

This is a branching DVD. The movie can either be seen in its cinematic version or with cut scenes added. When viewing the extended version,
there is a small pause before and after the added scenes. So this is probably implemented by having the DVD player is probably jumping around in the vobs.

This is quite exotic and can be the reason why MakeMKV is confused.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping a branching DVD fails at the end of the track

Post by xaviour »

It is possible to generate a proper Matroska file. First of all, a full DVD backup has to be done using Brasero o DVDFab.
The resulting ISO file can be processed using regular Linux tools:

Code: Select all

mkdir -p iso
sudo mount -t iso9660 XMEN.iso iso -o loop
tccat -i XMEN.iso -T 2,-1,1 > X-Men.vob
tcextract -t vob -x ps1 -a 0x20 < X-Men.vob > X-Men.ps1
subtitle2vobsub -p X-Men.ps1 -i iso/video_ts/vts_01_0.ifo -o X-Men
mkvmerge -o "X-Men.mkv"  "--language" "0:eng" "--forced-track" "0:no" "--display-dimensions" "0:1024x576" "--language" "1:eng" "--forced-track" "1:no" "-a" "1" "-d" "0" "-S" "-T" "--no-global-tags" "--no-chapters" "X-Men.vob" "--language" "0:eng" "--forced-track" "0:no" "-s" "0" "-D" "-A" "-T" "--no-global-tags" "--no-chapters" "X-Men.idx" "--track-order" "0:0,0:1,1:0" "--title" "X-Men"
The muxer give the following warning but the video is otherwise correct.

Code: Select all

mkvmerge v5.2.1 ('A Far Off Place') built on Jan  2 2012 20:22:37
[...]
Warning: Video ended with a shortened group of pictures. Some frames have been dropped. You may want to fix the MPEG2 video stream before attempting to multiplex it.
The previous warning usually indicates that the last frame of the last GOP of the video was a P frame and that the parser expected another couple of B frames. Because this occurs at the end of the video, this defect in the video is actually harmless.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping a branching DVD fails at the end of the track

Post by xaviour »

The problem is still present with 1.7.1.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping a branching DVD fails at the end of the track

Post by xaviour »

The problem is still present with 1.7.2.
xaviour
Posts: 58
Joined: Fri Mar 25, 2011 2:02 pm

Re: Ripping a branching DVD fails at the end of the track

Post by xaviour »

The problem has been fixed in version 1.7.3.
crowfax
Posts: 972
Joined: Thu Feb 18, 2010 5:55 am

Re: Ripping a branching DVD fails at the end of the track

Post by crowfax »

Great news. I'll dig my copy out and back it up. Thanks for updating the thread :-)
Home Theater PC: Assassin HTPC, XBMCbuntu 12.0 (Frodo), Intel i5 3570k 3.4 GHz Ivy Bridge w/ HD 4000, LG BD-ROM
Playback Devices: Mede8er MED600X3D, MyGica EnjoyTV 120, Xtreamer SideWinder 3, Crystal Acoustics MediaMatchBox
Post Reply