[FFmpeg-trac] #1852(swscale:closed): libswscale can't handle destination widths below 8

FFmpeg trac at avcodec.org
Sun Oct 28 16:39:17 CET 2012


#1852: libswscale can't handle destination widths below 8
-------------------------------------+-----------------------------------
             Reporter:  gjdfgh       |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:  fixed
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by gjdfgh):

 Looks like when downscaling to 1x1, libswscale wants to create a filter
 that's as large as the width and height of the source image, but the
 filter size is statically limited to 256 by default.

 Definitely not the same bug, but still could be considered a bug. Should
 stay closed.

 >You did not explain your use case, so I assume it must be very unusual
 and most people will prefer a faster libswscale that does not support
 arbitrary scaling factors.

 I think people would prefer a libswscale that doesn't blow up on dozens of
 corner cases and sacrifices bug-freeness for uncompromised speed, but
 that's just my opinion. The fact that libswscale suddenly fails when the
 scaling factor is too high is just one example.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1852#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list