PDA

View Full Version : How to make and add a logo?


t49lnh3ybt
9th July 2006, 13:17
I want to put the logo of my website in my divx. I did a brief search about logo and found that Avisynth can put a logo. But, I don't want how to script Avisynth to put a logo. Is there any tutorial for that?

ammck55
9th July 2006, 15:26
Please provide more detail about what you wish to accomplish.

ammck55

Nick
9th July 2006, 18:19
More info would be very helpful but as a starting point you might like to experiment along these lines.
Obtain the following info for your original file with VDub or GSpot or whatever:

resolution, number of frames, framerate.

Now decide how big you want your logo, eg if your video file is 640x280, perhaps 64x64 for a square logo. Call these numbers x and y.

Next decide where on the image you want the logo in terms of where the top left corner of the image should be in respect to the top left corner of the video clip. eg a 64x64 logo in a 640x280 clip, offsetting by 32,16 would put the logo 32px from the left and 16px from the top. Call these OffsetX and OffsetY


Finally, copy and paste this into Notepad.

video=directshowsource("<PATH AND FILENAME.avi>",<framerate>)
logo=imagesource("<logo.jpg>",fps=<framerate>).LanczosResize(<x>,<y>)
overlay(video,logo,<horizontal offset>,<vertical offset>,opacity=0.65,mode="blend")

Replace anything in <> with the relevant numbers or filenames. Be sure to delete all < and >

Save as whatever.avs

Then right click the AVS file and do "open with", selecting Media Player as your application. Then reopen with Notepad and start playing with the variables for mode, opacity, postition, size etc until you're happy.

To see the scope of what modes you can use, look up Overlay in the manual at avisynth.org

You can use the avs file as input to VDub or whatever to encode to DivX etc.

Didée
9th July 2006, 19:41
Every time they come up, I am somewhat amused about those "how do I add a logo?" questions ...

Adding a logo is a pretty trivial task. If one don't know how to do such a basic, then there is neither need nor justification to add a logo. Really not. ;)

Besides, the question has been asked a 1000 times already, and has been answered same often.

ammck55
10th July 2006, 15:17
:goodpost:, Nick. Successfully creating and encoding a logo for the Nth time would be a trivial task for someone with a lot of experience. This is the first time I've seen this request show up in Noobs since I've been here; that, or my memory is failing. :)

It seems fairly common for new members to be overwhelmed by the amount of knowledge on store here at Doom9 and consequently post in Newbies until they get their bearings and build up a little confidence. If a strict interpretation of Rule1 and 1a were applied, all we'd ever need to respond with, is "Asked, and answered. Use the search button."

ammck55

fatxy
15th September 2006, 16:45
is it possible with avisynth to get the width / height as variable to do sth like this
horizontal offset = width - 50

Wesmosis
15th September 2006, 23:53
try Subtitler plugin in VDubMod

d3fi4nt
16th September 2006, 23:09
The Subtitler plugin with vdm is the simplest way.

Nut
5th October 2006, 10:27
i know a simple an easy logo editor for adding a logo to video, it's called vidlogo (geovid.com), but it isn't working with any scripts, but anyway look for yourself, maybe it'll do

kevo777
28th January 2008, 03:38
What if you don't want a square logo i.e. the network logos found on every television network nowadays?

Soulhunter
28th January 2008, 17:00
What if you don't want a square logo i.e. the network logos found on every television network nowadays?
Masking!? :]


Bye