Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Advanced Video Processing > Parcial Sond And Image Sincronization


Posted by: angikas Oct 15 2011, 08:39 PM
I have one AVI file where the sound became unsincronized after some minutes. How can I fix it ?

Thanks

Posted by: malky Oct 15 2011, 09:54 PM
Assuming the first part is in sync and the remainder is out of sync (by a constant amount).

Load the file.
Scrub to the end of the synced part and select it with the flags.
'Video' > 'Smart Rendering'
'Video' > 'Compression' and select the same codec as the source (XviD?).
'File' > 'Save as AVI..' - name it p1

Delete the selected part (Del key).
'Audio' > 'Interleaving' > 'Audio skew correction', insert 500 or -500 and play the clip.
Refine the skew value until the clip is synced.
'File' > 'Save as AVI..' - name it p2

Exit and restart VirtualDub.
'File' > 'Open video file' and select p1.avi
'File' > Append AVI segment' and load p2.avi.
'Video' > 'Direct stream copy'
'File' > 'Save as AVI..'

You may be able to use 'Direct stream copy' instead of 'Smart Rendering' for the video, if you can select on key frames.





Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)