REMEDIAL SCRIPTING 101
I have many questions about avisynth scripts. I'm a person who likes to know the whats and whys of how something works. It bothers me to type in a line just because someone says it works well. I do it, but I still want to know what the line means, what it does how it works.
So I'm going to start this thread, and ask my questions one line at a time. The idea is that we can all read this thread and get a little tidbit here and there that maybe we didnt know before. Here is a script: Quote:
The first line of the Script: AviSource("movie.avi",false) We are to insert the path to the Movie we are using. Because the first word is AviSource, we know that source must be an AVI. Is this correct? Question. Are there other identifying words for other sources? I.e. MpgSource? DirectshowSource? Also, Why the ",false"? What does that do, and why is it there? ### For those who wish to jump ahead of these questions, here is the link Dialhot posted for the Avisynth manual: http://avisynth.org/index.php?page=AviSynthManual ### |
Re: REMEDIAL SCRIPTING 101
Quote:
Quote:
-kwag |
BlindPP(cpu=4)
What does this line actually do? The info within the brackets? |
BlindPP is a filter that does a blind post processing. Blind here means that normally such pp should be done only on compressed video with DCT blocks (MPEG4 avi or MPEG1 like KVCD) but here it is done on everything handled by avisynth, uncompressed sources included.
cpu=4 is a parameter of blindPP. If you want to know what it does, you should read the documentation that is provided with the file blindpp.dll (it is generaly called "readme.txt" or "nameoftheplugin.htm"). All plugins have a documentation. |
Quote:
So, Blind Post processing, (or BlindPP) Processes both Uncompressed sources and Compressed ones such as MPEG1 Mpeg4Avi, but will also do pure Avi? Is this correct? QUESTION: What is Blind PP actually doing to the video file? Or is it used mostly when we are unsure of the sourcefiles , and we wish avisynth to be able to "handle" the file regardless of type? REQUEST: Could you post a link to blindPP. I dont see it in Avisynths site. I will read the documentation and post the findings here. [ assuming I understand them. :) ] |
Quote:
Quote:
Quote:
I did a mistake : there is no "blindpp.dll". BlindPP is in fact included in Mpeg2Dec3.dll and you have to read the documentation for this plugin to find the hints aboutu blindPP. |
In fact, BlindPP could be used with a low-quality MJPEG capture :idea: I haven't tried it since the lowest I've ever gone is 18 (PicVideo). I must experiment with this, maybe a slight PP would increase the compression nicely without affecting any details.
|
JPEG compression uses a DCT, so MJPEG uses it also. You're right.
|
Quote:
DCT line MUST contain a BlindPP line and vice versa? |
Not at all. Despite it's name, DCTFilter have little to do with DCT blocks. It's a filter that use a DCT operation for other purpose and it can be use on every source.
|
Next Line:
Blockbuster() QUESTION: What specifically does this do? By the sound of it my guess is it removes blockbuster jibberish introduced/designed to prevent persons from copying old VHS movies. But thats probably totally wrong. QUESTION The paramaters between the brackets are telling it to do what? |
Quote:
So the DCT filter is useable on any source to improve it, and it is not being used in the original posted script just BECAUSE BlindPP was invoked earlier. Rather it is being used because it is doing some good, whether or not this particular source has DCT Blocks in it. But since we know it does have DCT Blocks because of its type (MPG4) Divx, we must use the Blindpp line in order for the script to work. Am I getting it right? |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.