OGG Vorbis, OGM and XCD
OGG Vorbis, OGM and XCD
Hello,
All my latest movies are encoded in DivX5, put in OGM container and then burned as CD Mode 1 (XCD) but your excellent program cannot get the bitrate informations and audio informations with these files (.dat). I don't think it can handle OGM or OGG Vorbis container/audio streams as well.
It would be really nice if you could add this feature...
if you don't know about XCD:
http://webs.ono.com/usr016/de_xt
Thanks again for this more than perfect program ![/url]
All my latest movies are encoded in DivX5, put in OGM container and then burned as CD Mode 1 (XCD) but your excellent program cannot get the bitrate informations and audio informations with these files (.dat). I don't think it can handle OGM or OGG Vorbis container/audio streams as well.
It would be really nice if you could add this feature...
if you don't know about XCD:
http://webs.ono.com/usr016/de_xt
Thanks again for this more than perfect program ![/url]
In future versions I'll add support for ogm, rv9, mov, mpeg
Maybe not for 4.0 but for sure in 4.0.1 (well, I hope)
When the CD is an XCD, can it be accessed the same way than a normal CD when the required files are installed ?
I will have to try that, since I have one or two XCD at home (I wonder why I never tryed
)
Maybe not for 4.0 but for sure in 4.0.1 (well, I hope)
When the CD is an XCD, can it be accessed the same way than a normal CD when the required files are installed ?
I will have to try that, since I have one or two XCD at home (I wonder why I never tryed

When the required dshow filter is installed and the registry association for .dat is made XCDs are played exactly as any other movie by any dshow player so I guess you can fetch the informations the same way your are doing it with avi.antp wrote:When the CD is an XCD, can it be accessed the same way than a normal CD when the required files are installed ?
btw thanks for your reply, I look forward for seeing this 4.x release !
(if you need some tool to produce and burn XCD automatically (or not) I'm one of the contributors of DVX, a free opensource encoding program: http://www.planetdvb.net/dvx[/url]
Hi Antp,
Maybe you already knew this info, but I just like to see you get the ogm and xcd started, since it seems a frequent request here.
With regards to find the bitrate of a sound ogg in a ogm, you can do the following with the hexeditor.
I am quoting the following by Lucas Wall which was disscussed on Doom9, May, 2000.
"Open the file with a hexeditor... or herviewer.. or similar tool. Each page in an ogg stream starts with "OggS". The first pages only contain a header packet.
So... You have to look for the first page of the audio stream. Probably the second one in the file. Some bytes after the "OggS" you will see a "video", for video :-) , "vorbis" for audio or "text" for subtitles. You could find other types of streams, but you are looking for the "vorbis" stream.
So... Look for the second "OggS" and look for the word "vorbis" a few bytes after it. You should find this in the first bytes of the file... first 100 bytes more or less.
After the "vorbis" string skip 9 bytes. The you will find 3 double words: max bitrate, nominal bitrate and min bitrate. These values are placed there by the encoder, max and min will be -1 (FFFFFFFF), at least its -1 in all ogms I've seen.
The nominal bitrate is what you are looking for. An aproximation, of course, because you actually placed a Q value in the encoder and the Q value is what it actually used during encoding."
You can get the tool from here that does what it describes above
http://www.kadath.com.ar/oggexplore/
In regards to XCD
Read the XCD spec here...
http://xcd.sourceforge.net/spec/xcd_spec_220502.txt
the developers de_xt and avih hangs out in doom9 often, they will be more than glad to answer your questions.[/url]
Maybe you already knew this info, but I just like to see you get the ogm and xcd started, since it seems a frequent request here.
With regards to find the bitrate of a sound ogg in a ogm, you can do the following with the hexeditor.
I am quoting the following by Lucas Wall which was disscussed on Doom9, May, 2000.
"Open the file with a hexeditor... or herviewer.. or similar tool. Each page in an ogg stream starts with "OggS". The first pages only contain a header packet.
So... You have to look for the first page of the audio stream. Probably the second one in the file. Some bytes after the "OggS" you will see a "video", for video :-) , "vorbis" for audio or "text" for subtitles. You could find other types of streams, but you are looking for the "vorbis" stream.
So... Look for the second "OggS" and look for the word "vorbis" a few bytes after it. You should find this in the first bytes of the file... first 100 bytes more or less.
After the "vorbis" string skip 9 bytes. The you will find 3 double words: max bitrate, nominal bitrate and min bitrate. These values are placed there by the encoder, max and min will be -1 (FFFFFFFF), at least its -1 in all ogms I've seen.
The nominal bitrate is what you are looking for. An aproximation, of course, because you actually placed a Q value in the encoder and the Q value is what it actually used during encoding."
You can get the tool from here that does what it describes above
http://www.kadath.com.ar/oggexplore/
In regards to XCD
Read the XCD spec here...
http://xcd.sourceforge.net/spec/xcd_spec_220502.txt
the developers de_xt and avih hangs out in doom9 often, they will be more than glad to answer your questions.[/url]
Hi Antp,
I was the one who suggest those tool weeks ago. Any progress?
Here is a tool that you might find useful...
Media Info
Supplies information about a file:
(Only if the information is available in the file...)
- General information (title, author, director, album, track number, date, duration etc....)
- Information about the video (codec, aspect, fps, bitrate etc....)
- Information about the audio (codec, sample rate, channels, language, bitrate etc....)
- Information about the text (language of subtitle)
- Information about chapters (count of chapters, list)
Supported formats : OGG (OGM), AVI, WAV, MP3, MPEG1&2, DVD, AC3, DTS
Myabe he can give you tips or share the source with you.
You can email the author here:
mediainfo@mediaarea.net
I was the one who suggest those tool weeks ago. Any progress?
Here is a tool that you might find useful...
Media Info
Supplies information about a file:
(Only if the information is available in the file...)
- General information (title, author, director, album, track number, date, duration etc....)
- Information about the video (codec, aspect, fps, bitrate etc....)
- Information about the audio (codec, sample rate, channels, language, bitrate etc....)
- Information about the text (language of subtitle)
- Information about chapters (count of chapters, list)
Supported formats : OGG (OGM), AVI, WAV, MP3, MPEG1&2, DVD, AC3, DTS
Myabe he can give you tips or share the source with you.
You can email the author here:
mediainfo@mediaarea.net
I'll probably use http://www.geocities.com/cplarosa/movieid/ for all formats (except AVI that I already have
).
For OGG I'll get that from somebody else so it should not be a problem.

