[FFmpeg-devel] SWSCALE: Colorspace conversion for images

Michael Niedermayer michaelni at gmx.at
Wed Mar 30 00:08:31 CEST 2011


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

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

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110330/aad413c5/attachment.asc>


More information about the ffmpeg-devel mailing list