Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 5 Aug 2005, 12:32 PM   #1
Junior Member
Junior Member
 
Join Date: Jul 2005
Posts: 4
Question-2 add black band with AviSynth

I've been trying to script AviSynth to add a black band to the top and bottom of an avi on which I plan to place subtitle. I failed.

I've learnt to add subtitle to avi permanently with VirtualDub and Vobsub filter. Can you help me with the script to add such bands and how to connect the two processes?

Thanks.
qknet is offline   Reply With Quote
Old 5 Aug 2005, 12:44 PM   #2
Super Moderator
 
anonymez's Avatar
 
Join Date: Mar 2004
Posts: 5,525
Default

i do not write avisynth scripts often, but there is an option in virtualdubmod's resize filter called "expand frame and letterbox image" that allows you to add pixels to each side (forming 'black bars'), and also choose which colour

EDIT: if you really want to do this through avisynth, here you go: AddBorders(0, 0, 0, 0)

replace '0's with numbers BUT i recommend you use the first method, i've used it, it works flawlessly, and is much easier...
__________________
"What were the things in Gremlins called?" - Karl Pilkington


Last edited by anonymez; 5 Aug 2005 at 12:51 PM
anonymez is offline   Reply With Quote
Old 5 Aug 2005, 02:18 PM   #3
Junior Member
Junior Member
 
Join Date: Jul 2005
Posts: 4
Default

Ah, thanks bro, surely I will choose tha former, if it works with me.

Great help you are.
qknet is offline   Reply With Quote
Old 5 Aug 2005, 04:47 PM   #4
Super Moderator
 
anonymez's Avatar
 
Join Date: Mar 2004
Posts: 5,525
Default

no problem
anonymez is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 06:02 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com