Troy Watson
2013-Nov-03 03:57 UTC
[Vorbis-dev] Increase packet size created by an encoder?
The documentation for ov_read states: "ov_read() will decode at most one vorbis packet per invocation". Can I increase the packet size in my encoder so my decoder makes fewer calls to ov_read? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20131103/d334e7d2/attachment.htm
xiphmont at xiph.org
2013-Nov-03 21:41 UTC
[Vorbis-dev] Increase packet size created by an encoder?
Hello, It's not possible to increase the vorbis paket size/duration in the official Ogg mapping. Packet size is determined by bitrate and window size; increasing the window size will have knockon effects to encoded quality. Is there a reason you want to make fewer calls to ov_read? Even if you coded a custom mapping that placed multiple vorbis packets into a single Ogg packet, you'd still have to do the same amount of work to decode it. Monty On Sat, Nov 2, 2013 at 11:57 PM, Troy Watson <drtwox at gmail.com> wrote:> The documentation for ov_read states: "ov_read() will decode at most one > vorbis packet per invocation". > > Can I increase the packet size in my encoder so my decoder makes fewer calls > to ov_read? > > _______________________________________________ > Vorbis-dev mailing list > Vorbis-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis-dev >