[MPlayer-users] Scripting and cropdetect
rcooley at spamcop.net
Fri Sep 3 01:11:32 CEST 2004
On Thu, 02 Sep 2004 17:34:48 +0200
JiHO <jo.irisson at noos.fr> wrote:
> I wanted to scrip the DVD
> encoding process.
> At this stage I am trying to automate the crop detection procedure
Well... No reason to duplicate effort... I've already got a rather
advanced script to do the job for me. It's attached.
In fact, I recently improved cropdetection. It checkes crop parameters
in multiple points in the video (I set it to 10, but it's easily
increased/decreased) and it uses the most common crop parameter found.
You'll need to use a version of MPlayer after 1.0pre5, since my patch to
cropetect wasn't commited until after pre5 was released. Either that,
or you can try to get a shell script to do the math needed to round the
crop parameters down to multiples of 16.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9491 bytes
Desc: not available
More information about the MPlayer-users