mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [MPlayer-users] Re: Cropdetector


To: "MPlayer usage questions, features, bugreports" <mplayer-users@xxxxxxxxxxxx>
Subject: Re: [MPlayer-users] Re: Cropdetector
From: Martin Collins <martin@xxxxxxxxxxxxx>
Date: Thu, 22 Jul 2004 16:43:37 +0100
Delivered-to: itdp@goinform.homeip.net
Delivered-to: mplayer-users@mplayerhq.hu
In-reply-to: <20040722071638.133b35df.rcooley@spamcop.net>
References: <Pine.A41.4.58.0407201218510.91690@dante68.u.washington.edu><20040721.151542.74754473.Meino.Cramer@gmx.de><20040721170038.28b7e759.martin@mkcollins.org><20040722071638.133b35df.rcooley@spamcop.net>

On Thu, 22 Jul 2004 07:16:38 -0700
rcooley <rcooley@xxxxxxxxxxx> wrote:

> > I don't think this is a good candidate for automation, 
> 
> Why not?  I've automated cropping for months now, myself.

With some material it can give dodgy results. For example I have a
video of some wire-frame graphics with a black background. Everytime
the graphics change so does cropdetect's output.

> > I use -vf rectangle and my eyes. 
> 
> Which then takes several minutes for each video.

I only encode one or two things a week and they take several hours. A
couple of minutes to get it right first time is a small price to pay.
I'm already spending longer editing out ads etc.
Besides, cropdetect will run through the whole video if you let it.
How do you stop it in a script? How can you be sure you have a
representative sample?

> > the safest way is probably to find the minimum dimensions given by
> > -croptdetect
> 
> What do you mean by "minimum dimentions"?

It outputs crop dimensions for every frame. I was suggesting you
should choose the smallest area and crop to that (after rounding down
to %16).
On reflection though, maybe the maximum would be better.

Martin

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users


[Prev in Thread] Current Thread [Next in Thread]