Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Mpeg To Avi Audio Sync Problems, issues withs audio sync
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
derfaust
Posted: Sep 14 2002, 09:31 PM


Unregistered









ok.....i have been using virtualdub for a little over a year...never a problem till this.....
i have been having issues with audio sync when coverting MPEGS to AVIs...

when i load an MPEG into virtualdub(i am using the latest release) and then convert it to an AVI the audio is way out of sync...it will not even preview right...

not sure what i am doing wrong.....i think it might have something to do with the frame rate...but i dont know why it would be different....PLEASE HELP......THIS IS DRIVING ME CRAZY!!!!

the HUGE mpegs are in perfect sync when viewed, but i want to be able to turn them into AVIs......saving valuable space

is there a way to make the two stick together like glue?

 
  Top
Neo Neko
Posted: Sep 14 2002, 11:18 PM


VirtualdubMod Alpha tester


Group: Vdubmod Alpha Testing Team
Posts: 474
Member No.: 24
Joined: 11-July 02



Virtualdubs MPEG parser works. But it has quirks. It seems not to know what to do with accidentaly or purposefully dropped frames. Instead of displaying the last frame over again it jumps to the next non-dropped frame.

This is a bit convoluted, but it works. If there is no delay in the audio in the MPEG you can open the MPEG in Virtualdub and use the File->Save Wav feature to extract the audio. Now assuming you have avisynth installed create an avi synth script with the line directshowsource("my.mpg") inside. You could also add in the audio there as well. But we will do that in Virtualdub instead for now. Open the AVS file in virtualdub. Under the audio menu select WAV source and then the WAV we saved. Configure your settings and then go. Assuming we are dealing with something as tame as dropped frames this will fix it. As instead of using Vdubs MPEG parser we are using the directshow one.
 
     Top
derfaust
Posted: Sep 15 2002, 08:02 AM


Unregistered









i see....i will try.... but i only understood like half of it....i just have never messed with avisynth....but i like to learn new things so.........biggrin.gif ....

but if you could give me a better/more detailed explanation that would be cool too....

i really appriciate your help....and any more information would rule...

danke,
derfaust
 
  Top
derfaust
Posted: Sep 15 2002, 09:08 AM


Unregistered









well i tried it....

i made a script file with the line
directshowsource("C:\Documents and Settings\XLderfaust\Desktop\New Folder\Noname02.mpg")..

which is the location...
that is the only line i added in there...


the file was still way out of sync.....
the original MPEGs are in total sync...from start to finish...
am i using avisynth wrong?...it did open the video...

if you could help me set up a script that would be cool....i understand what it does....i just need to see a script for what i need...then i can figure out what does what(take it apart)....thanks....again

 
  Top
derfaust
Posted: Sep 16 2002, 03:07 AM


Unregistered









well....i found a way to make it work....i used FlaskMPEG....and was able to encode it to DivX without loss of audio sync....then i used virtual dub to finish it up....

so cool.....but i would like to learn more about avisynth...so let me know...
 
  Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
4 replies since Sep 14 2002, 09:31 PM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions