I opened all the VOBs on a DVD in DGIndex, created a d2v and ac3 file, opened the d2v in VDub with AviSynth and exported as an AVI. Imported the ac3 and AVI into Premiere, but the audio gradually goes out of sync over the course of the video. The sync issue is not present on the original DVD.
Where might I have gone wrong here?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 17 of 17
Thread
-
-
Do you have "Video"->"Field Operation"->"Honor Pulldown Flags" set in DGIndex? Is the AviSynth script in-sync if you play it using e.g. MPC-HC? Post the script. Post your VirtualDub video encoding settings. Did DGIndex report any delay for the ac3 audio (usually written into the filename of the ac3)? How did you create/rip the VOBs? Did you use one d2v file for all VOBs or one for each?
-
-
It's a crappy DVD-recorder digitisation of a VHS tape. So AviSynth also fixes the levels, and VDub crops off the head switching noise.
Honor Pulldown Flags is set.
The AviSynth script has no audio. It just loads the d2v with MPEG2Source() and then SmoothLevels(0,1,255,16,235).
I'm saving as Lagarith YUY2, which I've done fine on many other occasions.
The audio file has a 64ms delay, but without even bothering to adhere to that it starts out roughly in sync and ends up out of sync by a second or two.
I just copied the VOBs from the disc to my PC.
One d2v file. -
ffms2 (Last official build is a bit old but development is active.)
a=ffaudiosource("source.ac3")
v=mpeg2source("source.d2v")
AudioDub(v, a)
#DelayAudio(-0.5) # delay audio by e.g. -0.5 seconds if necessary -
Here's literally the entire script:
Code:vid = MPEG2Source("VTS_01_1.d2v") aud = ffaudiosource("VTS_01_1 T80 2_0ch 256Kbps DELAY 64ms.ac3") dubbed = AudioDub(vid,aud) return dubbed
-
Does this thing have more than a single VOB ID? You can find out in PGCDemux. The reason I ask is if each has delays, those delays will accumulate as the video goes on. If, for example, each cell (chapter) is also a VOB ID with delays for each, then that's the cause of your problem. I've never examined a DVD made from a DVD recorder so I don't know.
-
No, not what I meant. The VOB ID. Open the IFO in PGCDemux and tick 'by VOB id'. In the drop down box you can see if there's more than one and the 'Check A/V delay' button will show you the delay for each. Admittedly, I'm clutching at straws here because I don't understand the cause of the problem. A bunch of VOB IDs with delays will definitely cause it. The most I've ever seen is 2 VOB IDs (except in episodic television shows), and it messed up both the audio synch and the subtitle timings after the change of VOB IDs.
I don't have an example to show you because retail DVDs don't often have problems like this. But I know nothing about how DVD recorders behave. -
Okay, it's not what I was thinking. Thank you for checking. But...
Each IFO? This 15-VOB video has an IFO for each VOB? Or what? Because it might work the same as multiple VOB IDs. If there are multiple IFOs and multiple VOBs, and you're joining all VOBs and joining all Audios (as you would if getting the audio from DGIndex), and if the audios aren't exactly the same length as their corresponding VOB videos, that's a recipe for audio asynch.
You can confirm (or disprove) the theory by finding the exact lengths of one of the VOB videos and one of the VOB audios. If slightly different, it's not a gradual asynch, but every time a new VOB begins you'd get a little 'jump' of asynch. Individually it might not be much (100-150ms or so), but it can add up to the amount you mentioned at the beginning. -
I think you can probably do it using AviSynth's AlignedSplice. But you'll have to append all the separate audios and videos. If I'm correct (not guaranteed), each audio is shorter than the corresponding video for each VOB. AlignedSplice will add the necessary amount of silence to bring the audio up to the same length as the individual VOB videos. And that should keep everything in synch. I'm now convinced your synch problems are due to there being 15 VOBs for this single video.
You mentioned NicAudio earlier, so I'll include it. It works well for opening AC3 audio. Once it's in an AviSynth script, though, you'll have to save the audio as WAV audio and then reencode afterwards.
Similar Threads
-
DgIndex: 29.97 fps and audio desynch
By JapaneseIdolWota in forum Video ConversionReplies: 6Last Post: 30th Jan 2017, 12:09 -
Video after converted to AVI in VDub is laggy in Sony Vegas
By Water in forum Video ConversionReplies: 2Last Post: 26th Oct 2016, 22:08 -
Slowing down a video gradually. Or speeding it up. But gradually.
By john1967 in forum Newbie / General discussionsReplies: 8Last Post: 19th Mar 2015, 21:47 -
Mixer Audio gets Gradually Softer (advice please)
By hellfire45 in forum AudioReplies: 1Last Post: 7th Dec 2014, 18:29 -
Extracting DVD Audio using DGIndex...
By Lathe in forum AudioReplies: 4Last Post: 6th Aug 2013, 21:40