Applying a Certain Effect to EVERYTHING

Discussion and help related to Adobe video software goes here. e.x. Premiere, After Effects, Photoshop, etc.

Postby Typhoon859 » Mon Aug 18, 2008 3:00 am

sayde wrote:
Typhoon859@GMail.com wrote: Is this in Premiere CS3 that you're telling me to do this?

yep. It's pretty handy.


OH!! WAIT!!! I didn't understand what you were saying because I didn't get the first step. That's why the rest didn't make sense. Lol, you told me the three ways of how to copy something XD
Typhoon859
 
Joined: 15 Sep 2007

Postby Typhoon859 » Mon Aug 18, 2008 3:38 am

sayde wrote:
Typhoon859@GMail.com wrote: Is this in Premiere CS3 that you're telling me to do this?

yep. It's pretty handy.


Actually, I just did it but what happens is, it negates some of the other effects suing that method.
Typhoon859
 
Joined: 15 Sep 2007

Postby Ashyukun » Mon Aug 18, 2008 1:15 pm

Typhoon859@GMail.com wrote:Actually, I just did it but what happens is, it negates some of the other effects suing that method.

Yup. You're pasting new effects over them, so that's only logical. There may be a Paste Special option to allow you to just add the new properties... but I don't remember (I don't use it very often, and I'm not sitting in front of my editing box).

As for AviSynth.... the link JaddziaDax gave (several times) makes perfect sense to me, but then at the same time I'm fairly well versed in it so it had better make sense to me. I have my doubts I can make it any clearer, but I can try.

AviSynth is, in effect, a video processing scripting language. You take a text file, write a list of commands in it, and save it with the extension .avs. If you've installed the AviSynth plugin for Premiere (which the AMVApp does for you), Premiere will read that file as if it were a video file just like a .avi (assuming you've given it valid commands within that file).

But, it's probably easier to show how it works in a practical example, since reading descriptions doesn't seem to be your thing. If you have AviSynth installed (the AMVApp installs it), try this.

Find a video file on your hard drive that you can play with Windows Media Player. I'd recommend an AMV, since they're usually encoded such that this will work well. Go to the directory where it is located, and open up Notepad. In notepad, enter the following (minus quotes of course and replacing FILENAME with the FULL filename of the video file, i.e. ThisIsAnAMV.avi):

DirectShowSource("FILENAME")

Now, in Notepad, go to File->Save as and save the file in the same directory as the video file as "testscript.avs", and change the 'Save As Type' setting from the default "Text Document" to "All Files". You should now have the file testscript.avs sitting in the directory where your video file is.

Next, open Premiere and create a new project like you would if you were making a new video. Now, import a new file- and choose the testscript.avs file. You'll probably have to tell Premiere to look at all filetypes, since I don't think it will list .avs files as natively being a video file (Premiere 6.5, which I use, I know doesn't- but I don't know if CS3 does or not).

Unless I've left something out, you should now have the video file that you linked to in the script (FILENAME) in Premiere, and you can put it on the timeline and work with it just as if you'd imported the FILENAME video file.

OK, so you may well be thinking, "How the hell is this useful, I could just have imported the file directly...." Well, for what we've just done, you're right. But, you can do a hell of a lot more than just open a file with it. Once you have a file in the AVS script, you can do all sorts of different things with it- including the sharpening you asked about initially. But, let's start by demonstrating something much more obvious and simply done.

Go back to Notepad, and open testscript.avs up again. It's just a normal text file and any text editor can open it, but Notepad is the most common stand-alone way to edit them since it doesn't try and put lots of other crap into the file like WordPad or Word tend to. After the existing line, copy and paste in the following lines:

ConvertToRGB32()
Invert("RBG")

Make sure they are each on their own line. Now, save the file in the same manner as you did initially, only call it "inverted.avs" Next, go back to Premiere and import inverted.avs. Notice anything different? The script should now have inverted the file the same as if you're applied the Invert effect in Premiere.

