VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    Hi,

    this out of sync has happened before several times, when I've converted windows media clips to xvid, just to make them playables by my standalone.

    I usually demux the wma with virtualdub-mpeg2 and convert it to mp3 with dbpower music converter. But I think it's the same if I use besweet or any other audio program. The thing is that the audio is out of sync now and then and I can't find an explanation.

    This last time the wma audio was 44100Hz and 64kbps and I converted to mp3 44100Hz and 112kbps. The result was out of sync.

    Thanks in advance.
    Quote Quote  
  2. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    Is the audio variable bit rate in either the WMA or MP3 file? VBR audio can cause sync problems.
    Quote Quote  
  3. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    I've converted to mp3 CBR.

    I don't know if the original wma is vbr or cbr. Virtualdub-mpeg2 doesn't say anything.
    Quote Quote  
  4. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    The creator has stated that although Virtualdub-MPEG2 will open WMV, it may cause sync issues because most WMV has Variable Frame Rate .

    It's best to convert these files to MP3 AVI using TMPGEnc. You'll probably need to drag and drop the file into TMPGEnc. At least in my version you do.
    Quote Quote  
  5. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    Originally Posted by DarrellS
    The creator has stated that although Virtualdub-MPEG2 will open WMV, it may cause sync issues because most WMV has Variable Frame Rate .
    Is the video that has Variable Frame Rate or the audio? Just to know if the responsible for the out of sync is the video conversion or the audio conversion process.
    Quote Quote  
  6. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    This usually works for me in PAL land. Letterboxes a WMV clip for viewing on a standard 4.3 TV.
    If the clip is of a small aspect, say 320x240, final results can be a bit ordinary.
    Probably need to throw a couple of filters at it to help.

    Create an AVS script from the lines below and feed it to virtualdub. Use the output AVI for further processing.

    directshowsource("clip.wmv", fps=25, convertfps=true, audio=true)
    lanczosresize (640,480)
    addborders(40,48,40,48)

    For NTSC (I think)

    directshowsource("clip.wmv", fps=29.97, convertfps=true, audio=true)
    # maybe: directshowsource("clip.wmv", fps=23.976, convertfps=true, audio=true)
    lanczosresize (640,480)
    addborders(40,0,40,0)

    Not too sure about NTSC. Havn't tried it.
    Quote Quote  
  7. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    Thanks a lot. I'm going to try one of these scripts.

    Just one question about the audio:

    I suppose you demux it before and convert it to mp3 using some program and mux it at the end.
    Is it important to use some specific program for the conversion or it doesn't matter, because it's not the audio that causes the out of sync problem and there's nothing to worry about?
    Quote Quote  
  8. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    To keep it simple, you may want to give Alltoavi a try.

    Cheers
    They that give up essential liberty to obtain a little temporary safety deserve neither liberty or safety. (Benjamin Franklin).
    Quote Quote  
  9. Member
    Join Date
    Apr 2007
    Location
    Australia
    Search Comp PM
    Hi.
    Not sure what your 'standalone' is that you refer to in your first post. I tend to rip the audio from the AVI as an AC3. If you wish to rip as an MP3 then that's not a problem. Go here http://www.users.on.net/~pcspeak/batchbits.html and you should find a batch command to do the job. A current version of BeSweet will be handy.
    Read the 'Explain my batch files' at the top of http://www.users.on.net/~pcspeak/ to see what is installed on this PC. I find that combo or progs ( or something a little more up to date) handles most things. Luck.
    Quote Quote  
  10. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    It's being pretty hard to get a good result. No success so long.

    I used this script in VirtualDub:
    directshowsource("clip.wmv", fps=29.97, convertfps=true, audio=true)
    The result was out of sync.

    Then I used Alltoavi and the thing it gave me was not out of sync, that was good, but the codec wasn't right, it wasn't even watchable on the windows player, only using other software players and with a very poor quality. I had chosen Xvid, but mpeg4modifier said: Lavc50.0.0. Never heard before. Besides the fps was:1000fps I tried chosing Divx in Alltoavi and same result.
    Quote Quote  
  11. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    If you're going to use a script, check the other threads for one that says "assume fps"...

    or you can use the option that I stated earlier using the freeware version of TMPGEnc.

    http://www.tmpgenc.net/en/e_main.html

    Here is a guide on how to drag and drop the file in TMPGEnc





    Quote Quote  
  12. directshowsource("*.wmv", fps=25, convertfps=true, audio=true) worked for me finally. Otherwise VirtualDubMod shows e.g. frame 45079 in one place (0:30:03.160) but - when encoded - the same frame (on scene change) appears as frame 44867 (6 seconds earlier). What is so special which makes a frame during display appear in one place and during encoding in another is something beyond me. It is the same directshowsource. Why it fails to framserve the very same frame at exact position where it appears without some FPS conversion? While the audio is framserved corectly!
    Cann't tell it's possible don't tell anything.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!