Log in

View Full Version : Black borders with no resize?


Weirdo
12th September 2014, 11:05
Hello, trying to encode some 720x576 clips with MeGUI. I want to add some borders to mask the edges (10 px left+right, 2px top+bottom) without resizing but cannot get a 720x576 output. Using crop(10, 2, -10, -2) and AddBorders(10, 2, -10, -2) gives me a 710x574 output (which seems not centered, too). Using only AddBorders gives 730x578. What am I doing wrong? Thanks.

I checked that MeGUI won't add a resize filter, only the global MeGUI_darx/dary values (also tried removing those).

feisty2
12th September 2014, 11:08
crop(10, 2, -10, -2)
AddBorders(10, 2, 10, 2)

Weirdo
12th September 2014, 11:11
That was fast (and quite logical) feisty2, thanks a lot. :)

Gavino
12th September 2014, 15:55
You can also do the whole thing with a single command:

Letterbox (http://avisynth.nl/index.php/Letterbox)(2, 2, 10, 10)

Weirdo
12th September 2014, 16:32
That's nice, thanks Gavino.