PDA

View Full Version : MKV: Chapter Skipping Jumps Too Early


wswartzendruber
4th April 2009, 18:42
I'm using dvdxchap to dump the chapters of DVDs into a text file. I then use mkvmerge to mux everything together when I'm done. But when I actually test the ability in either VLC or SMPlayer, it jumps to a point in the video before where it's really supposed to be. It seems to be by a consistent factor as the farther I get into the video, the further behind it jumps.

Here's the mkvmerge command:

mkvmerge --default-language eng --chapter-language eng --chapters chapters.txt -o "$DESTINATION.mkv" --title "$TITLE" --attachment-description
"Cover" --attachment-mime-type image/jpeg --attach-file cover.jpg --vtracks 0 --default-track 0 --track-name 0:"Video" --language 0:eng --default-duration
0:23.976fps --display-dimensions 0:???x??? video.264 --atracks 0 --default-track 0 --track-name 0:"Compressed Dynamics Stereo"
--language 0:eng audio_20.aac --atracks 0 --track-name 0:"Full Dynamics 5.1 Surround" --language 0:eng audio_51.aac --stracks 0 --default-track 0
--track-name 0:"Dialogue" --language 0:eng subtitles.srt

kumi
4th April 2009, 19:07
If you have access to a Windows machine (real or virtual) you can rip chapters with ChapterGrabber (jvance.com/pages/ChapterGrabber.xhtml). For a 23.976fps DVD, load the titleset, change "Current FPS" from 23.976 to 24.000, then click Convert Chapter Times by FPS > to 23.976. I'm not aware of any other *nix or Windows tool that can rip DVD chapters without making a mess of the timestamps.

wswartzendruber
4th April 2009, 20:41
If you have access to a Windows machine (real or virtual) you can rip chapters with ChapterGrabber (jvance.com/pages/ChapterGrabber.xhtml). For a 23.976fps DVD, load the titleset, change "Current FPS" from 23.976 to 24.000, then click Convert Chapter Times by FPS > to 23.976. I'm not aware of any other *nix or Windows tool that can rip DVD chapters without making a mess of the timestamps.
Thanks for the straight-forward answer. I manually converted one of the entries by hand and found it be on target.

I'm thinking of writing a .NET CLI program to convert the timestamps.