[MPlayer-dev-eng] Enhanced cropdetect code

compn tempn at twmi.rr.com
Fri Jul 25 20:32:30 CEST 2008


On Fri, 25 Jul 2008 10:31:55 -0500, Roger Heflin wrote:
>In the -ss case the option is accepted, but does not appear to actually cause 
>cropdetect to skipframes,

it seems there are some confusing things happening.
-sstep isnt doing what i want on some files.

>if you use the framestep option it is accepted and 
>works but cause cropdetect to not be done ( -vf frameskip=30,cropdetect=12), if 
>you use (-vf cropdetect=12,frameskip=30 ) then cropdetect is done but no 
>frameskip appears to be happening.

this works for me, with a black logo/intro fade into full res video:
E:\>mplayer "Madame Tutli-Putli.avi" -vf framestep=30,cropdetect
MPlayer Sherpya-SVN-r27305-4.2.4 (C) 2000-2008 MPlayer Team

[CROP] Crop area: X: 288..575  Y: 129..399  (-vf crop=288:256:288:138).
[CROP] Crop area: X: 228..575  Y: 69..399  (-vf crop=336:320:234:76).
[CROP] Crop area: X: 228..575  Y: 69..399  (-vf crop=336:320:234:76).
[CROP] Crop area: X: 228..575  Y: 69..399  (-vf crop=336:320:234:76).
[CROP] Crop area: X: 174..575  Y: 69..399  (-vf crop=400:320:176:76).
[CROP] Crop area: X: 174..575  Y: 69..399  (-vf crop=400:320:176:76).
[CROP] Crop area: X: 174..575  Y: 69..399  (-vf crop=400:320:176:76).
[CROP] Crop area: X: 174..575  Y: 69..399  (-vf crop=400:320:176:76).
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0
[CROP] Crop area: X: 0..719  Y: 0..399  (-vf crop=720:400:0:0).1 0

-compn



More information about the MPlayer-dev-eng mailing list