Log in

View Full Version : OGMCalc - a very basic OGM/XviD bitrate calculator


Koepi
24th May 2003, 09:56
Ahoy,

I got a little annoyed today to pick up my calculator, type in the size of the soundtracks,... to get the final desired size for the XviD setup.

Thus I hacked in this tiny tool with which it's just "click into the directory of your soundtracks & you're done with calculating" (Since I just do whole CDs it's (yet) impossible to type in other desired sizes...)

I hope it's not just useful for me alone.

The overhead calculation is an aproximation which worked very well (within +/- 1mb of the desired size) for me hundred times.
It's assuming that every stream has 1 mb overhead per CD, thus:
1 Videostream, 2 Audio streams => 3 streams => 3MB overhead per CD. (Just as example)

I hope you like it.

Best regards
Koepi

Kyo
24th May 2003, 19:57
Hello Koepi, great work on XviD and your others tools :)

I have a little problem, when I pick ac3(also mp3 or aac)in the program and when I choose the diretory, the program only find the ogg's and srt's and the check on ac3(and Co.) is gone... it's me or it's a bug?

HomiE FR
24th May 2003, 20:14
Thanks it's a good idea !

Koepi
24th May 2003, 22:15
Kyo:

it's a bug. I didn't check the program with everything, I just added those options because they're in OggMux too. I'll correctly force variable updates and put a new binary up soon.

All:
Thanks for using the calculator :)

regards
Koepi

Koepi
24th May 2003, 22:31
Here you go, I had a "false" where a "true" did belong %) beginner's errors ;)

regards
Koepi

Koepi
25th May 2003, 16:43
Ahoy again,

since I'm now in the trouble of encoding some episodes I udated the calculator a bit to allow for "1/5", "1/4", "1/3", "1/2", "2/3" and "3/4" CDs as well (and adopted all calculations accordingly).

Find it attached to this post.

Regards
Koepi

ssjkakaroto
25th May 2003, 21:45
thx for this tool koepi :cool:

ssjkakaroto
28th May 2003, 01:08
btw koepi what would be needed to make accurate keyframe splitting in the desired filesize? a two pass routine that would mux the whole file while analizing the file size and keyframes position and then the actual split or can it be made in only one pass?

eXistenZ
28th May 2003, 11:25
thank you for this little tool: OGM/XviD is the way I'm going to...

Just a question about stream overhead:

I've read somewhere that:
muxing the first Ogg Vorbis audio track add circa one twentieth of overhead (1/20 of audio file size);
muxing the second Ogg Vorbis doesn't add any overhead.

Is that true? If yes, could you put this calculation in your tool?

Bye, eXistenZ

P.S. what about chapters (and their overhead)? :p
I dream to fill up every 737,148,928 byte of my CDs :D