PDA

View Full Version : Request for gui for color adjustment


Zarxrax
12th May 2006, 03:18
I don't believe anything like this has been made for Avisynth yet, so may I humbly request that someone write a filter which displays a gui where you can adjust parameters for Levels, Tweak, and ColorYUV? Color adjustment filters like these can be a real pain to adjust properly without visual feedback.

Ebobtron
12th May 2006, 04:31
@Zarxrax

Allthought not a filter, avsFilmCutter (http://forum.doom9.org/showthread.php?t=97438) ... http://members.aol.com/avsfilmcutter can provide the functional equivalent. Or close to it.

Select "w/Script Editor" from the preview window menu or the script options/preview option menu while using the script editor.

The preview window will show your video, the navigation controls, then a smaller script window.

Modify your script's numbers and press update.

If you use DirectShowSource alot, you may have to wait until filmcutter matures it's direct show viewer.

FilmCutter may seem a little difficult to use but if you right click something I think you can figure it out.;)
Good luck

dosdan
12th May 2006, 06:38
Try using VdubMod. It has a script editor and you can tell it to load the AVS into the script editor on opening.

Procedure.
1. Open or drag-&-Drop your script.avs into VdubMod. Move to the part of the movie you want to use for adjustment purposes.
2. Move/resize the VdubMod widow so you scan see the script editor window.
3. Make your script changes and press either F5 (save changes and reload into VdubMod from current frame) or F7 (save changes and reload into VDubMod from the start).
4. View the changes, return to script widow, save, reload etc.

Quick and easy.

Also have a nice feature where in VdubMod you mark the start and end frames and upon switching to the editor, click Ctrl-T to paste "Trim(xxxx,yyyy)" into the current cursor position in the editor.

videoFred
12th May 2006, 12:22
Good tips, Dosdan! :goodpost:

I use VDMod all the time...
Always used F7...
Did not know about F5 or Ctrl-T.. :o

Must learn to read the manuals more carefull :eek:


Fred.

brabbudu
12th May 2006, 15:32
Hi,
if you are working in RGB, you can try my plugin for AviSynth;
http://expsat.sourceforge.net
it offers a visual control of parameters as luminance, saturation; i'm working to port it to vdubmod, but it is not yet completed

Zarxrax
12th May 2006, 18:55
Thanks for the suggestions guys, but it's not really what I'm looking for though.

Fizick
12th May 2006, 20:28
Almost off-topic, but resently I learn (by Eudg from Russian forum) about existing almost not-documented key
Ctrl-Space in VdubMod script editor.
Try press it and type C O L ... ;)
You may then press Enter to Autocomplete function names!
For example ColorYUV to stay on topic :)

OvejaNegra
12th May 2006, 20:38
Zarxrax: i´m working on a gui for avs with THAT feature, but you must wait, it has a gui for teh equalizer too. When i finish it, you will know.

Sorry for my english

Fizick
12th May 2006, 20:54
the more new (and old) unfinished AVS editors I see, the more I think, why do not continue develop some existing one.

IanB
13th May 2006, 03:19
Not quite a GUI but could get you by...
Last + BlankClip(Last, 65535) # Pad to at least 65k frames
FreezeFrame(0, 65535, 1234) # pick victim frame
Trim(0, 65535)
Animate(0, 65535, "TryIt", 0, 65535) # Try values

Function TryIt(Clip C, Int I) {
I1 = I % 256
I2 = I / 256
C.Levels(I1, 1.0, I2, 0, 255)
SubTitle(String(I1) + " " + String(I2))
Return last
}Gives a 65K frame clip of frame 1234 with the Levels filter applied with varying values.

OvejaNegra
15th May 2006, 20:49
Fizick: my gui is for personal use, i´m not thinking on make it public, but i will finish it.
Maybe i make it public, but those kind of comments make me unhappy.
Allmost all open source software is unfinished and all programmers don´t have the same ideas.