PDA

View Full Version : The OGM overhead thread


Emp3r0r
12th April 2003, 22:34
Hopefully this will come in handy when making calculator

I used ogmuxer when creating the files and all sizes in bytes

778,011,648 Video
47,975,248 vorbis
1,014 chapters
to
830,951,943 ogm
having
4,964,033 overhead 0.597%

23.976fps, 128965frames
1:29:38
<input file="Fast Times at Ridgemont High.avi">
<comment name="TITLE">Fast Times at Ridgemont High</comment>
<chapters file="Fast Times at Ridgemont High.txt" />
</input>

<input file="Fast Times at Ridgemont High.ogg" offset="0">
<comment name="LANGUAGE">English</comment>
</input>

<output file="Fast Times at Ridgemont High.ogm"></output>1,145,950,208 video
440,430,807 ac3
1,216 chapters
to
1,599,343,262 ogm
having
12,961,031 overhead 0.810%

23.976fps, 188569frames
2:11:04
<input file="eg.avi">
<comment name="TITLE">Enemy at the Gates</comment>
<chapters file="eg.txt" />
</input>

<input file="eg.ac3" offset="0">
<comment name="LANGUAGE">English</comment>
</input>

<output file="eg.ogm"></output>PS: Less than 1% overhead seems impressive

BlackSun
13th April 2003, 00:23
the overhead is 1% more then the avi+audio, and you don't have any overhead when you use a vorbis stream in a OGM file.

If your file is 700MB, the overhead is about 8-9MB. Also keep in mind that the avi also store the index, the OGM don't.

len0x
14th April 2003, 14:16
I actually was provided with the following formula:

OGM-calculation (PAL & Ogg)
-------------------------------------------
kbps ~ ((TargetSize[kB]-OggSize[KB])*8*1024*25)/(frm*1010)

elestrodix^
22nd April 2003, 19:32
;)
jepp and
to calculate overhead for ac3-overhead in ogm, use the same formula...

Suiryc
22nd April 2003, 21:40
OGM overhead estimation doesn't seem easy. I tried to estimate it but I often am +/-10% off compared to the real overhead :/

frodoontop
23rd April 2003, 09:45
Overhead is different when one compares a divx and a xvid stream. Divx delivers more overhead somehow.

For a recent PAL-movie I have muxed:
Xvid-Video: 1.423.038kb
Ogg-Audio: 160.061kb
.srt Subtitle: 111kb
Chapter: ?
Total: 1.593.234
Overhead: 10.024kb
.ogm length: 2:19:16

len0x
23rd April 2003, 11:28
Originally posted by frodoontop
Overhead is different when one compares a divx and a xvid stream. Divx delivers more overhead somehow.


It actually seems to be true on only for OGM, but AVI container as well... (looks like XviD stream already have overhead inside...)