View Full Version : OGM to AVI
rattlehead
6th April 2002, 23:28
I recently downloaded a small .ogm video but the audio is out of sync.
How do I either fix the audio in the OGM or convert to AVI to fix the sync?
Thanks.
ChristianHJW
7th April 2002, 00:52
If this is an OGM it will very likely contain Vorbis audio, so transmuxing this to AVI is for sure a no-no ... in fact you are the first to report about severe sync issues with Ogg container .... unless your movie does contain some strange audio codec that wasnt tested.
Try to download GRaphedit from doom9 downloads section, install it and render your OGM movie in it .. use the 'render media' function .. how is your graph going to look adn what elemts have been loaded ?
wing1
7th April 2002, 03:26
So basically once you comitted to ogm u can not go back? If that is the case how do you change the fourCC in the video?
wing1
7th April 2002, 04:54
I did a search on this forum for a way to get back the video from the OGM format, and lo and behold the answer is there :D
Here is how I did it.
1. Install the latest OGGDS filter version 0.9.9.0 ( get it from Doom's Download ).
2. Get GraphEdit ( also from Doom's Download )
3. Launch GraphEdit and use FILE-RENDER MEDIA to load the ogm file.
This is what you will get when you do that:
file.ogm -> ogg Splitter video(0)-> codec video decoder -> video
audio(1)-> vorbis decoder -> sound
4. Remove the video decoder, video render, and default dirtect sound. Leave the vorbis decoder there.
5. Click on the blue filter box and choose directshow Filters.
6. Pick AVI Mux, and File Writer.
file.ogm->ogg splitter
video(0)----------------------->input(01)AVI Mux->file.avi
audio(1)->vorbis decoder (PCM)->input(02)
input(03)
7. Here is the ticket to the sound. You have a choice of leaving the sound as uncompress PCM wav or re-encode it to MP3 ( your choice ). If you want MP3 then select MPEG LAYER 3 filter from the AUDIO ENCODER filters and insert it between the vorbis decoder and AVI Mux box.
file.ogm->ogg splitter
video(0)----------------------->input(01)AVI Mux->file.avi
audio(1)->vorbis decoder (PCM)->MPEG Layer 3->input(02)
input(03)
8. Press the green play button and wait for the AVI.
9. The AVI i got back play perfectly in WMP without a glitch.
Neo Neko
7th April 2002, 07:41
Yep that is how it is done. Where is eveybody downloading these OGG clips? I have not seen any for download anywhere. Except for my personal ones.
wing1
7th April 2002, 08:16
I don't download. Just making sure that I can retrieve my own video/audio from the ogm that i've created ( just in case :D ).
Now if some genius coders are willing to put all that into a GUI and the demuxing will be a snap then :D
Furthermore, If they also willing to automate the process of extracting the mp3 from existing AVI and convert it over to vorbis format would be very nice indeed :D
Koepi
7th April 2002, 09:02
**** ***! (all censored :P )
I won't, won't, won't code demux.
EDIT:
further rants deleted.
Please stop bugging for a demuxer.
Doom9
7th April 2002, 11:47
this method re-encodes the audio, thus lowering quality. Why would you want to do that ever? If ogm works on your pc there's no reason to ever go back is there?
rattlehead
7th April 2002, 17:04
I was able to convert to avi, however I found that none of the audio matched anywhere. The audio was not out of sync, the author must have used the wrong audio stream. Thanks for the help.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.