[Libav-user] Using swcale to crop picture

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Feb 14 11:28:14 CET 2013


Eric Beuque <eric.beuque at ...> writes:

> Thank you for your answser!I'm going to try libavfilter. 
> I saw it seems to provide a filter algorithm, so i 
> guess libavfilter can replace libswscale?

The scale filter uses / depends on libswscale.

(Note that I believe since you control the data pointers, 
the width and the linesize arguments, it may be possible 
to "crop" with libswscale alone, but using the crop 
filter should be the better solution.)

Carl Eugen



More information about the Libav-user mailing list