Hello all.
I've been reading this site, and Doom9, a lot while trying to do some video editing and encoding the past week. I've set up and mostly got my mind around MeGUI and the various codecs and terms.
Right now, what I need to do is create some fade-ins and fade-outs. I worked out how to do this in AviSynth, fading out at the end, but what would I change if I wanted it to say, fade to black at 02:00, and slowly fade back into the video at 02:05?
And during that time I want to superimpose some text on the screen (say, "Five years later"). Is there a command that amounts to "Put 'five years later' on the screen in white Helvetica, centered horizontally and vertically, starting at 02:00 and lasting 10 seconds"?
I know this is kind of noobish and someone will probably say "just google it" (and I have), but I would really appreciate a bit of help here.
I don't mind downloading extra software to do this if need be.
Thanks to anyone who can offer tips.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
Look at the avisynth guide for details, however the main items you need to read up on to do what you want ate
Trim() to isolated sections of footage for applying affects
FadeIn() and FadeOut() to add your fades
Subtitle () to add your text
Something like the following
Trim(0, 240).Fadein(16).FadeOut(8)+Trim(240,0).FadeIn(8)
Isolates the first 240 frames, fades in over the first 15 frames, fades out over the last 8 frames, then fades the rest of the clip in over the next 8 frames and plays out to the end.
You might also look at AvsP to simplify coding and give you a real time previewRead my blog here.
-
You can divide the clip up, and use fadeio (fade in / out) or one of it's derivatives to fade "clip a" out into "clip b"
http://avisynth.org/mediawiki/Fade
You can use subtitle() to overlay text, change the fonts, sizes, colors etc..
http://avisynth.org/mediawiki/Subtitle
Another way to do this is the overlay() command, and using an image with transparency prepared in photoshop, for example
AvsP is highly recommended as an editor and preview application
OOPS, I guess guns beat me to the punch -
Thanks guys, the links are handy and I appreciate the quick replies.
I'm playing with AvsP now, and it's a huge timesaver. But I'm not totally sure how to specify which frames I want the subtitle to go over.
I tried:
trim(0, 480).subtitle("these are words", font="verdana", text_color=$ffffff, size=24)
But that trimmed the entire clip down to 480 frames, then put a subtitle over all of it. Which part exactly says "Apply this effect from frame 400 to 500"?
I'd also like to apply the KillAudio function to only certain parts, so this would be doubly handy. -
Use trim() to divide up your video
eg
Code:a=AVISource().Trim(0,100) b=AVISource().Trim(101,200).subtitle("these are words", font="verdana", text_color=$ffffff, size=24) c=AVISource().Trim(201,300) a++b++c
Another way to do this is to use stickboy's functions and use applyrange
http://avisynth.org/stickboy/
Can you clarify what you want to do with killaudio() ? -
Ohh, I get it now. Thanks, I'll go have a try.
With killaudio, I was hoping to just mute sections.
I've got a video where I want to mute 1:00 to 1:15, make it black with a subtitle on top, then fade in. My video has 4 sections where this happens. -
Just one more question... I've read the subtitle page, but I'm still not certain how to get multi-line subtitles in there. It says I need to set the LSP parameter, but to what, and where?
Once I've set it, I'd use \n where I want the line break, right? Such as:
lsp=5
To be, or not to be \n
That is the question -
You could always create a real subtitle and burn it into the video whereever wanted. It'll save doing a trim specific for the subtitle (unless you go the ApplyRange route).
As for the black sections, you could do the fadeout/in into/out of a black BlankClip added in where needed:
http://avisynth.org/mediawiki/BlankClip -
EDITED to correct errors 9/1/10
Originally Posted by doublefoxCode:Subtitle ("these are words", size=40, font="verdana", text_color =$ffffff, first_frame=400, last_frame=500)
But for more elaborate effects, see http://avisynth.org/mediawiki/External_filters#Subtitling
You can use e.g., Textsub, (see http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm) and then load a standard ASS or SRT subtitle.
Originally Posted by doublefox
Code:Trim(0,100) ++\ Trim(101,400).Amplify(0) ++\ Trim(401,600) ++\ Trim(601,700).Amplify(0) ++\ Trim(701,0)
-
Originally Posted by doublefox
Originally Posted by Avisynth wikiCode:Subtitle ("To be, or not to be\nThat is the question", lsp=0, size=40, font="verdana", text_color =$ffffff, first_frame=400, last_frame=500)
-
Originally Posted by AlanHK
-
Also, I forgot that ReplaceFramesSimple does not process audio, so you will have to do it the longer way using Trim.
Similar Threads
-
Create scrolling text effect for Movie Credits using avisynth and png image
By wiseant in forum Newbie / General discussionsReplies: 6Last Post: 13th Sep 2010, 02:21 -
Read text create audio and convert text to synced subtitles in mp4
By Philip Lean in forum SubtitleReplies: 1Last Post: 25th Feb 2010, 08:54 -
Overlay text at various positions via avisynth subtitle() function ?
By vhelp in forum EditingReplies: 3Last Post: 11th Jul 2009, 03:29 -
looking for good OCR software that will convert text in jpg to regular text
By jimdagys in forum ComputerReplies: 6Last Post: 27th Jun 2008, 10:38 -
superimpose an image into video
By nathy85 in forum EditingReplies: 2Last Post: 27th May 2008, 07:32