Log in

View Full Version : convert ogm to avi


flashcabaja64
21st January 2004, 00:49
how do you convert an ogm file to a avi file or mpeg file?

timecop
21st January 2004, 03:11
since i dislike ogm, I'll tell you.

1. start vdubmod
2. drop OGM (shitty) in it
3. ignore errors about vfw/xvid if you dont have that shit installed
4. determine type of audio (streams/stream list)
5. if OGG (shitty) audio, goto step 6 else goto step a
6. demux OGG (shitty) audio (select track to demux, click demux)
7. use some utility to re-encode OGM (shitty) into cbr MP3 (good)
8. "disable" the OGM (shitty) track (click disable button)
9. "add" MP3 (good) track
a. close streams dialog box
b. goto video menu and make sure to set it to "direct stream copy".
c. goto file/save as, choose AVI (good) as file type, and give it a name.
d. watch it work.
e. hatefully delete OGM (shitty)
f. watch AVI (good)

flashcabaja64
21st January 2004, 07:08
do you know how to do it with subtitles?

bond
21st January 2004, 08:13
first of all i have to say that if you dont really need AVI (eg for a standalone) i would stay with OGM

ogg vorbis is a far superiour audio codec than mp3, not to speak of that you will loose quality if you reencode to mp3

for the subtitles, normally AVI cant hold subtitles but alexnoe found a hack to do so with his avimux-gui (no standalone will support this tough)

mikeX
21st January 2004, 19:04
avi sucks
mp3 sucks
-->
timecop sucks
:devil:
sorry but i couldn't help it...

Belgabor
21st January 2004, 23:44
Please guys, remember the good manners your mum (hopefully)taught you.

JackParis
26th January 2004, 16:43
Originally posted by flashcabaja64
do you know how to do it with subtitles?
with vdubmod, open stream list: you will see the sound track(s) and the subtitle(s)
select subtitle, and click demux : an externel file with the subtitle will be generated.
use it as you wish.

addictarmy
5th February 2004, 20:21
with vdubmod, open stream list: you will see the sound track(s) and the subtitle(s) select subtitle, and click demux : an externel file with the subtitle will be generated.
use it as you wish.

NOTE: when I do this the file is an srt subtitle file.
What I do next is transform it to an ssa file using srttossa converter than use the subtitler plugin for vdub to add subtitles to the avi.

alexnoe
6th February 2004, 23:39
Why would you want to destroy the file by adding hard coded subs??? What's wrong with soft subs?

addictarmy
7th February 2004, 03:09
the media player for the ps2 will not recognize soft subs so I have to make them permanent ;)
don't want to do the extra work, just don't have a choice.

Booji Boy
19th February 2004, 17:37
Originally posted by bond
first of all i have to say that if you dont really need AVI (eg for a standalone) i would stay with OGM

If he needs an AVI for some reason, he needs an AVI. Maybe to play the movie on a machine with no OGM support, and on which he is not able to install it.

draggoon01
11th March 2004, 23:14
is there a reason vdubmod itself can't re-encode ogg to another codec like mp3?

addictarmy
11th March 2004, 23:20
um ... because vdubmod doesn't do audio conversion.
it can demux the audio to whatever format the audio is in, or save the audio to a wave container but that's it.
You have to use other programs for conversion.
Most people here use Besweet.
I like dbpoweramp music converter but that's just personal preference.

draggoon01
11th March 2004, 23:41
but vdub can re-encode stuff. you can re-encode the audio/video to any other codec that's supported.

if there were some a ogg acm?/filter? en/decoder would that work? or is there something inherent in ogg vorbis that doesn't allow this?


basically i'm wondering why ogg isn't treated like any other audio codec by vdub

timecop
12th March 2004, 02:03
because its a crappy codec with no future.
and the programmers are too busy porting it to beos to write a windows acm decoder for it.
i dislike ogm as much as the next guy, I wish people would stop using it, it provides zero additional features over AVI (when muxed using AVIMux GUI or something similar) and has higher overhead, etc, blah blah, you heard it.

bond
12th March 2004, 10:15
:search: this was discussed already 1000 times

ogg vorbis is one of the best audio codecs around and this was independentaly proven
and its a 100% free format

draggoon01
12th March 2004, 19:46
when i set to audio full processing mode, the avi gets saved without audio. but when i go to streams menu and save as wav, the file gets save as the mp3 i wanted.

why is audio missing? the faq only addressed this question for 1.4.x version and some ogm input menu.

alexnoe
12th March 2004, 19:50
ogg vorbis is one of the best audio codecs around and this was independentaly proven
and its a 100% free format'The Best' is obviously wrong, because 'The Best' is only a valid expression if all items of the set you speak about are comparable to each other, and if there further is a complete order defined over the set. I wonder how you intend to define a complete order over audio formats....

Try to remember some stuff you've learned in Linear Algebra :devil:

bond
12th March 2004, 19:54
well i didnt say its the best, i said its one of the best :p

alexnoe
12th March 2004, 19:56
OK ... 'One of the best' assume there is a set of best audio formats which is not empty...OK, you don't need a complete order for that; a partial order is enough :p

archy121
2nd October 2004, 17:47
Hello,

I have a whole load of files in OGM format that i would like to convert to AVI so that i can than burn & watch on my new hardware divx player.
The discribed method works fine but i have like over 50 files to convert.

Anyone now of a script or other method to automate the process ??

Your help will be greatly appreciated

Thanks


Archy

celtic_druid
3rd October 2004, 05:54
for %%f in (*.ogm) DO ("path\to\mencoder.exe" -aid ? -oac mp3lame -ovc copy %%f -o %%~nf.avi)


Use -aid if there are multiple audio streams to specify the one you want.

Probably also want to throw in -lameopts abr br=??? or something like that.

Above assumed you wanted mp3 audio

It will go through a directory and convert all the ogm's in it.