[FFmpeg-devel] [PATCH] ipod320: restrict to refs=1 as in ipod640 (issue2399)

Michael Niedermayer michaelni
Thu Dec 2 23:33:19 CET 2010


On Thu, Dec 02, 2010 at 11:18:38PM +0100, Christian Ebert wrote:
> * Michael Niedermayer on Thursday, December 02, 2010 at 22:59:45 +0100
> > On Thu, Dec 02, 2010 at 10:47:41PM +0100, Christian Ebert wrote:
> >> ---
> >> ffpresets/libx264-ipod320.ffpreset |    1 +
> >> 1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > i would suspect the limit to be on memory and not on refs
> > and that maybe the information of the h264 spec about profile and level limits
> > could be usefull.
> 
> In the broken sample at
> 
> http://www.blacktrash.org/tmp/ffmpeg/test-refs3.m4v
> 
> I used -b 384k, maxrate=768000 - like in ipod320 - and
> bufsize=500000 - much less than the proposed bufsize=3000000 from
> the preset. I have the suspicion that the latter is too high but
> already got bashed for it. Unfortunatley I haven't found any
> reliable documentation so far.

you mix different kinds of buffers, there are ones holding coded pictures
and ones holding decoded reference pictures

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101202/6edefc36/attachment.pgp>



More information about the ffmpeg-devel mailing list