[FFmpeg-user] libswscale maximum image size

Lou lou at lrcd.com
Sat Jul 30 22:33:44 CEST 2011


On Fri, 29 Jul 2011 07:58:38 -0700 (PDT)
bn <aval57 at yahoo.com> wrote:

> n generating thumbnails I notice that libswscale bails out on some
> larger images:
> 
> -----------------------------------------
> ffmpeg -i verylarge.jpg -s 160x120 -f image2 thumb.jpg
> ...
> [scale @ 0x1d1b8e0] w:2744 h:4472 fmt:gray -> w:160 h:120
> fmt:yuvj420p flags:0x4 Error opening filters!
> -----------------------------------------
> 
> 
> browsing git I can see "swscale: remove VOF/VOFW" committed in May 
> but it's not clear from the diff (to me anyway) how size-limits are
> enforced now and what to patch if I want an increase.
> 
> thanks

Please show your complete terminal output, and provide a sample of
verylarge.jpg if possible.

Also, you may want to try '-vf scale=160:120' instead of '-s 160x120'.


More information about the ffmpeg-user mailing list