[MEncoder-users] ffvhuff: encoded frame too large
Joey Parrish
joey.parrish at gmail.com
Sat Apr 14 03:56:22 CEST 2007
On 4/13/07, infernix <infernix at infernix.net> wrote:
> Loren Merritt wrote:
> > MEncoder allocates a constant buffer size of 2MB to hold a compressed
> > frame. 1080p is 3MB uncompressed, and huffyuv (or any lossless codec)
> > can't always compress a 3MB frame into less than 2MB.
> > Solution: increase the buffer size, and/or make it dynamic.
>
> Do you know where to change this buffersize, or how to make it dynamic?
> I'm guessing the latter will need coding so a pointer to what I should
> alter in the code would suffice.
Try the attached patch.
--Joey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buffersize.patch
Type: text/x-diff
Size: 302 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20070413/bb94577c/attachment.patch>
More information about the MEncoder-users
mailing list