Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th November 2011, 19:29 | #1 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
DVD audio sync issues.
Not sure where exactly to post this but this issue has me so confused I feel like a newbie so I figured these was the right place.
I'm ripping a DVD (Lost Season 2 PAL) but there is a weird audio sync issues. After going over all my steps one by one I found the issues on the DVD itself. If I play the IFO, go through the menus and start the first episode everything works perfectly fine. But if I play the VOB file directly the audio is ~1s or so ahead of the video. The same audio mismatch I got when I ripped the DVD. After a bunch of back and forth checking it seems like when playing the VOB there is and extra second worth of black frames at the beginning of the episode that don't get played when playing the episode via the IFO menus but the show up in DGIndex. How would I go about dealing with this? My workflow goes like this: DVDFab -> DGIndex -> Avisynth -> x264 -> mkvmerge. MediaInfo for the IFO: Code:
General Complete name : H:\temp\FullDisc\L210EUT1\VIDEO_TS\VTS_01_0.IFO Format : DVD Video Format profile : Program File size : 60.0 KiB Duration : 41mn 31s Overall bit rate mode : Variable Overall bit rate : 197 bps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Duration : 41mn 31s Bit rate mode : Variable Width : 720 pixels Height : 576 pixels Display aspect ratio : 16:9 Frame rate : 25.000 fps Standard : PAL Compression mode : Lossy Audio #1 ID : 128 (0x80) Format : AC-3 Format/Info : Audio Coding 3 Duration : 41mn 31s Channel(s) : 6 channels Sampling rate : 48.0 KHz Compression mode : Lossy Language : English Audio #2 ID : 129 (0x81) Format : AC-3 Format/Info : Audio Coding 3 Duration : 41mn 31s Channel(s) : 6 channels Sampling rate : 48.0 KHz Compression mode : Lossy Language : French Audio #3 ID : 130 (0x82) Format : AC-3 Format/Info : Audio Coding 3 Duration : 41mn 31s Channel(s) : 6 channels Sampling rate : 48.0 KHz Compression mode : Lossy Language : Spanish Audio #4 ID : 131 (0x83) Format : AC-3 Format/Info : Audio Coding 3 Duration : 41mn 31s Channel(s) : 1 channel Sampling rate : 48.0 KHz Compression mode : Lossy Language : English Language, more info : Director's comments Text #1 ID : 32 (0x20) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : English Language, more info : Normal Text #2 ID : 33 (0x21) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : English Text #3 ID : 34 (0x22) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : French Language, more info : Normal Text #4 ID : 35 (0x23) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Spanish Language, more info : Normal Text #5 ID : 36 (0x24) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Dutch Language, more info : Normal Text #6 ID : 37 (0x25) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Swedish Language, more info : Normal Text #7 ID : 38 (0x26) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Norwegian Language, more info : Normal Text #8 ID : 39 (0x27) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Danish Language, more info : Normal Text #9 ID : 40 (0x28) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Finnish Language, more info : Normal Text #10 ID : 41 (0x29) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Icelandic Language, more info : Normal Text #11 ID : 42 (0x2A) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : French Text #12 ID : 43 (0x2B) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Spanish Text #13 ID : 44 (0x2C) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : French Language, more info : Director comments Text #14 ID : 45 (0x2D) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Spanish Language, more info : Director comments Text #15 ID : 46 (0x2E) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Dutch Language, more info : Director comments Text #16 ID : 47 (0x2F) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Swedish Language, more info : Director comments Text #17 ID : 48 (0x30) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Norwegian Language, more info : Director comments Text #18 ID : 49 (0x31) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Danish Language, more info : Director comments Text #19 ID : 50 (0x32) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Finnish Language, more info : Director comments Text #20 ID : 51 (0x33) Format : RLE Format/Info : Run-length encoding Bit depth : 2 bits Language : Icelandic Language, more info : Director comments Menu #1 Duration : 41mn 31s 00:00:00.000 : Chapter 1 00:00:32.160 : Chapter 2 00:04:03.880 : Chapter 3 00:11:19.000 : Chapter 4 00:19:42.040 : Chapter 5 00:27:32.160 : Chapter 6 00:36:34.880 : Chapter 7 00:40:52.400 : Chapter 8 00:41:21.400 : Chapter 9 00:41:30.680 : Chapter 10 List (Audio) : 0 / 1 / 2 / 3 List (Subtitles 4/3) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 List (Subtitles Wide) : 0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 List (Subtitles Letterbox) : 0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 List (Subtitles Pan&Scan) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 Menu #2 Duration : 480ms 00:00:00.000 : Chapter 1 List (Audio) : 0 / 1 / 2 / 3 List (Subtitles 4/3) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 List (Subtitles Wide) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 List (Subtitles Letterbox) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 List (Subtitles Pan&Scan) : 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 / 0 Code:
General Complete name : H:\temp\FullDisc\L210EUT1\VIDEO_TS\ep1 T80 3_2ch 384Kbps DELAY 6ms.ac3 Format : AC-3 Format/Info : Audio Coding 3 File size : 114 MiB Duration : 41mn 28s Overall bit rate mode : Constant Overall bit rate : 384 Kbps Audio Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Duration : 41mn 28s Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 114 MiB (100%) |
29th November 2011, 20:55 | #3 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
I thought about that, but if I do so I end up cutting off too much. When playing properly (with audio in sync) there is still a second or so of black frames while a narrator says "Previously on Lost" and then the video fades in. When the audio is out of sync there is a longer stretch of black frames at the beginning, around 2 seconds. So I can't get rid of all the black frames at the beginning only the first ~1 second of them.
|
29th November 2011, 22:16 | #5 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
Thank you for your help. I got it working. I found this Parse d2v tool and taking a gander at the resulting text file I noticed that eight GOPs in it switches from GOP: closed to GOP: open. So trying it eight steps in resulted in synced audio.
|
30th November 2011, 06:48 | #6 | Link |
Registered User
Join Date: Nov 2001
Posts: 1,104
|
When you rip each ep separately in main movie mode with DVDFab, there will be not delay in audio.
__________________
MultiMakeMKV: MakeMKV batch processing (Win) MultiShrink: DVD Shrink batch processing Offizieller Übersetzer von DVD Shrink deutsch |
1st December 2011, 05:17 | #8 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
What if you re-author your ripped files with DVD Shrink?
When you re-author you can also do very basic editing (it's really only useful for trimming bits off the start and end of titles etc). Just curious if DVD Shrink would re-author the ripped files okay... Or.... if you've got something like DVD Fab running in the background you could probably use DVD Shrink to open and re-author the disc directly. |
1st December 2011, 05:54 | #9 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
I'd first run FixVTS over the DVD decrypted using DVDFab HD Decrypter to remove the unreferenced cells. DVDFab sometimes does an incomplete job of it.
http://www.videohelp.com/tools/FixVTS |
1st December 2011, 09:46 | #10 | Link | |
Registered User
Join Date: Jul 2008
Posts: 75
|
Quote:
|
|
1st December 2011, 11:00 | #11 | Link | |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
Quote:
And, yes, FixVTS can't help you here, because it has nothing to correct. You have to edit manually the IFOs to remove all references to the bad cells, then run FixVTS. That was actually what people say when they say use FixVTS. Before attempting any other tool to convert to anything else (DVDFab -> DGIndex -> Avisynth -> x264 -> mkvmerge), do clean the DVD (dvdfab -> pgcedit/ifoedit->fixvts-> dvdshrink or any other tool -> the rest of processing). One can reverse the steps 2 with 3,4. It appears that you have little experience with these tools, so read them the manuals and their associated threads, here in forum.
__________________
Born in the USB (not USA) |
|
1st December 2011, 12:55 | #12 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Quote:
I guess I've misunderstood what FixVTS actually does and what it's "remove unreferenced and blank cells" option actually does. |
|
1st December 2011, 14:25 | #13 | Link |
Registered User
Join Date: Mar 2009
Location: Germany
Posts: 5,769
|
Some unwanted cells are referenced and thus not removable with FixVTS. Disney discs I've ripped (not many) all had unwanted cells (not bad cells, just cell that are not wanted).
__________________
Born in the USB (not USA) |
1st December 2011, 15:28 | #14 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
So, after poking around pgcedit and randomly pressing buttons just to see what they do (and managing to break the dvd structure a few times) i found that there are a bunch of weird cells in the beginning of the episode. Deleting them seemed to be a bit trickier proposition since they seemed to be quite entrenched into the functional structure of the DVD. I didn't realize there are this many fiddly bits to making the DVD structure work.
On the other hand two commenters had already given me an easy answer, I just hadn't been smart enough to put two and two together. When ripping in Main Movie mode DVDFab strips out much of this structure, including the references to the unwanted cells. So running FixVTS on the Main Movie rip fixed the problem, I just hadn't been smart enough to do it on my own earlier. |
1st December 2011, 16:43 | #15 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Quote:
Looks like the OP got FixVTS to work anyway so I guess it found something to do. |
|
1st December 2011, 20:33 | #17 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Oh.... so you're saying those weird cells were actually referenced?
I didn't know FixVTS removed referenced cells. Oh... apparently it doesn't. I guess FixVTS must have got bored waiting for the OP to manually remove all references to bad cells and decided to take matters into it's own hands? |
1st December 2011, 20:33 | #18 | Link | |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
Quote:
Running FixVTS over a DVD movie decrypted to the hard drive using DVDFab is a known fix for exactly this kind of problem. Starting DGIndex a little ways into the movie is perhaps a little bit easier and faster, if all the unreferenced cells are found only at the very beginning of the movie (not always the case). Last edited by manono; 1st December 2011 at 20:38. |
|
1st December 2011, 22:18 | #20 | Link |
Registered User
Join Date: Jul 2008
Posts: 75
|
What I did was this:
When using DVDFab to rip the whole move there are a bunch of extra cells at the beginning of the PGC. Screenshot: The actual video for the episode doesn't start until cell 5. When ripping with DVDFab in Main Movie mode the PGC ends up looking like this: Here the extra cells at the beginning are gone. They are still in the VOB file but now FixVTS will remove them. |
Thread Tools | Search this Thread |
Display Modes | |
|
|