[FFmpeg-devel] SWSCALE: Colorspace conversion for images
compn
tempn at twmi.rr.com
Wed Mar 30 01:55:52 CEST 2011
On Wed, 30 Mar 2011 00:08:31 +0200, Michael Niedermayer wrote:
>On Tue, Mar 29, 2011 at 11:54:58PM +0200, Stefano Sabatini wrote:
>> On date Tuesday 2011-03-29 23:40:58 +0200, Michael Niedermayer encoded:
>> > On Tue, Mar 29, 2011 at 01:58:57PM -0700, Frank Barchard wrote:
>> > > Bump swscaler width limitation from 5120 to 16384.
>> > >
>> > > Advantage: images (ie jpeg) are often larger than 5120 these days.
>> > > 5120x2880 is about 15 megapixels
>> > >
>> > > Disadvantage: slightly slower
>> > >
>> > > no scaling
>> > > timex ffmpeg -y -i tulip2.mp4 tulip2.yuv
>> > > timex 8866.21ms
>> > >
>> > > scaling
>> > > C:\ffwork>timex ffmpeg -y -i tulip2.mp4 -s 1272x724 tulip2.yuv
>> > > timex 23633.13ms with VOFW 5120
>> > > timex 26246.90ms with VOFW 16384
>> >
>> > uhm
>> > could you try 21504 instead of 16384 ?
>>
>> The other solution would be to make it configurable, but IMO is a good
>> idea to increase the default value anyway.
>
>I want to increase it too but a 10% speed loss as shown above simply
>means we cannot do it that way
+1 for runtime configurable. let user pick how slow he needs scaler to
work :) or rather, smaller size for smaller res, larger size for larger
res input.
-compn
More information about the ffmpeg-devel
mailing list