VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. Is there a way to convert .ogm to .avi?
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    OGM files tend to use vorbis audio, which avi can't handle

    Personally I would suggest mencoder. The commandline would be something like:
    mencoder.exe -oac mp3lame -ovc copy input.ogm -o output.avi

    That is assuming that you want mp3 audio. -oac help for other format options like pcm.

    Also check out hte conversion guides.
    Quote Quote  
  3. Cant I just rename the file to .avi?
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Sure you can, but it doesn't make it an avi. Just like renaming an mp3 to .wav doesn't make it a wav.
    Quote Quote  
  5. How about deleting some files in the video. I have 2 audio streams and 1 media file text stream. 1 that is english and 1 that is in japan and the text audio stream says that it is in japan. Is there a way to delete the japan and the english audio streams for me to be left with the 1 media text stream for me to be able to convert that to .avi?
    Quote Quote  
  6. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    The above will direct stream the video and convert one audio stream. The subs as far as I know will just be ignored. For multiple audio streams you can use -aid # to specify which you want to keep and for the subs you can demux them with ogmdemuxer. You could also use VirtualDubMod to extract audio and subs and also to remux the video to avi.
    Quote Quote  
  7. This is getting so confusing already...... Ok. I want to remove the subs, the japanese language, and leave the video file and the english audio. Is there a step by step instructions to do this and then change it to .avi?
    Quote Quote  
  8. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    mencoder.exe -aid # -oac pcm -ovc copy input.ogm -o output.avi

    I don't know which audio stream is the English one.

    All you need to do is grab mencoder (comes with mplayer) and run the above command with the correct # for aid or if the audio is tagged then -alang eng. This will give you an avi with just the English audio, it will however be quite a bit larger then the ogm as the audio will be PCM, but if I understand correctly you are going to convert to DVD anyway.

    If you want more detailed instructions, as I said check out the conversion guides.
    Quote Quote  
  9. Im doing what you told me. There is an error or somehting on this part...

    Code:
    1. Select the audio track you want to keep again
    2. Click Save WAV to convert it to mp3, ignore that it says WAV, save it as track2.mp3
    3. Select the subtitle track
    4. Click Demux to save it as video.srt/sub
    On #4. When I try to save it as "video.srt/sub" it then gives me an error. What should I do?
    Quote Quote  
  10. A simple way to convert .ogm to AVI is to open up the ogm file with VirtualDub and save the video as a type 1 or type 2 DV AVI file. VirtualDub will give you an error mssg because the audio can't be exported, since it's typically in ogg vorbis format. Ignore the error message.

    Now you've got a type 2 DV AVI file with no sound. Export the sound from the ogm file to a WAV file by opening the ogm up with Sound Forge and choosing SAVE AS WAV. You'll probably have to sample-rate convert the WAV file too, since the ogms I've dealt with used 44.1 khz instead of 48 khz, so if you want to make a DVD out of it you must convert the WAV file to 48 khz after you export it.

    You can then multiplex the audio and video parts of the DV AVI file using Adobe Premiere or Ulead Media Studio Pro, etc. to get a single DV AVI file with audio track.
    Quote Quote  
  11. Originally Posted by xXGokuXx
    This is getting so confusing already...... Ok. I want to remove the subs, the japanese language, and leave the video file and the english audio. Is there a step by step instructions to do this and then change it to .avi?
    This is really easy. Start VirtualDubMod. Open the .ogm. Click Video - select direct stream copy. Click streams - stream list. New window will open with two audio and 1 subtitle stream. Click onto Japanese stream to mark it and right from the window click "Disable". Do the same for the subtitle steam. Right click on the english audio and select Direct stream copy. Click OK.
    Click file - select save as. In the new window give a name to the file select the type (OGM or MKV!) and click save. After several minutes you will have an .ogm with video and english audio stream.
    Have fun!
    Edit: If you want to have it like .avi you should reencode the vorbis (.ogg) audio to mp3 audio and multiplex them again with VDubMod.
    Quote Quote  



Similar Threads

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