I have searched the internet upside down but I am unable to get an explanation about what exactly does the --max-delay switch in opusenc do to the encoded file?
Does it have any effect on the encoding quality or bitrate?
Any insights would be really appreciated
AFAICT it only affects how many ogg pages (https://en.wikipedia.org/wiki/Ogg_page) are created. I ran opusenc 3 times, with max-delay 0, 500 and 1000:
Wrote: 369876 bytes, 1501 packets, 1503 pages
Overhead: 11.6% (container+metadata)
...
Wrote: 330996 bytes, 1501 packets, 63 pages
Overhead: 1.21% (container+metadata)
...
Wrote: 330186 bytes, 1501 packets, 33 pages
Overhead: 0.963% (container+metadata)
After decoding, all 3 files produced the same PCM data.
AFAICT it only affects how many ogg pages (https://en.wikipedia.org/wiki/Ogg_page) are created. I ran opusenc 3 times, with max-delay 0, 500 and 1000:
Wrote: 369876 bytes, 1501 packets, 1503 pages
Overhead: 11.6% (container+metadata)
...
Wrote: 330996 bytes, 1501 packets, 63 pages
Overhead: 1.21% (container+metadata)
...
Wrote: 330186 bytes, 1501 packets, 33 pages
Overhead: 0.963% (container+metadata)
After decoding, all 3 files produced the same PCM data.
Thank you so much for solving my query!
I wonder if that option was supposed to be named "--mux-delay" instead, since it controls the Ogg muxer delay.