[vorbis] oggenc and SMP

Michael Smith msmith at labyrinth.net.au
Tue Aug 14 05:42:56 PDT 2001



At 09:12 AM 8/14/01 -0300, you wrote:
>Greets,
>
>I'm encoding my favorite Vivaldi Four Seasons CD (my tester files) on
>my older dual PII-350 linux machines (it's kinda slow with '-b 160'
>but that's alright) and started wondering - mind you, I'm sucky at C -
>is it that hard to implement an encoder that uses all the processors
>on a SMP computer?

There are two things you can do:
 Encode multiple files at once, each using a single cpu
 Encode only one file at a time, using multiple cpus.

Doing the first is really easy, and gains you very nearly as much as the
latter in terms of speedup - as long as you're encoding 2 or more files,
which you typically are if you're encoding a cd, for example.

The second is _very_ difficult. Jeff Squyres wrote a program called 
'poggenc' to do this, but he never completed it, it's just a really
difficult problem - because decisions the encoder makes depend on
past input, not just on what it is currently encoding. 

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list