PDA

View Full Version : Plz Beta test an Auto Crop Attempt


Masure
28th July 2002, 00:38
here is a small VB program that returns crop infos from a d2v file. It analyses a set of frames and try to find the 4 crop values (top, bottom, left, right).

http://divxmachine.free.fr/D2VtoCropInfos.exe

you'll need :

-Avisynth with mpeg2deg plugin
-VB6 Runtimes :D


you may have a bad 0 value for the top/bottom value, reanalyse.
i'll correct this bug tomorrow because i'm tired at this time

llemor
28th July 2002, 15:17
Hi Masure,

Nice work!

I have tested 5 NTSC movies and it works almost equivalent with the manual cropping of AutoDivX5.

Here are the results:

1) Swordfish -> 54,58,0,1 (54,58,0,0)

2) Harry Potter -> 58,63,0,1 (58,62,0,0)

3) Training Day -> 54,58,0,1 (54,56,0,0)

4) Shanghai Noon -> 56,59,1,2 (56,58,2,2)

5) Evolution -> 4,9,0,6 (4,8,6,0)

Enclosed in parenthesis are the manual crop values.

Masure
28th July 2002, 21:03
Thx very much, i'm pleased it works almost perfectly. I were afraid it wouldn't work so well :)

I wait for other tests, i'll also try to speed up the process, but it won't be easy cause i work directly with bytes in memory.


@llemor : great reply with your manual cropping, it helps me

BlackSun
29th July 2002, 08:37
Err it's VB :) :p

hey Masure ;)

Masure
29th July 2002, 11:18
@ blacksun

hi buddy !
to be a part of DM it's better to write a VB Class isn't it ?

So have you tested crop auto ?

BlackSun
30th July 2002, 08:14
huh ? :confused:

Marvel
12th November 2006, 19:11
Could you put this file up again please, or can someone tell me where i can find a smiliar tool

Thx

Inc
23rd November 2006, 12:24
Have a look at "PARanoia" which beside D2vs also gives you cropping Infos on Avis, mkvs etc. and does output a readymade avisynth script.

http://forum.doom9.org/showthread.php?t=101070