Log in

View Full Version : .OGM file to svcd?


Serpent
17th July 2002, 04:42
Hi

Can a .OGM file be converted to svcd using Dvd2svcd? Should i open it as an .avi file?


Thanks!

pepsimaxx
17th July 2002, 14:49
In order to open the file in DSVD2SVCD u have to change the file extention to .avi. DVD2SVCD can only open .IFO and .AVI files (as far as I know).

So u could try that and see if it work. I'm doubtfull however.

What does the file extention .OGM stand for? Nothing comes to my mind. :confused:

UltimateDBZ
17th July 2002, 14:51
Changing the extension will do little more than just simply that. It won't change the difference between the 2 file types. It won't work, sorry man.

Serpent
17th July 2002, 17:08
.OGM represents files where the audio is encoded in the Ogg vorbis instead of mp3. Here is some info:

BOUT OGG
=========
This movie has different audio from most other movies. Most movies use mp3 for
their sound. This one uses Ogg Vorbis. Perhaps you ask why? Well, Ogg is twice
as good as mp3. So a 64kbps ogg sounds the same as an 128kbps mp3, but is half
the file size. This means there's more space to encode the movie, or we can
have much better sound, or a bit of both!

Ogg is also patent-free and open-source! Ogg is equivalent to mp3pro but is
royalty free! Look out for Ogg hardware coming soon - portable players, OGG
compatible CD/DVD players, etc



HOW TO GET .OGM FILES TO PLAY
=============================
A file ending in .OGM is an OGgMovie file - .OGM is just a container that houses an avi
(divx) video datastream and a ogg vorbis audio datastream. (The .avi specs make it
impossible to house a .ogg audio datastream in a .avi filetype, so a new filetype was
necessary.)

To play .OGM files (which always have an Ogg Vorbis audio track) you have to install a
codec/filter:

Ogg Vorbis Windows DirectShow Filter:
- http://tobias.everwicked.com/oggds.htm

Ogg Vorbis Codecs/Filters for Linux/Mac may be found at:
- http://www.vorbis.com/download.psp

Once you've intalled the codec you can load your .OGM file into the player of your
choice. Or you can double-click it and windows will ask what program to associate
.OGM with - Just choose Windows Media Player (or whatever player you use) and tick
"Always use this program to open these files". Then everytime you double-click OGM,
it will automagically get loaded into WMP!


I was wondering if Dvd2svcd would be able to handle it.

pepsimaxx
17th July 2002, 19:44
Originally posted by Serpent
I was wondering if Dvd2svcd would be able to handle it.

That would up to the author of DVD2SVCD to support conversion of .OGM files. I have not enough knowledge so I don't know how difficult a task that would be.

ATM ur only solution is to find a way to seperately extract audio and video stream from the .OGM file. Then convert the Ogg Vorbis audio into mp3 and as a final step mux the video and mp3 audio together into a DivX file. Then u can feed it to DVD2SVCD.

How that can be done I don't know but I'm gonna have a look around. If u have some links pertaining to more info on this particular file format please post.

UltimateDBZ
17th July 2002, 21:31
Ogg is only an audio format, not a video format, and why would you have an entire movie's sound in an only audio format?

It's not gonna work with Ogg, and I doubt it will ever be supported, the file format isn't exactly popular.

pepsimaxx
17th July 2002, 22:34
Originally posted by Serpent
.A file ending in .OGM is an OGgMovie file - .OGM is just a container that houses an avi(divx) video datastream and a ogg vorbis audio datastream. (The .avi specs make it impossible to house a .ogg audio datastream in a .avi filetype, so a new filetype was
necessary.)

@UltimateDBZ,

As I read serpents posts the format .OGM is nothing more than a housing container. If it is possible to put into this container a audio datastream and a video datastream I would think it could be possible to extract them again.

But it's something that I haven't heard of before so I think it's interesting stuff that may be worth to look into.

UltimateDBZ
17th July 2002, 22:51
It certainly is interesting, but I wouldn't investigate it too much, as Ogg doesn't really have such a great future IMO...

Kb_cruncher
24th July 2002, 15:28
the ogm file can be split to seperate AVI and OGG(or whatever audio type the ogm holds)files using grapheditas follows.


filesource(asynch) filter joined with the oggsplitter filter,then join the avimuxer filter to thevideo pin of the oggslitter then the oggmultiplexer filter to the audio pin of the oggslitter then load the filewriter filter,name your avi and join it to the avimuxer filter.Load the filewriter again,name your ogg audio file then join it to the oggmultiplexer filter........DONE,now press the green play button,the splitting is finished when the button turns green again.
In order for this to work you need to have the vorbis directshow filters installed.

then you need to decode the OGG audio to wav then to mp3 and mux with the split AVI.

Now you can give it to DVD2SVCD.

avih
24th July 2002, 17:55
Originally posted by UltimateDBZ
Ogg is only an audio format, not a video format, and why would you have an entire movie's sound in an only audio format?

It's not gonna work with Ogg, and I doubt it will ever be supported, the file format isn't exactly popular.

@UltimateDBZ:
you say things as if you know them for a fact, while you don't, since u didn't check it thoroughly enough.

