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

Christian Ebert blacktrash
Thu Dec 2 23:46:36 CET 2010


* Michael Niedermayer on Thursday, December 02, 2010 at 23:33:19 +0100
> 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

I am more a less a normal user, so I indeed do not understand
what I am mixing. But I do understand that having refs=1 in
ipod640 and no restriction in ipod320 is not consistent. If at
all, ipod640 should be less restrictive.

c
-- 
\black\trash movie         _SAME  TIME  SAME  PLACE_
 --->> http://www.blacktrash.org/underdogma/stsp.php
\black\trash audio   _ANOTHER  TIME  ANOTHER  PLACE_
--->> http://www.blacktrash.org/underdogma/atap.html



More information about the ffmpeg-devel mailing list