Log in

View Full Version : DVD-Video to CD-Audio: track offset


derf
1st August 2007, 02:38
Hi everyone,

I often read here but rarely post as I always find the answer to my question in other posts. But unfortunately, I have not bee able to find an answer now so I have to ask.

I just got a music DVD-Video which I want to convert to CD-Audio. The sound track is 96 kHz / 24 bits LPCM. I tried to demux it directly with DVD Decrypter, but I always got a vob file, not a wav file (I even checked the header to verify), so I extracted the audio with DGIndex. I tried to downsample it to 44.1 kHz / 16 bits with BeSweet, but it wouldn't work as BeSweet would always assume it was 48 kHz, so I used ssrc from the command line and it worked. The original wav file and the new wav file have the exact same lenght close to the 1/1000 second. To create my cue sheet, I used the file created by DVD Decrypter (Chapter information - OGG), which is the same that can be created by Chaptor-X-Tractor with the OGG preset (with a 0,001 second difference, which doesn't matter). I the created a cue sheet with Chap2Cue. Everything is OK up to now.

When I mount the image with Daemon Tools and I play it EAC or any other CD player software, the track are more and more offset compared to the audio (4 seconds at the last track). I checked with Audacity to find the exact track change positions to confirm it. All tracks are off by approximately 0,13%, which amounts to 4 seconds at the end of the disc.

The difference between 30 fps and 29,970 fps is 0,1%. Could it be related? Is there something I could do for the tracks to be in sync without having to correct the cue sheet manually?

Thanks for your help.

If you need numbers, here you go:

Chapter-X-Tractor output (raw):
Opening IFO file F:\Snakes And Arrows\VIDEO_TS\VTS_01_0.IFO OK.

Video:
Compression : MPEG-2
TV system : NTSC 525/60 Hz
Aspect ratio: 4:3
Display Mode: not specified
Source Res : 720x480
Letterboxed : no
Mode : Camera

Audio:
0. ??? (AC3 6ch, 0xBD 0x80)
1. ??? (LPCM 2ch, 0xBD 0xA1)

SubPicture:
0. ??? (0xBD 0x20)

Program Chain(s):
Using PGC #0/1. Length: 01:02:45:33 in 13 cell(s).
000. VOB-ID: 01/CELL-ID: 01 - Len: 00:05:18:23 - TS: 00:00:00:00
001. VOB-ID: 01/CELL-ID: 02 - Len: 00:06:35:83 - TS: 00:05:18:23
002. VOB-ID: 01/CELL-ID: 03 - Len: 00:04:46:33 - TS: 00:11:54:06
003. VOB-ID: 01/CELL-ID: 04 - Len: 00:04:05:26 - TS: 00:16:40:40
004. VOB-ID: 01/CELL-ID: 05 - Len: 00:05:24:86 - TS: 00:20:45:66
005. VOB-ID: 01/CELL-ID: 06 - Len: 00:06:01:13 - TS: 00:26:10:53
006. VOB-ID: 01/CELL-ID: 07 - Len: 00:06:28:23 - TS: 00:32:11:66
007. VOB-ID: 01/CELL-ID: 08 - Len: 00:02:02:20 - TS: 00:38:39:89
008. VOB-ID: 01/CELL-ID: 09 - Len: 00:05:30:56 - TS: 00:40:42:09
009. VOB-ID: 01/CELL-ID: 10 - Len: 00:05:11:13 - TS: 00:46:12:66
010. VOB-ID: 01/CELL-ID: 11 - Len: 00:04:51:43 - TS: 00:51:23:79
011. VOB-ID: 01/CELL-ID: 12 - Len: 00:02:17:16 - TS: 00:56:15:23
012. VOB-ID: 01/CELL-ID: 13 - Len: 00:04:12:93 - TS: 00:58:32:39

Cells links :
000 -> 001 -> 002 -> 003 -> 004 -> 005 -> 006 -> 007 -> 008 -> 009 ->
010 -> 011 -> 012

Total film length : 01:02:45:33

Chapter 1 = 00:00:00:00
Chapter 2 = 00:05:18:23
Chapter 3 = 00:11:54:06
Chapter 4 = 00:16:40:40
Chapter 5 = 00:20:45:66
Chapter 6 = 00:26:10:53
Chapter 7 = 00:32:11:66
Chapter 8 = 00:38:39:89
Chapter 9 = 00:40:42:09
Chapter 10 = 00:46:12:66
Chapter 11 = 00:51:23:79
Chapter 12 = 00:56:15:23
Chapter 13 = 00:58:32:39


Cue sheet:
TITLE "Snakes & Arrows"
PERFORMER "Rush"
FILE "Rush - Snakes And Arrows.wav" WAVE
TRACK 01 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
TITLE "Far Cry"
PERFORMER "Rush"
TRACK 02 AUDIO
INDEX 01 05:18:17
TITLE "Armor and Sword"
PERFORMER "Rush"
TRACK 03 AUDIO
INDEX 01 11:54:05
TITLE "Workin' Them Angels"
PERFORMER "Rush"
TRACK 04 AUDIO
INDEX 01 16:40:30
TITLE "The Larger Bowl"
PERFORMER "Rush"
TRACK 05 AUDIO
INDEX 01 20:45:50
TITLE "Spindrift"
PERFORMER "Rush"
TRACK 06 AUDIO
INDEX 01 26:10:39
TITLE "The Main Monkey Business"
PERFORMER "Rush"
TRACK 07 AUDIO
INDEX 01 32:11:50
TITLE "The Way the Wind Blows"
PERFORMER "Rush"
TRACK 08 AUDIO
INDEX 01 38:39:67
TITLE "Hope"
PERFORMER "Rush"
TRACK 09 AUDIO
INDEX 01 40:42:07
TITLE "Faithless"
PERFORMER "Rush"
TRACK 10 AUDIO
INDEX 01 46:12:50
TITLE "Bravest Face"
PERFORMER "Rush"
TRACK 11 AUDIO
INDEX 01 51:23:60
TITLE "Good News First"
PERFORMER "Rush"
TRACK 12 AUDIO
INDEX 01 56:15:17
TITLE "Malignant Narcissism"
PERFORMER "Rush"
TRACK 13 AUDIO
INDEX 01 58:32:30
TITLE "We Hold On"
PERFORMER "Rush"


And actual track positions (found with Audacity):
00:00:00,00
00:05:19,20
00:11:55,45
00:16:41,94
00:20:48,15
00:26:13,16
00:32:14,71
00:38:42,77
00:40:45,15
00:46:16,15
00:51:27,80
00:56:19,87
00:58:36,76

derf
1st August 2007, 17:15
Well, after all I decided to manually correct the times by multiplying them by 30/29,97. The result is much better now.

derf
4th August 2007, 21:55
If I had known about CueMaster (http://cuemaster.host.sk/) and the fact that you can search and download files from freedb, things could have been much simpler.:rolleyes:

louwen
10th August 2007, 13:52
Thanks for the thread, very helpful. I have been looking for a way to split DVD video into seperate audio files.
I like Rush too!

louwen
10th August 2007, 14:00
I don't think you can find DVDs on freedb though.

derf
10th August 2007, 15:20
You can't find DVDs on freedb, but in my situation it was an album available both as CD and DVD with the same songs.

For this album, I wanted one continuous wav file because of the transitions between some songs. If the songs are all seperated, you can use the "split by chapter" option in DVD Decrypter when demuxing the songs.