When converting a wmv file to avi the av desyncs. Could this be caused by the wmv having variable framerate and the audio and video not being the same length? In other words, is it possible that I'll have to fix both problems to sync the av rather than just having to fix one? If this is the case what's the best way to do this?
Thanks in advance.
+ Reply to Thread
Results 1 to 13 of 13
-
-
Usually VBR video doesn't cause sync problems, but VBR audio does when encoding. Drop the AVI into VirtualDub or VD Mod (My favorite) and check the lengths of both audio and video.
Two common types of sync problems, the audio has the same amount of sync error throughout the video. Or the sync drifts off and is worse at the end of the video. The first can be fixed by changing the offset. VD can do that. The second would need to have the running time of the video or the audio adjusted. This is more common with VBR audio. Neither are that easy to get right, so it's something to avoid in the future.A third problem can be dropped or corrupted frames and that can cause a combination of the above problems. Hard to fix.
And what are you using for the conversion? That may have a bearing on the sync problem. -
Originally Posted by redwudz
Originally Posted by redwudz
Originally Posted by redwudz -
use graphedit and build a graph.
the file will come out double the framerate.
run it thru v-dub
and process every other frame
to get rid of all the extras
it works ive done it
its the only way to do it
i found if you cant figure it let me know ill leave more detailed description -
Originally Posted by chucklee
Originally Posted by chucklee
Thanks for your help -
yes it makes it constant framerate.
i have done some videos this way after trying every other way
it took me a few tries to get it right but it worked
i will upload a sample graph and screenshots of the steps for u later -
okay here it is
first load yer wmv in graphedit
it will look like so..
then add from audio compression mp3
from video compression xvid
from directshow source avi mux and file writer
when you add file source make sure you name it thenameyouwant.avi
you have to put the .avi
it will look like so
now connect them so they look like so
now hit play and let finish
when its done load in virtualdub
and if you notice in file information the video is now twice the length of the audio
sort of like this...
this is because there are dropped frames
dont know why there are if anyone knows i'd like to know myself
then pick video and framerate and chose process every other frame
make it direct stream source for processing type
the result will be an in synch x-vid avi file with mp3 audio
let me know if this works for u ok if any problems let me know
ill walk u thru -
Thanks, I'll try it and see if it works. I've spent a helluva lot of time trying to figure this one out. It's kinda fun messing around with different programs, filters, codecs etc. and learning new stuff but it's frustrating when you never end up with the "end product"
I'll let you know if it works -
It hasn't worked
I've managed to get the beginning and end of the file in sync but not the middle (same as before). I had to alter the source framerate (I'll call it sf) before re-encoding because VDub was outputting a file with a framerate ~2 times too big and duration ~half the size it should've been. I fixed this by doubling the sf but the av wasn't quite in sync so I kept altering the sf until the av was in sync at the beginning and end of the file. Unfortunately, when I succeeded I found the middle wasn't in sync
Have you got any more suggestions? I have a theory about altering audio delay as well as audio or video length to make the whole file in sync but I think that would be a very difficult method to use.
-
what is the source of the file ?
do have a sample or something i can look at or work on let me know -
I downloaded the file with Azureus using a torrent. I have another copy of the file but with a lower resolution and bitrate which won't keep sync when converted to avi. I tried downloading the newer file hoping the original was corrupted but I'm having the same problems.
-
I don't know if this has any relevance but it just occured to me that you should know the codecs used in the wmv file are wmv1 & wma2.
-
i sent u personal message w/my email
send me the torrent and ill see if i can work it out
Similar Threads
-
Samsung BD-D5500 Audio/Video DeSync During MKV Playback Over USB
By Anonymous8443434 in forum DVD & Blu-ray PlayersReplies: 10Last Post: 11th Jul 2012, 21:34 -
Various audio durations to video
By mrcoolekin in forum AudioReplies: 3Last Post: 17th Jun 2012, 18:41 -
Cause of A/V sync and how recognize when a video has VFR and audio has VBR?
By Stb1990 in forum Newbie / General discussionsReplies: 3Last Post: 18th Apr 2010, 20:05 -
Converting vfr-avi to cfr-avi that produced error in picture.
By Jo The Veteran in forum Video ConversionReplies: 27Last Post: 1st Aug 2007, 23:41 -
WMV video and audio slightly out of sync on conversion to AVI
By Calidore in forum Video ConversionReplies: 8Last Post: 10th Jul 2007, 08:48