HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: dutch109 on 2012-01-06 15:16:27

Title: Oggenc switch to decrease decoding complexity
Post by: dutch109 on 2012-01-06 15:16:27
Hello,

I'm looking for any oggenc (the official one based on libvorbis) advanced option or tuning that would decrease the decoding complexity of the produced file.
I know this would probably decrease quality for a fixed bitrate, but I'm willing to sacrifice quality for a lower CPU usage during decoding.

Is there such a thing ?

Thanks
Title: Oggenc switch to decrease decoding complexity
Post by: saratoga on 2012-01-06 16:42:53
I don't think theres anything specifically for this, although vorbis does give you some flexibility to choose what the decoder must do.

Any reason you're trying to do this?  Even with default settings, decoding vorbis is extremely fast.  I can't imagine saving more is worthwhile.
Title: Oggenc switch to decrease decoding complexity
Post by: dutch109 on 2012-01-06 23:12:40
The reason is mainly to increase battery life when playing music on my Android device.

Also, I'm playing with HTML5 audio playback, and with some smartphones and browsers, the sound "skips", I think because the CPU can't keep up...
Title: Oggenc switch to decrease decoding complexity
Post by: saratoga on 2012-01-06 23:17:54
The reason is mainly to increase battery life when playing music on my Android device.


Vorbis decoding on a typical android phone will use just a few percent of the CPU.  Its basically negligible. 

Also, I'm playing with HTML5 audio playback, and with some smartphones and browsers, the sound "skips", I think because the CPU can't keep up...


Probably just a bug in the software.