Log in

View Full Version : Weird Audio sync problem when converting DVD to Avi


rampampam
2nd May 2007, 22:04
Hi guys,

I have an old Hindi DVD that I am trying to backup to Xvid/MP3 in Avi container. Using megui to convert. No Audio-Video sync issue on the DVD.

Upon conversion, the audio goes out of sync midway through the movie. So I ripped each VOB separately (there are 5). Audio sync problem from the middle of VOB 3 and throughout VOB 5.

VOB 5 - i used advanced filtering in virtualdubmod to speed up the audio by 1.0005 (using the stretch filter). This eliminated the sync issue for that avi.

VOB 3 - i cut the converted avi into 2 parts and synced the audio for the second part using method of VOB 5. First part was already in sync.

Now, I have 6 AVI files, but cannot join them back together to create a full avi. Virtualdub errors out - audio framerate not same ...

Any suggestions/alternate fixes for this problem would be welcome. Dont really want to have 6 AVI files.

setarip_old
2nd May 2007, 23:08
Hi!

For EACH of the six files, do the following:

1) Load file into VirtualDub
2) Set "Video" to "Direct Stream Copying"
3) Set "Audio" to "Full Processing Mode"
4) From the "Audio" dropdown menu, select "Compression"
5) Select, for example, 48,000Hz
6) From the "Audio" dropdown menu, select "Conversion"
7) If necessary, put a checkmark next to "Display all formats"
8) Select your preferred sampling rate from amongst the, for example, 48,000Hz .MP3 rates listed
9) Click on "OK"
10) Save with a new filename

rampampam
2nd May 2007, 23:33
thanks setarip_old ...

wont this throw the audio out of sync again in the 2 avi's that have the audio stretched?

i will give it a shot for sure though ...

Guest
2nd May 2007, 23:46
Did megui select force film for DGIndex? That can cause problems like this if parts of the movie are force-film'able and others are not (hybrid). If that is the case, do a manual conversion with "honor pulldown flags" and treat it as a hybrid.

rampampam
3rd May 2007, 08:30
Did megui select force film for DGIndex? That can cause problems like this if parts of the movie are force-film'able and others are not (hybrid). If that is the case, do a manual conversion with "honor pulldown flags" and treat it as a hybrid.

ahhh ... that might be the problem ... megui said - hybrid, mostly film ... now i was reading the IVTC tut here on doom9 and it kinda said treat that as Film (if i understood right) ... so i did an ivtc on it ...

here is my script -

DGDecode_mpeg2source("C:\Documents and Settings\Admin\Desktop\Guddi\VIDEO_TS\VTS_01_1.d2v",cpu=4)
tfm(order=1).tdecimate()
crop( 2, 2, -4, -4)
LanczosResize(576,432) # Lanczos (Sharp)
fft3dfilter(sigma=2,plane=4,bw=32,bh=32,bt=3,ow= 16,oh=16,sharpen=0.6,ncpu=2)


would the standard TIVTC + TDeint(EDI) in megui be a better choice? as in -

edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(order=1,clip2=tdeintted).tdecimate(hybrid=1)


I have used repal on quite a few of my Hindi DVDs with some success, but those were "hybrid - mostly interlaced" in megui analysis ... maybe I should just use that? looked like 3 progressive + 2 interlaced frames mostly (i did not find any different, but megui said that vobs 1, 3 and 5 were - hybrid ...

my repal code -

DGDecode_mpeg2source("C:\Documents and Settings\Admin\Desktop\Guddi\VIDEO_TS\VTS_01_1.d2v",cpu=4)
assumetff()
tdeint(mode=1)
repal()
crop( 2, 2, -4, -4)
Lanczos4Resize(576,432) # Lanczos4 (Sharp)
fft3dfilter(sigma=2,plane=4,bw=32,bh=32,bt=3,ow= 16,oh=16,sharpen=0.6,ncpu=2)


Thanks for any suggestions. This is a nice and sweet movie that i like, so i want to do a good job ...