check out the faq at http://www.vorbis.com/faq.psp

Vorbis: name of an audio format (like mp3, or pcm, etc). it usually produces better results than mp3 with the same bitrate. can be used as bvr or cbr.

Ogg: name of a container format, like avi or (the future) mcf. it's a file format for containing audio and or video.

ogg and vorbis are the creation of a group called xiph. the term ogg-vorbis means a vorbis audio file inside an ogg container.

xiph recommend to use an extension of 'ogg' for all files of ogg container.

since in windows it's easier when an audio only file has a different extension than a/v file, ppl (users) have decided to use an extension of 'ogm' instead of 'ogg' when the ogg file contains BOTH audio and video.

cheers
avi

Trahald
24th July 2002, 18:53
ogg (ogm) is a great container format

its seek times in video are faster than the avi container. i recommend it even if you arent using vorbis audio (if, perhaps, you have ac3 audio)... especially if you are making a mode 2 (800mb) cd using it gives you greater ability to read a scratched cd

DeRoc
28th July 2002, 17:46
I wondered the same thing for a long time (stashing a few OGM files away on my HD) until I came across Dr. Mercury's explanation using graphedit.
I see that Kb_cruncher mentioned this in a previous message, so for a 'detailed graphic' illustration of this process, go to Dr. Mercury's website @ http://www.svcd.cc, look under 'Converting' and then 'Other formats'.

et voila! :p

P.S. I DID have to insert a PCM conversion filter when extracting from a PAL-encoded OGM because the WAV file wouldn't load properly (it wasn't a true PCM decode for some reason), but I didn't need it for another film encoded in NTSC format.

HTH.
DeRoc

jrumol
24th June 2003, 20:37
OK here you have a way to convert your ogm videos:

extract the video stream and the audio ogg files with the virtualdubmod.

Then download this program oggdropXPd (http://www.iespana.es/lucinap/oggdropxpd15es.zip) this is to convert the ogg file to wav... i havent found any program to convert ogg to mp2 directly :confused:

Now you have the video in an avi file and the audio in a wav file... i hope you know how to finish the work.
Ciao
JRRM

chainsaw135
24th June 2003, 20:59
weeeeeeeeeeeeeeeeeeeeeeeeeeeeee

onisama
7th July 2003, 23:51
Check out the addition I made to the sticky on avi file conversion (I think its the first sticky in the basic forum.

markrb
8th July 2003, 00:24
jrumol that is almost exactly the way I did it, but I was never able to get oggdropXPd converted files to work with DVD2SVCD correctly.

I ended up using the OGG plugin in Winamp to convert the audio after splitting the video and audio with Vdub.

It was a good deal of work and I try to avoid doing things like this now if I can.

Mark

Midnight Tboy
9th July 2003, 02:20
hiya,

I used the command line OGMDemuxer program and then wrote a batch script in order to get it to seperate the .ogg and .avi files from each other in one go. (handy if theres multiple audio streams etc inside the file)

if you want the batch then then just save this portion between the _____ (not including), as a .bat file in notepad.

________

c:\ogm\OGMDemuxer -a -p "%1"
c:\ogm\OGMDemuxer -a -p "%2"
c:\ogm\OGMDemuxer -a -p "%3"
c:\ogm\OGMDemuxer -a -p "%4"
c:\ogm\OGMDemuxer -a -p "%5"
c:\ogm\OGMDemuxer -a -p "%6"
c:\ogm\OGMDemuxer -a -p "%7"
c:\ogm\OGMDemuxer -a -p "%8"
c:\ogm\OGMDemuxer -a -p "%9"


_________

change the location of the ogmdemuxer.exe file accordingly. then all I have to do is drag and drop over up to 9 .ogm files at a time to the .bat file and it will deplex them all for me. hope that helps some people speed up time a bit.


From that, I'm using winamp disk writer plugin to queue up and write each of the .ogm files to .wav format ready for conversion to mp2.

Then, I made a 2nd .bat file in order to process all the selected audios again


_____

"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %1 -output %1.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %2 -output %2.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %3 -output %3.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %4 -output %4.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %5 -output %5.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %6 -output %6.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %7 -output %7.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input %8 -output %8.mp2 -logfile C:\Encoded_audio_1.log ) -ota( -g max ) -2lame( -e -b 160 -m s )

_________

these are a bit of a digression..but just incase anyone finds them useful.



Anyways, ideally I'd like to be able to convert direct from .ogg audio to .mp2 rather than have to go to wav first. I noticed that Besweet GUI allows you to choose the input file of a .ogg file, however when I try to encode .ogg to .mp2 audio it just crashes :( anyone any idea why it doesnt allow this, seein as the besweetgui seems to imply it is supported, else why allow .ogg selected for input?

hope someone knows how to get besweet to encode from an ogg input,

cheers,
Tuck

markrb
9th July 2003, 04:02
Oops I mis spoke when I said I used Vdub to split.
I did use Ogg demuxer I believe instead.

Mark

mordant
3rd September 2003, 15:04
Just wanted to say thanks for the GraphEdit guide above and the OGG decoder program...worked great and I was able to convert an ogm video to SVCD.

Thanks guys.