All the other things you do in AviSynth are done the same way- by entering the commands for the different effects into the script file and then using the script file in Premiere, VirtualDub, etc. as if it were a regular video file. To sharpen all the clips in your video, you would create .avs scripts for each of the files that you that applies one of AviSynth's sharpening filters. Those filters have a hell of a lot more options to set though, so for that you will have to read a bit on them. There's a decent bit that has been discussed on these forums about sharpening filters, so search a bit on it- you'll almost certainly find at least a few examples to try out. But hopefully at least this has shown you what AviSynth can do (at a very basic level) and how you go about getting it to do those things.

I've typed all of this up from memory (except for looking up and checking the syntax for the Invert command...), so hopefully I've not screwed up anywhere.... :P
Bob 'Ash' Babcock
Electric Leech Productions
User avatar
Ashyukun
Medicinal Leech
 
Joined: 04 Sep 2002
Location: KY

Postby Vivaldi » Mon Aug 18, 2008 1:32 pm

Typhoon859@GMail.com wrote:
JaddziaDax wrote:
JaddziaDax wrote:avisynth, what it is and how to use it - that might narrow it down a bit for you....


I can;t learn something when every line is just a bunch of facts that I don't see. That's something you do to memorize and answer the questions on a test. Reading what that says doesn't mean I'll be able to apply it in any way when it comes down to doing w/e it is I need to do. The explanation in the beginning of what AVISynth is was just as vague as my understanding of it.

I'm sorry, that's one of the dumbest things I've heard in a long time.

Look, I'll keep this simple. There's alot of stuff in that guide. I doubt you read it, but It spells out exactly what AVIsynth is, just like you're asking us to do.

and

It tells you how to use it, along with follow along instructions.

Now let me explain what it is quickly.

AVIsynth is basicly just code, similer to programing. You just type a code in notepad that selects a video you have, then type in commands and save it as an .avs file. Thats ALL

For instance, to sharpen a Mpeg2 video, you type something like


Code: Select all
MPEG2source("C:\Documents and Settings\Vivaldi\My Documents\My clips\Noein VOBs\DGIndex\VTS_02_4.d2v")
vmToon(strength=0)


Now tell me exactly, what, if any of that don't you get.[/code]
Image
Image
<Kenzichu> HAHAHA!!
<Kenzichu> everyone died!
User avatar
Vivaldi
Polemic Apologist
 
Joined: 29 Sep 2007
Location: Petting mah cat..

Postby Typhoon859 » Mon Aug 18, 2008 4:34 pm

"AviSynth is, in effect, a video processing scripting language. You take a text file, write a list of commands in it, and save it with the extension .avs. If you've installed the AviSynth plugin for Premiere (which the AMVApp does for you), Premiere will read that file as if it were a video file just like a .avi (assuming you've given it valid commands within that file). "

OH MY GOSH! THANK YOU! Now was that so hard to explain? Thank you. And everything else was helpful as well.

And Vivaldi, I understood everything you said too. Thanks for the example. I'm not an idiot...
Typhoon859
 
Joined: 15 Sep 2007

Postby Douggie » Tue Aug 19, 2008 9:18 am

How about nesting? Assuming you want to apply the same effect to everything in a sequence, try this: create a new sequence, then add the sequence where you've put the clips in, into the new sequence. Now you can apply an effect to that sequence to apply it to all clips.

If you get what I mean.

That is what I always do, it's also useful for ordering your clips - in some way.
User avatar
Douggie
CHEESECAKE!
 
Joined: 19 Mar 2006

Postby Kitsuner » Tue Aug 19, 2008 2:08 pm

Export the entire video, import it back into your editing program, apply effect.
OtakuGray wrote:Sometimes anime can branch out to a younger audience and this is one of those times where you wish children would just go die.
Stirspeare wrote:<Stirspeare> Lopez: Vanquish my virginity and flood me with kit. ["Ladies..."]
User avatar
Kitsuner
Maximum Hotness
 
Joined: 16 Feb 2003
Location: Chicago, IL
Status: Top Breeder

Postby Typhoon859 » Tue Aug 19, 2008 3:30 pm

MrDoctorDoctorGimmeDaNews wrote:Export the entire video, import it back into your editing program, apply effect.


That would mean a greater loss in quality considering I'd have to encode it twice. That's besides the fact that that isn't very efficient.
Typhoon859
 
