Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th September 2014, 11:05   #1  |  Link
Weirdo
Registered User
 
Join Date: Aug 2005
Posts: 231
Black borders with no resize?

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).
__________________
Win 10 Pro x64

Last edited by Weirdo; 12th September 2014 at 11:08.
Weirdo is offline   Reply With Quote
Old 12th September 2014, 11:08   #2  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
crop(10, 2, -10, -2)
AddBorders(10, 2, 10, 2)
feisty2 is offline   Reply With Quote
Old 12th September 2014, 11:11   #3  |  Link
Weirdo
Registered User
 
Join Date: Aug 2005
Posts: 231
That was fast (and quite logical) feisty2, thanks a lot.
__________________
Win 10 Pro x64
Weirdo is offline   Reply With Quote
Old 12th September 2014, 15:55   #4  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
You can also do the whole thing with a single command:

Letterbox(2, 2, 10, 10)
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 12th September 2014, 16:32   #5  |  Link
Weirdo
Registered User
 
Join Date: Aug 2005
Posts: 231
That's nice, thanks Gavino.
__________________
Win 10 Pro x64
Weirdo is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.