For OGG I'll get that from somebody else so it should not be a problem.
Use this one instead. It supports far more formats and the author is pretty nice...
http://mediaarea.net/mediainfo/features.html
Known formats :
Ogg media stream - .OGG, .OGM
Resource Information File Format - .AVI, .WAV (partial)
MPEG - .MPG, .MPE, .MPEG, .VOB
MPEG Video - .MPV
MPEG Audio - .MP2, .MP3, AC3, DTS
DVD-Video - .IFO
Windows Media - .ASF, .WMV, .WMA
Quicktime - .QT, .MOV (partial)
Real Media - .RA, .RM, .RV, .RMVB (partial)
http://mediaarea.net/mediainfo/features.html
Known formats :
Ogg media stream - .OGG, .OGM
Resource Information File Format - .AVI, .WAV (partial)
MPEG - .MPG, .MPE, .MPEG, .VOB
MPEG Video - .MPV
MPEG Audio - .MP2, .MP3, AC3, DTS
DVD-Video - .IFO
Windows Media - .ASF, .WMV, .WMA
Quicktime - .QT, .MOV (partial)
Real Media - .RA, .RM, .RV, .RMVB (partial)
And don't forget matroska, the new container format
If you haven't heard of it, here is the URL of its release announcement:
http://www.matroska.org/announce.html
Handling it shouldn't be a problem, at the bottom of that page you'll see a link to the libmatroska library which you can use for that. It's a C++ library but linking it with Ant Movie Collector should be easy (Delphi?)
Best regards

http://www.matroska.org/announce.html
Handling it shouldn't be a problem, at the bottom of that page you'll see a link to the libmatroska library which you can use for that. It's a C++ library but linking it with Ant Movie Collector should be easy (Delphi?)
Best regards
