[MPlayer-dev-eng] [PATCH] automatic cropping in vf_crop

Compn tempn at twmi.rr.com
Mon Jun 18 05:28:11 CEST 2007


On Mon, 18 Jun 2007 01:24:51 +0200, Alexander Stege scribed:

>Hello everyone!
>
>This is a patch that merges the functionalities of the cropdetect and
>the crop video filter to enable automatic/interactive cropping of
>black borders without having to manually copy&paste and restart
>mplayer.

wow!

>
>To apply the crop parameters that cropdetect has detected, I have
>connected the filter to the 'change_rectangle' input.conf directive
>that belongs to the rectangle filter. rectangle is just a dummy-crop
>anyway I guess.
>
>cropdetect is only run on every 50th frame, so no worries about
>CPU-eating.


does this mean that the crop will detect and resize every 50 frames?


-compn



More information about the MPlayer-dev-eng mailing list