VideoHelp Forum




+ Reply to Thread
Results 1 to 30 of 30
  1. I use to be able to convert ogm to vcd no problem, but I haven't for a while and forgot some of the steps.

    My problem lies when I try to extract the video from ogm to .avi format (using virtualdubmod), after I load the ogm file and select 'direct stream copy' and go file/save as *.avi it saves, but when I play the .avi again, the audio is extremely out of sync.

    What step am I missing here? What's causing this? I think I may have missed something.

    I know how to extract the audio and subs from an ogm using virtualdubmod

    I have all the proper codecs and the ogm file plays fine

    But I can't seem to convert the ogm to .avi using virtualdubmod anymore

    I'm 99% sure that's the way I use to do it too, but it doesn't seem to work anymore

    Ideas?

    I'm using tempenc plus to encode to mpg and even then the audio for the converted mpg is out of sync as well

    thanks a lot!
    Quote Quote  
  2. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Not sure if this will work but try disabling the audio and sub streams(if present) in stream list before saving as avi. That way it will just be the video only. Then save the audio to wav using full processing mode. Use the wav file as the audio source in TMPGEnc.
    Quote Quote  
  3. hmm i tried what you suggested, but when i attempted to encode from .avi to .mpg using seperate audio and .avi files under tmp

    the audio is still out of sync?



    i have no idea why!

    the ogm file plays fine itself w/ audio in sync

    but when i try to save the ogm to a .avi file using virtualdubmod the audio is whacked up
    Quote Quote  
  4. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Does the length of the wav file match that of the video?
    Quote Quote  
  5. hmm, you shouldn't have to convert the video to avi using virtualdub.

    just rename the file ogm to avi. that way you won't have any audio synch problems. encode the audio and video separately.
    Quote Quote  
  6. Originally Posted by dafreak
    hmm, you shouldn't have to convert the video to avi using virtualdub.

    just rename the file ogm to avi. that way you won't have any audio synch problems. encode the audio and video separately.

    I did this and tried to open the 'avi' under tmpeg, but the thing just crashes on me. Am I using the incorrect codecs?

    this is really frustrating (since it worked before >.<), is there a simplier, fail safe method?

    I just want to convert the ogm to mpg or ogm/avi to mpeg.

    PS: I think the audio may be off by 1 second, but it seems fine
    Quote Quote  
  7. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Originally Posted by barqy
    but when i try to save the ogm to a .avi file using virtualdubmod the audio is whacked up
    I suggested you save as avi without audio. Once you have your video only avi file, open the ogm with Vdubmod again and go to stream list, right click the audio stream and select full processing mode, then click save wav. Open TMPGEnc and use the avi(without sound) as the video source and the wav file as the audio source.
    Quote Quote  
  8. Originally Posted by teegee420
    Originally Posted by barqy
    but when i try to save the ogm to a .avi file using virtualdubmod the audio is whacked up
    I suggested you save as avi without audio. Once you have your video only avi file, open the ogm with Vdubmod again and go to stream list, right click the audio stream and select full processing mode, then click save wav. Open TMPGEnc and use the avi(without sound) as the video source and the wav file as the audio source.
    ''


    Hi, I did this as well, saved the .avi w/o sound and just use the extracted sound file to encode (while using tmpeg)


    The sound (believe it or not) is STILL out of sync.

    Is it some sort of setting in virtual dub I may have messed up?
    Quote Quote  
  9. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    How bad is it out of sync(in your estimation)? I think maybe the audio and video durations don't match. Maybe something happened to the audio when you demuxed it. What, I have no idea. Open the soundless avi in Vdubmod and go to File>File information, then compare it to the length of the wav. You'll probably have to just play it in your media file player. If the audio length doesn't match the video it can probably be fixed.
    Quote Quote  
  10. First off, thanks a lot for your suggestions teegee~!

    Anyway, I checked the sound file 1:02:11


    Opened up the soundless avi file: 1:02:12:48

    Slight discrepancy.

    Here's what I get when I open the SOUNDLESS avi

    Quote Quote  
  11. Here's what I get when I open the OGM file

    Don't know if it will but but anyway....

    Quote Quote  
  12. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    So it appears the durations don't even match on the original OGM. How strange is that?

    There are a couple of things you can do. Let's focus on the easier method first. Open the wav file you made with Goldwave. Go to Effect>Time Warp and change the length to this value:
    Originally Posted by barqy
    Opened up the soundless avi file: 1:02:12:48
    Save as a new wav and try using that one as your TMGENnc audio source.
    Quote Quote  
  13. I think it worked! I encoded a couple minutes and the audio seemed in sync!

    Goldwave is awesome!

    Thanks a lot for your help teegee!
    Much appreciated.


    I wonder why the audio got messed up along the way though eh


    Cheers



    edit: im going to attempt to encode the entire avi to mpg and I'll see how that goes, so far so good though
    Quote Quote  
  14. aww, I finished the encoding, still no go.

    The sync gets progressively worse and worse as the film goes on, albeit slightly....but noticiable.

    It seemed to work fine in the beginning bits


    sigh...


    any other suggestions teegee?
    Quote Quote  
  15. i think your problem is the sampling rate.
    use goldwave to resample to 44100 mhz.

    I hope that you're not doing any framerate conversions either.
    Quote Quote  
  16. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    According to the Vdub file info the source is 23.976fps. It might be necessary to adjust the wav to match the destination frame rate(29.97). Besweet can do this. Goldwave doesn't have any built in frame rate conversion presets.
    Quote Quote  
  17. According to the Vdub file info the source is 23.976fps. It might be necessary to adjust the wav to match the destination frame rate(29.97).
    there's no real need to change the framerate to 29.97. I would leave the framerate as is and resample the audio to vcd compliant 44100. the sample rate is probably the reason why the audio is gradually losing synch.
    Quote Quote  
  18. Thanks!

    Should I do this with the .wav file that I have changed the length to match the video?

    or the original one I extracted (which doesn't match the length of the video?)


    And when i'm resampling, I just go to effect/resample and manually enter the desired numbers, correct?

    thanks a lot for your ideas

    cheers
    Quote Quote  
  19. I would do it with the original audio file and then make adjustments if audio is still out of sync.

    yes click on effects, sampling rate, there should be a pulldown menu that has a list of sampling rates to choose from. select 44100 mhz.
    Quote Quote  


  20. This method finally work! the audio is in sync!

    Thanks for all your help teegee and freak


    Cheers~


    here's a slayer from me to you

    Quote Quote  
  21. cool, glad you got it working.
    Quote Quote  
  22. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    I guess we can chalk the problem up to TMPGEnc's poor sampling rate conversion. Excellent tip, dafreak!
    Quote Quote  
  23. hah teegee I was bout to ask you the same question... well almost the same. I tried loading the ogm in tmpengc and it gave me that ACM error again, so I loaded the ogm in vdub which didn't support it so I went to vdub mod, it loaded fine it vdub mod but I have no audio tab at the top..
    Quote Quote  
  24. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Vdubmod works a little different. You can find the audio streams in Streams>Stream List. You need to right click the audio stream(s) in order to set full processing mode.
    Quote Quote  
  25. Bah the movie i'm vcding is 2 hrs long right ? So I vcded the first hr and did the same for the 2nd hr, but the 2nd one is outta sync should I try the same process as mentioned above ?
    Quote Quote  
  26. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    I don't know, dude. You think the DVD Gods are trying to send you a message? There are lots of things you can try. Take your pick. You could also try encoding the whole film and then split the mpeg afterwards. Exactly how did you encode one half at a time? Did you split the movie or did you use the source range feature in TMPGEnc?
    Quote Quote  
  27. Yeah I did the source range.
    Quote Quote  
  28. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Originally Posted by StoneColdWhat
    Yeah I did the source range.
    I think you would be better off encoding the whole movie and splitting the sucker up afterwards. I've never trusted source range when it comes to mpeg-4 video. You never know how many key frames it was encoded with.

    If I absolutely had to I would frameserve with Vdub. At least that way you can cut on key frames for sure.
    Quote Quote  
  29. AH the splitting works, that was the next thing I was gonna try actually. Seems like whenever I don't check the files they end up faulty :S Thx.
    Quote Quote  
  30. Member teegee420's Avatar
    Join Date
    Dec 2003
    Location
    Southern California
    Search Comp PM
    Originally Posted by StoneColdWhat
    AH the splitting works, that was the next thing I was gonna try actually. Seems like whenever I don't check the files they end up faulty
    That ought to lean ya! Glad you got it worked out.
    Quote Quote  



Similar Threads

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