Hi folks,
I have a recording, and near the beginning there are two parts where the picture gets distorted quite badly, but it recovers for the rest of the video.
I'm running an Avisynth script with VirtualDub 2 to deflicker and clean up the video, however when it hits those parts, and I view the video after processing, the audio and video are out of synch for a few seconds for the rest of the entire video. The video is about 80 minutes long.
Is there a way to fix audio/video synch issues or do I just cut out the bad parts ? Because the rest of the video looks good.
Thanks for any help.
+ Reply to Thread
Results 1 to 8 of 8
-
-
You need to post your script so we can see if there are any operations which might cause the audio to go out of sync. Using something like Deflicker() should not affect sync, but if you change the frame rate then, depending on how that is done, you could lose audio sync.
-
Use AudioTrim() to select sections, then append them together to lengthen the audio stream. Then use AudioDub() to join the new lengthened audio to the original video.
-
Thanks to you both. Will try some things, and revert back if still not successful.
-
You can also use Trim() if you prefer to trim the audio by video frames (instead of AudioTrim() which trims by time).
Note that trimming with either may leave audible clicks at the trim points. To avoid these you'll need to overlap parts and use dissolve() to crossfade the audio. -
SOLVED:
I had no audio source in my Avisynth script, as previously in VirtualDub2, I went Audio-Audio from other file...
I added the audio source, just below the video source, and works perfectly fine.
Strangely enough, it worked previously on a couple of videos, when I chose the former route. However just glad it works now. -
With some source filters both audio and video will be loaded automatically. Others source filters require separate loads. For example an AVI file opened with AviSource() will get both audio and video. But the same AVI file will require both LWLibavVideoSource() and LWLibavAudioSource() to get both when using LSMASH.
Code:AviSource("filename.avi") # both video and audio are loaded as "last"Code:a = LWLibavAudioSource("filename.avi") # a is only the audio v = LWLibavVideoSource("filename.avi") # v is only the video AudioDub(v, a) # joins the audio and video together as "last"
Similar Threads
-
Why does your system have audio/video sync issues?
By Will Hay in forum Capturing and VCRReplies: 65Last Post: 15th Sep 2024, 02:15 -
Audio/video sync issues when digitizing VHS tapes
By Dawgsfan in forum Video ConversionReplies: 2Last Post: 14th Mar 2024, 14:42 -
MultiAVCHD video/audio sync issues
By jond in forum Authoring (Blu-ray)Replies: 0Last Post: 20th Apr 2023, 21:12 -
Audio/video sync issues with mp4.
By toomanyblastedbits in forum Video ConversionReplies: 5Last Post: 20th Apr 2023, 19:06 -
Audio and Video sync issues with both Constant and Variable Frame Rate
By atomicBRblaster in forum Video ConversionReplies: 6Last Post: 12th Apr 2023, 15:29



Quote