Skip to main content

Topic: Oggenc switch to decrease decoding complexity (Read 6285 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • dutch109
  • [*][*][*]
Oggenc switch to decrease decoding complexity
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
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m
https://playnoise.com/

  • saratoga
  • [*][*][*][*][*]
Oggenc switch to decrease decoding complexity
Reply #1
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.

  • dutch109
  • [*][*][*]
Oggenc switch to decrease decoding complexity
Reply #2
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...
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m
https://playnoise.com/

  • saratoga
  • [*][*][*][*][*]
Oggenc switch to decrease decoding complexity
Reply #3
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.