Joined: 15 Sep 2007

Postby BasharOfTheAges » Tue Aug 19, 2008 5:59 pm

Typhoon859@GMail.com wrote:
MrDoctorDoctorGimmeDaNews wrote:Export the entire video, import it back into your editing program, apply effect.


That would mean a greater loss in quality considering I'd have to encode it twice.
Not if you export uncompressed.
Another Anime Convention AMV Contest Coordinator 2008-2014 & Head of the AAC Fan-works Theater - follow us on Twitter: https://twitter.com/#!/AACFanTheater
:sorcerer: :sorcerer: |RD: "Oh, Action!" (side-by-side) | |
User avatar
BasharOfTheAges
Just zis guy, you know?
 
Joined: 14 Sep 2004
Location: Merrimack, NH
Status: Extreeeeeeeeeme

Postby Ashyukun » Wed Aug 20, 2008 10:00 am

Generally I think going the AviSynth route is the simplest, though the other methods would also work. You can simply make .avs files for all of the files that you're using in the project and then pull the bait-and-switch trick to get Premiere to use them instead of the original ones, and you don't lose any of the effects or work that was done in Premiere already.
Bob 'Ash' Babcock
Electric Leech Productions
User avatar
Ashyukun
Medicinal Leech
 
Joined: 04 Sep 2002
Location: KY

Postby Typhoon859 » Wed Aug 20, 2008 3:00 pm

Ashyukun wrote:Generally I think going the AviSynth route is the simplest, though the other methods would also work. You can simply make .avs files for all of the files that you're using in the project and then pull the bait-and-switch trick to get Premiere to use them instead of the original ones, and you don't lose any of the effects or work that was done in Premiere already.


Oh, really? So if I import the avs file with the same name as the video file in which the source of the avs file is the actual video, Premiere will not see the difference? But hold on; do I import the avs file first and then clear the video file or what?
Typhoon859
 
Joined: 15 Sep 2007

Postby Ashyukun » Wed Aug 20, 2008 3:17 pm

Typhoon859@GMail.com wrote:Oh, really? So if I import the avs file with the same name as the video file in which the source of the avs file is the actual video, Premiere will not see the difference? But hold on; do I import the avs file first and then clear the video file or what?

What you do is create .avs files of all of the existing files your project uses- it's important to match them up 1:1, i.e. for every video file you make an avs file that opens that video file and applies whatever effect(s) you want. However, the name is largely irrelevant, but it's usually easier to call it the same thing as the video file except with the .avs extension so it's obvious what video file it matches up with.

What you then do is (making sure Premiere is shut down) to move all your original video files to a new folder- I usually create a folder wherever they started off and just drag and drop them in there, leaving the .avs scripts in the original folder. Now, start up Premiere and load up your project file. Premiere will go to load up the video files and go, "Hey! Wait a minute! I can't find these files....". It will then ask you to locate the files for it, usually opening up the directory the original files were in. Premiere will ask you for the files one-by-one and tell you which one it's looking for- here's where having named the avs script files the same as the video files is useful- you'll need to switch it so you can see 'all files' and not just whatever Premiere defaults to, and then select the appropriate avs script. Repeat for all the video files.

This is what we usually refer to as 'bait-and-switch', though with a slightly different approach to it than traditionally. The procedure originated a few years ago when it really wasn't practical from a processing power standpoint to directly edit the .avs scripts we use to load up and process DVD footage (inverse telecine takes up a fair bit of power, not to mention some of the fancy effects we occasionally have to use to improve the quality of footage). So, what we would do was to develop the scripts for the DVDs, and then use those scripts to make low-quality, small MJPEG-encoded (MJPEG is frame accurate but very fast) avi files for each script, and use those to edit with in Premiere. Once we'd finished editing and were ready for the final export (or needed to export footage to After Effects or for some other reason), we'd pull the 'bait-and-switch' to swap in the full-quality .avs scripts and then run the export.
Bob 'Ash' Babcock
Electric Leech Productions
User avatar
Ashyukun
Medicinal Leech
 
Joined: 04 Sep 2002
Location: KY

Previous

Return to Adobe Software

Who is online

Users browsing this forum: No registered users and 1 guest