[FFmpeg-devel] SWSCALE: Colorspace conversion for images

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Mar 29 23:54:58 CEST 2011


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.
-- 
FFmpeg = Fundamental Foolish Merciful Pitiless Enchanting Ghost


More information about the ffmpeg-devel mailing list