Log in

View Full Version : New AviSynth tool - AvsP v1.4.0 (6/5/07)


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17

Alain2
12th October 2006, 19:29
No, it's a valid request, and it's probably the next big thing I need to work on. As I mentioned in an earlier post, the way the preview and sliders are currently layed out works fine with me, but I certainly can understand how it is not ideal when working with large resolution files. It won't be easy to rearrange all the layout code, but it's something I will have to do eventually (but I can't make any guarantees as to when, let's just say it's getting near the top of my todo list).
Great! for me it's not that urgent anyway, I can do the same by disabling the video and use vdubmod to preview scripts (with the interleave method it's ok)

I see the problem, but I'm not sure what the solution would be. Clearly you can use the interleave function in AvsP in a single tab just like you would when using notepad++/vdub, it would be identical. As far as I see it, using multiple tabs requires loading multiple frames (the first time), I don't see any other way around it. Perhaps I'm misunderstanding your request, so feel free to correct what I'm saying here.
Well I don't know the solution either ^^ just wanted to give you a flavour of what I was doing, but I can't think either of a way around it using AvsP features.

Yeah, this was done to avoid strange behavior when changing scripts. In other words, if you disable the preview and it stays at frame 5000, then you switch tabs to a script with only 200 frames, the video slider is in a position which doesn't exist. If you think that behavior is acceptable, I'll do some tests to see if it doesn't cause any problems and change the behavior in the next release.
Personnaly this behaviour is acceptable, I never work on totally different avs at the same time, so this case is unlikely to happen for me (and with my interleave way of doing things I definitely won't have this multi-clips problem ^^)
Look at how VDub does it. When you refresh, the slider says 5000, which is obviously wrong, but hitting Left takes you to frame 199. That seems like a decent compromise.
If what Richard is suggesting is easy enough for you to do, that would be a very acceptable compromise :)

[edit] As the site is down can you add my translation webpage to your first post ? Or I can just show the direct link at every update of AvsP : AvsP French Translations (http://homepages.nildram.co.uk/~cestial/AvsP/)

qwerpoi
12th October 2006, 19:51
MonoSpaced Fonts for the Masses

http://www.tobias-jung.de/seekingprofont/

http://www.proggyfonts.com/index.php?menu=download

http://www.netalive.org/tinkering/triskweline/
Good stuff, I use the proggy fonts occasionally myself. One thing to keep in mind is that not all monospaced fonts have the same width when bold, so your columns may not line up perfectly when using the monospaced font option in AvsP. If this bothers you, you can either undo all the bold fonts in "Options -> Fonts and colors..." or simply make sure you use a monospaced font with same bold width.

Look at how VDub does it. When you refresh, the slider says 5000, which is obviously wrong, but hitting Left takes you to frame 199. That seems like a decent compromise.
The frame slider in AvsP already has bounds checking, so I don't think there will be any difficulties with this. I guess I didn't like the idea of undefined positions, but it's probably just me being a bit anal about it :) .

I've been working with hdv files lately and that's exactly what came to my mind. Working with large resolutions would be so much easier with undockable preview window. So I second this request. :)
Yeah, it's been brought up quite a few times, so I guess I better start cracking on it. I want to give it some thought, since the whole reason for an attached video preview was to avoid managing a bunch of windows, which will definitely be an issue if the video preview, the slider window, and the script editor are all separated. I'll see what I can come up with.

@qwerpoi
I have no problem with the modified version. Thanks a lot.

And I updated Japanese translation. You can get it from the following links:
http://niiyan.net/?AvsP
http://niiyan.s8.xrea.com/blosxom/avisynth/tool/20060920-avsp-ja.htm

The files in these 2 pages are the same. But second page is written by Japanese (for Japanese users).
Glad the fixed version works okay, and thanks for the translation update!

Edit: The second link did not work for me. Also, did you want me to link to the english or japanese page on the AvsP website (when avisynth.org is back up)?

As the site is down can you add my translation webpage to your first post ? Or I can just show the direct link at every update of AvsP : AvsP French Translations (http://homepages.nildram.co.uk/~cestial/AvsP/)
Good point, I'll add the links to the translations to the first post as soon as possible.

nibbles
13th October 2006, 02:56
Ever consider making directly editable slider values the way the
frame number is editable? Awesome changelist. Excellent
things you're doing with Flash, too. Ok nibs.

Veiga
13th October 2006, 05:39
For the first time...
Hello for @All and sorry for my poor english too
qwerpoi congratulation for your very good work and tool. This is the tool !
Something that really make our life easy. Since the... and day after day become better.
I was encouraged to test a lot of plugins
Nothing to suggestion at moment. A little contribution if someone needs, a Portuguese(BR) translation:

qwerpoi
13th October 2006, 06:37
Ever consider making directly editable slider values the way the
frame number is editable? Awesome changelist. Excellent
things you're doing with Flash, too. Ok nibs.
Yes, it's a good idea, unfortunately for many people the sliders often take up too much space as it stands. As I mentioned earlier, I'm going to start working on a way to combat this space issue, but for now, you can use the cumbersome workaround of editing the numbers directly in your script and refreshing the preview. Oh, and I can't take credit for the cool stuff with the Flash demo - I made the demo using Wink (http://www.debugmode.com/wink/), a completely free but unbelievably powerful program for making any kind of Flash tutorial. Despite being very powerful and feature rich, this thing is an absolute breeze to use (I was able to start using it without even reading a tutorial or help file), and I can't imagine any payware doing a better job.

For the first time...
Hello for @All and sorry for my poor english too
qwerpoi congratulation for your very good work and tool. This is the tool !
Something that really make our life easy. Since the... and day after day become better.
I was encouraged to test a lot of plugins
Nothing to suggestion at moment. A little contribution if someone needs, a Portuguese(BR) translation:
Nice! I'll add the link to the first post as soon as the attachment gets approved. Thanks for the high praise, and welcome to the forum!

check
13th October 2006, 10:38
Loving the new updates - this program was exceptionally useful for a recent 1080i > 768p conversion I did where I had to play with virtually every slider setting in 3/4 filters :D

That nicely brings me back to that recurring niggle of yours - video preview window sizes :P Personally, I can't imagine looking at the video in anything but 100% size, and having a detached window would remove much of the advantage over notepad + vdub for me. How about something like a toggle which flips the video preview area (for all 'similar' tabs) between full size and a preset size? You could set the toggle to only work when the video is higher than x pixels, and to switch between 100% and x pixels high.

Also, ctrl-r isn't being used for anything, how about mapping that to refresh so I don't need to move my fingers to reach f5?

niiyan
13th October 2006, 15:13
Edit: The second link did not work for me. Also, did you want me to link to the english or japanese page on the AvsP website (when avisynth.org is back up)?

Really? It works now for me.

Anyway, I hope you'll add the link to my Japanese page on your AvsP website. Looking at access log, I noticed some Japanese users came to my English page via your website. But I think it is easier for Japanese to get translation file from Japanese page, rather than English one.

http://niiyan.net/?AvsP exists for you and other non-Japanese users who want to try Japanese interface.:)

qwerpoi
13th October 2006, 19:17
That nicely brings me back to that recurring niggle of yours - video preview window sizes :P Personally, I can't imagine looking at the video in anything but 100% size, and having a detached window would remove much of the advantage over notepad + vdub for me. How about something like a toggle which flips the video preview area (for all 'similar' tabs) between full size and a preset size? You could set the toggle to only work when the video is higher than x pixels, and to switch between 100% and x pixels high.
I'm going to be hard at work this weekend to address this "recurring niggle", so stay tuned :) .

Also, ctrl-r isn't being used for anything, how about mapping that to refresh so I don't need to move my fingers to reach f5?
Refresh is defaulted to F5 based on vdub and some other programs with previews. If it's a finger workout, feel free to change the shortcuts any way you please with "Options -> Configure shortcuts...". You can override any current shortcuts, and your personal changes will be preserved even when you update to a new AvsP version.

Really? It works now for me.

Anyway, I hope you'll add the link to my Japanese page on your AvsP website. Looking at access log, I noticed some Japanese users came to my English page via your website. But I think it is easier for Japanese to get translation file from Japanese page, rather than English one.

http://niiyan.net/?AvsP exists for you and other non-Japanese users who want to try Japanese interface.:)
The link still doesn't work for me (I get a strange message that says "Software error: Invalid [] range "|-o" in regex"), but if it works for you it may just be a problem on my end. I'll update the link on the first post and the website as soon as www.avisynth.org is back up.

zemog
13th October 2006, 20:58
Spanish translation for AvsP v1.2.1

Alain2
13th October 2006, 21:18
@qwerpoi
- Would it be possible that AvsP loads itself with the same window dimensions (and positions maybe) as the previous session ?

- Is it possible to extend the filter help file call to when the cursor is on the filtername as well, not just in the arguments list ? (that may be difficult as I think you linked it to the arguments calltip that - when the option is selected - auto appear only inside the arguments brakets)

- Is it possible in the Avisynth filter list to default the docs url to the last entered location ? (I'm lazy to change directories for all the new entries I am creating ^^) ; well this request is not important, you can do it if it's a 5sec job, if not then forget it ^^

- Can you add a custom color in the appropriate section for the brakets highlighting when the cursor is next to them ? The light blue is not very noticable for me, and I changed the colors now anyway to match my n++ scheme, and I don't see the color difference anymore...

- Maybe you can enhance the line highlighting effect so that if a line ends with a \ or start with a \, it is considered as a continuation of another line and highlight the whole block ?

[edit] More ideas ^^
- An option/shortcut that open the Avisynth filter list and select the filter corresponding to the cursor in the script editor window, or prompt for inserting a new one (and autocomplete the name, leaving me with just the arguments to fill in)

- Another family of highlights, dedicated to the terms Function, { and }

- Add syntax highlights options for the calltips text

- Show the full path to the current tabbed script in the AvsP window title

- Option / symtax for the external player so that we can open the real script with it, not preview.avs ; at the moment using preview changes are not reflected to vdm when I press F5 (in vdm ^^)..

- Make the video shortcuts editable as well (up,down,left,right) ; I often get confused as for which window has the focus (video is covering the script so shift+tab often covers the position where is the cursor), and use up and down in video instead of editor...

[edit2] There seem to be a problem with parsing a script using the conditional environnement: quotes may not be closed on 1 line and still be valid ; here (http://img153.imageshack.us/img153/3371/templb3.jpg) is a screenshot of what I see with the latest mrestore avs from momonster

@check
Why is a detached window not suitable ? If you like to work on the script with the video hidden, then you have to key in commands to show / hide it anyway, and if you like to always have the video open with your script visible, then you can just move the video window below the script window, even make the video window position linked to the script window position so that when moving the script window the video window follow.. ?

check
14th October 2006, 03:52
I would much prefer an inline window primarily so alt-tab doesn't get more cluttered and I can go back and forth between other things easier.
In addition, either the video window would need to be 'always on top', which would of course ruin alt-tabbing to alternate programs, or you would need to manually resize the script window for every new video with different dimensions you do - playing with non maximised windows is never fun :).

qwerpoi
14th October 2006, 05:54
Spanish translation for AvsP v1.2.1
Thanks! I updated the link on the first post, when avisynth.org gets back up I'll probably host the translation file there as well.

@Alain2
Holy schlamoly, that's a lot of requests :D ! My plate is pretty full right now, but I've added all your requests to my todo list, some are much harder to do than others, so I'll only do the easier ones for the moment.

- An option/shortcut that open the Avisynth filter list and select the filter corresponding to the cursor in the script editor window, or prompt for inserting a new one (and autocomplete the name, leaving me with just the arguments to fill in)
Not sure what you mean when you say "select the filter corresponding to the cursor in the script editor window". It sounds like you are asking for some sort of autocomplete mechanism, which already exists with the shortcut Ctrl-Space (for example, type in "bl" and hit Ctrl-Space to see all the filters that start with "bl"). I'm probably misunderstanding something, so please elaborate.

I would much prefer an inline window primarily so alt-tab doesn't get more cluttered and I can go back and forth between other things easier.
In addition, either the video window would need to be 'always on top', which would of course ruin alt-tabbing to alternate programs, or you would need to manually resize the script window for every new video with different dimensions you do - playing with non maximised windows is never fun :).
I personally prefer an attached window myself (hence the current design), but ultimately I'll have to admit it's a user preference. Giving it some careful thought, I believe the issue is not so much having a separate video preview window as it is giving the video window as much screen real estate as possible. In the current design the script window and the user sliders take up a lot of room, making it difficult to edit large resolution files. Furthermore, AvsP acts differently when compared to other Windows programs, in the sense that it can frequently resize the main window and it enforces a minimum window size. These are the issues that I'm trying to address for this next release, it requires a huge amount of rewriting so please be patient :) .

check
14th October 2006, 06:01
arr, sorry - sounds like my vocabulary is wrong. by 'inline' I was referring to how the system currently is.

qwerpoi
14th October 2006, 06:10
arr, sorry - sounds like my vocabulary is wrong. by 'inline' I was referring to how the system currently is.
Not at all, I understood what you meant (I think). What I meant to say was that you and I seem to be the vocal minority, a lot of people request a non-attached video preview. And with good reason, I'm always the first to admit that AvsP's design is not optimal when working with big (read: gigantic :) ) video resolutions, something which needs to be addresed in this hi-def content world we live in today.

Alain2
14th October 2006, 13:11
@qwerpoi
Don't worry about all the requests I made, I've just written down the thoughts I had while using AvsP; as I just started to make it my main avs editor, I can see all the small details that I would like in. But of course I don't expect you to realize them all immediately, if at all ^^ AvsP is already a fantastic editor and video previewer as is :)

[edit] While I am at the requests ^^ Option to allow only 1 instance of AvsP

@check
I think having a separate window doesn't automatically mean having it in the alt+tab list; for instance look at winamp, you can have additional windows, they are even dockable (but this may be difficult to do in python ^^).
Also if you make this window position slaved to the editor window position, them I don't think there would be a big difference with the current system: for instance the upper left corner of the video window is the refence used for relative positon to the editor window, and the video windaw will grow / shrink at the right and bottom only. Here are 2 pictures to illustrate what I mean: Video Focus 1 (http://img82.imageshack.us/img82/9145/tempmu2.jpg) 2 (http://img172.imageshack.us/img172/5568/tempql1.jpg), editor focus 3 (http://img80.imageshack.us/img80/5625/temptf9.jpg)
Wouldn't that be acceptable ?

check
14th October 2006, 13:30
I'm not sure what advantages that would have. If it's not even an independant start menu item, that means you will have to flip between them with a key combination anyway - which is exactly the same as having it inline.

As I said above, changing window sizes is never cool, the relative location of items will not be stable between program instances. The slider bar will move to a different location with every different resolution video I open, the video will be differently located on the screen every time (instead of being nicely aligned a fixed position off the bottom left), nothing will be stable. While change might be nice in real life - I want familiarity in my program UI :P

ps, AvsP 1.2.1 mirror: http://files.project357.com/uploads/index.php?dir=&file=AvsP_v1.2.1.zip - I boosted the max upload size to 8mb so feel free to use this until the main site returns.

Alain2
14th October 2006, 15:23
I think you see AvsP mainly as a video previewer like vdub, whereas I see it primiraly as an avs editor.. thus our different points of view ^^ Oh well, qwerpoi is in charge anyway and will see whats best. For me as it is at the moment is already nice and the editor features (calltips + helpfiles link) are a very big plus compare to other editors.

[edit] Oups forgot to answer your question Not sure what you mean when you say "select the filter corresponding to the cursor in the script editor window". It sounds like you are asking for some sort of autocomplete mechanism, which already exists with the shortcut Ctrl-Space (for example, type in "bl" and hit Ctrl-Space to see all the filters that start with "bl"). I'm probably misunderstanding something, so please elaborate.
What I meant was a direct link to the filter in the avisynth filters list editor ; see this picture (http://img182.imageshack.us/img182/6600/temprh4.jpg) to illustrate it : if the cursor was on the DeHalo_alpha name/arguments, the request if for a shortcut to open the Avisynth filters list at the corresponding filter in the list, as shown on the picture. If it does not exist in the list, prompt for adding it

qwerpoi
14th October 2006, 20:49
@qwerpoi
Don't worry about all the requests I made, I've just written down the thoughts I had while using AvsP; as I just started to make it my main avs editor, I can see all the small details that I would like in. But of course I don't expect you to realize them all immediately, if at all ^^ AvsP is already a fantastic editor and video previewer as is :)

[edit] While I am at the requests ^^ Option to allow only 1 instance of AvsP
Thanks for being patient, and feel free to shoot off as many requests as you like - that goes for everyone, just so long as you understand that I can't implement everything right away, and some good ideas are simply too difficult for me to handle. As for one instance of AvsP, from my experiments it's doable, but it requires threading stuff, which increases the number of dependencies which actually increases the download size dramatically (~1mb). I'll look for other ways to do it when I get the chance.

AvsP 1.2.1 mirror: http://files.project357.com/uploads/index.php?dir=&file=AvsP_v1.2.1.zip - I boosted the max upload size to 8mb so feel free to use this until the main site returns.
Thanks for the mirror. It looks like avisynth.org will be up soon, I was able to partially access AvsP's pages for a while yesterday. Be aware that I wasn't able to update the website since avisynth.org went down, so for now you need to download the newest version from one of the mirrors.

I think you see AvsP mainly as a video previewer like vdub, whereas I see it primiraly as an avs editor.. thus our different points of view ^^ Oh well, qwerpoi is in charge anyway and will see whats best. For me as it is at the moment is already nice and the editor features (calltips + helpfiles link) are a very big plus compare to other editors.
Thanks for acknowledging that I'm in charge, feels great! :) I'm glad you like the program as an editor, I've put a lot of effort into making it competetive in that regard, I'll also try to do my best in making everyone happy with the video preview part as well.

What I meant was a direct link to the filter in the avisynth filters list editor ; see this picture (http://img182.imageshack.us/img182/6600/temprh4.jpg) to illustrate it : if the cursor was on the DeHalo_alpha name/arguments, the request if for a shortcut to open the Avisynth filters list at the corresponding filter in the list, as shown on the picture. If it does not exist in the list, prompt for adding it
Hey, that's a good idea! I'll see what I can do, can't guarantee I'll be able to get it done by the next release but it will be there eventually.

honai
15th October 2006, 15:15
@qwerpoi

any chance seeing the AvsP session/script formats unified into one that is compatible to .avs scripts? Perhaps something along the way of putting the AvsP triggers/directives into Avisynth comments above/below the referenced script lines, with some decorative literals surrounding them, much like the coding directive in the first line of Python scripts (which, if I remember correctly, stems from emacs).

That way you'd only need one .avs to work with.

qwerpoi
15th October 2006, 21:17
The AvsP website is back up, so you can use the regular download links and read the online documentation now. Be aware that the documentation is a touch out of date, I'll update it when I get the chance.

any chance seeing the AvsP session/script formats unified into one that is compatible to .avs scripts? Perhaps something along the way of putting the AvsP triggers/directives into Avisynth comments above/below the referenced script lines, with some decorative literals surrounding them, much like the coding directive in the first line of Python scripts (which, if I remember correctly, stems from emacs).

That way you'd only need one .avs to work with.
The session format has a lot more info than just the scripts, it saves tab positions, the current video frame, preview visibility, video bookmarks, etc. The script information in the session file is different as well, as the session contains all unsaved script changes as well as preserved AvsP-specific syntax (user sliders and toggle sections), which gets stripped from a saved .avs file.

So I guess I need to know why you would need only one format to work with. My intention with sessions was for it to be AvsP specific, I don't see where else you would want to use it. If there was some specific reason you need to have a compatible multi-file format, perhaps I can implement a separate feature.

IceManTX
16th October 2006, 20:06
This tool is amazing! I've just been learning/using Avisynth for a month now and I don't know how I missed AvsP until now.

For the first time, this weekend, I was able to actually see instant differences between plugins that I couldn't decide on before. Now I feel like I am really using the best items and settings for my material in my script.

I really love this program.

THANKS!

Alain2
16th October 2006, 23:51
Small error when trying to open a script I had : ici (http://img221.imageshack.us/img221/1696/tempgj6.jpg) (difficult to catch as it's closing the window immediately after crashing ; maybe it's possible to catch errors and let them displayed to help you debug ?)

qwerpoi
17th October 2006, 00:18
This tool is amazing! I've just been learning/using Avisynth for a month now and I don't know how I missed AvsP until now.

For the first time, this weekend, I was able to actually see instant differences between plugins that I couldn't decide on before. Now I feel like I am really using the best items and settings for my material in my script.

I really love this program.

THANKS!
You're welcome! The program's been out for only about a month and a half, so it's not surprising that you just found out about it. Glad you're finding it useful.

Small error when trying to open a script I had : ici (http://img221.imageshack.us/img221/1696/tempgj6.jpg) (difficult to catch as it's closing the window immediately after crashing ; maybe it's possible to catch errors and let them displayed to help you debug ?)
Thanks for pointing out the bug (thanks especially for taking that nimble screenshot :) ), I'll get on it. As far as catching errors, the error message window sticks around under most circumstances, making it easy to report bugs, I'll see what I can do about catching exceptions which cause the program to exit. And I'm guessing you meant to type "here" instead of "ici", c'est la vie :) .

qwerpoi
17th October 2006, 03:23
@Alain2
I tried reproducing the bug (it seemed like a unicode filename issue), but didn't succeed. Could you tell me exactly how it occurs, and could you also upload your options.dat file? Hopefully that will give me a better idea of what's going on, thanks.

communist
19th October 2006, 06:23
Small suggestion: Could you add a "Copy Script" to the Edit or context menu that would copy the currently selected script / lines in their final form - without the slider definition but with their current defined values. That way you can post the script on the net without having to remove the slider definition or save it explicitly to a file :)

rfmmars
19th October 2006, 06:33
I wanted to report a couple of problems using this fantastic program.

When using a script for HDRagc where multible lines for varables are used, on a bright scene, you can see a brigther border or a darker square covering about 80% of the screen. It varies on different workstations.

The solution was to have all the varibles for a plugin on just one line.

The second problem pops up after a session has been operating for a long time. The preview screen in the "AVSp's" window appears correct but when that script is saved or called by F6, the image in VD-dub is dark and distored.

The solution is to quit AVSp and load the session again.

Richard

qwerpoi
19th October 2006, 08:15
In case anyone was wondering, I'm working hard on the upcoming release, I'm about 90% done with rewriting all the layout code (which will hopefully solve problems some people are having with large resolution videos). I'd estimate the new release to be out sometime during the weekend.

Small suggestion: Could you add a "Copy Script" to the Edit or context menu that would copy the currently selected script / lines in their final form - without the slider definition but with their current defined values. That way you can post the script on the net without having to remove the slider definition or save it explicitly to a file :)
Hah, interesting request. I'll try and have it in the next release.

I wanted to report a couple of problems using this fantastic program.

When using a script for HDRagc where multible lines for varables are used, on a bright scene, you can see a brigther border or a darker square covering about 80% of the screen. It varies on different workstations.

The solution was to have all the varibles for a plugin on just one line.

The second problem pops up after a session has been operating for a long time. The preview screen in the "AVSp's" window appears correct but when that script is saved or called by F6, the image in VD-dub is dark and distored.

The solution is to quit AVSp and load the session again.

Richard
These problems sound strange, from your description it seems like there is a bug when saving certain scripts. I'll try and take a look into it but it would be very helpful if you could post the script or scripts (including any sliders) which causes the problems to arise.

foxyshadis
19th October 2006, 18:48
Have you considered having an .avsp extension for files with all the markup? And saving .avs without (or with the markup commented out)? As it currently stands it's kind of annoying to lose all the markup everytime I close it, especially since I often use old scripts as starting points for new ones. ^^; Sorry, I know that's just one more thing to worry about.

If the new layout has the capability to show the video on a second monitor (as a window that gets dragged around or whatever), that would be awesome.

rfmmars
19th October 2006, 19:14
These problems sound strange, from your description it seems like there is a bug when saving certain scripts. I'll try and take a look into it but it would be very helpful if you could post the script or scripts (including any sliders) which causes the problems to arise.



..............................................................................................................................
Good AVSp Session
http://www.uploading.com/files/N0RG6IUG/SuperMaster.ses.html
...............................................................................................................................



...............................................................................................................................
http://www.uploading.com/files/K9KCYTWM/Good_AVSp.jpeg.html

All Sliders work OK, Export "Script" picture quality fails after hours of using same session.

Problem Preview
http://www.uploading.com/files/PNOR252J/preview_AVSp.jpeg.html

Reloading session solves the problem
................................................................................................................................



................................................................................................................................
Good AVSp Window
http://www.uploading.com/files/K9KCYTWM/Good_AVSp.jpeg.html

80% Square in background
http://www.uploading.com/files/3KD0JVBR/Bad.jpeg.html

Problem seen when more than one line is used to call varibles

See below

AVISource("C:\hdragc.avi")
LoadPlugin("E:\AVS\Plugins\AGC.dll")

HDRAGC(coef_gain=2.0,reducer=0.3)
HDRAGC(coef_sat=0.8,min_gain=1.5,avg_window=1,corrector=.7)
HDRAGC(max_gain = 4.0 black_clip = 0.1, shift_u = -10

...............................................................................................................................................................

Richard

ChiDragon
19th October 2006, 22:06
Hey, just started using this today. Looks like a pretty awesome program. I've come across what looks like a small bug, I hope this hasn't been mentioned already as I haven't read through the huge thread. If you have the preview hidden, maximize the window, and toggle the preview on, the maximized window jumps down and to the right slightly. Minimizing and then bringing it back up returns it to its proper place, oddly enough.

By the way, would an option to scale all text down or up by a percentage or something be possible? Like CTRL & + and CTRL & - in SciTE if you've ever used that. It looks like I'd have to set up the size for 13 font options whenever I wanted to change it otherwise.

qwerpoi
19th October 2006, 22:31
Have you considered having an .avsp extension for files with all the markup? And saving .avs without (or with the markup commented out)? As it currently stands it's kind of annoying to lose all the markup everytime I close it, especially since I often use old scripts as starting points for new ones. ^^; Sorry, I know that's just one more thing to worry about.
AvsP sessions will save all user sliders and toggle tags, so that may be a solution to what you're looking for, although perhaps a little clunky, since you save all the other open tabs along with. In fact, you can turn on the option to always load your last session (Options -> Program settings... in the Misc tab) so you never "lose" markup when closing and opening the program. If either workaround isn't good enough, let me know.

If the new layout has the capability to show the video on a second monitor (as a window that gets dragged around or whatever), that would be awesome.
It will be there eventually, but not necessarily in the upcoming release.

@rfmmars
Thanks for the files and info, I'll try and figure out what's going on pronto.

Hey, just started using this today. Looks like a pretty awesome program. I've come across what looks like a small bug, I hope this hasn't been mentioned already as I haven't read through the huge thread. If you have the preview hidden, maximize the window, and toggle the preview on, the maximized window jumps down and to the right slightly. Minimizing and then bringing it back up returns it to its proper place, oddly enough.
You're right, it is a minor bug, caused by the fact that AvsP tries to resize the window when the program is maximized. It shouldn't occur in the upcoming version, since I'm rewriting the entire part of the program which handles window layout, thanks for bringing it up.

By the way, would an option to scale all text down or up by a percentage or something be possible? Like CTRL & + and CTRL & - in SciTE if you've ever used that. It looks like I'd have to set up the size for 13 font options whenever I wanted to change it otherwise.
Unless I'm mistaken, Ctrl+Numpad Plus and Ctrl+Numpad Minus already work (as a matter of fact both SciTe and AvsP use the same text editing component, Scintilla). If that doesn't work try holding down Ctrl and scrolling the middle mouse wheel up and down.

foxyshadis
19th October 2006, 23:03
Unless I'm mistaken, Ctrl+Numpad Plus and Ctrl+Numpad Minus already work (as a matter of fact both SciTe and AvsP use the same text editing component, Scintilla). If that doesn't work try holding down Ctrl and scrolling the middle mouse wheel up and down.

It will, as long as the cursor's in the text. Clicking in the tab row or the preview area will remove the cursor (which incidentally also stops wheel-scrolling without clicking back in). Just clarifying, doesn't boter me.

The session option looks good, I'll give it a couple days and see if it works well (it should, that's basically how I use editplus anyway).

qwerpoi
19th October 2006, 23:25
It will, as long as the cursor's in the text. Clicking in the tab row or the preview area will remove the cursor (which incidentally also stops wheel-scrolling without clicking back in).
Ah, good catch foxyshadis. What we're basically dealing with is that when the video preview is visible the program has two "modes", a text mode and a video mode, depending on which window has focus. Depending on which mode you're in the program behaves slightly differently; it's one of the more subtle aspects of the program. You can read more about it here (http://www.avisynth.org/qwerpoi/Video.html#video-mode).

And by the way, I believe the Ctrl+mouse scrolling shortcut works in most web browsers, try increasing the font size to gigantic proportions on a friend or co-worker's pc for good clean fun :) .

ChiDragon
20th October 2006, 01:51
Unless I'm mistaken, Ctrl+Numpad Plus and Ctrl+Numpad Minus already work (as a matter of fact both SciTe and AvsP use the same text editing component, Scintilla). If that doesn't work try holding down Ctrl and scrolling the middle mouse wheel up and down.

Ah, sorry about that, and thanks. I guess I was so busy searching the menus and readme for an option like that that I didn't actually try it!

Alain2
21st October 2006, 03:00
@Alain2
I tried reproducing the bug (it seemed like a unicode filename issue), but didn't succeed. Could you tell me exactly how it occurs, and could you also upload your options.dat file? Hopefully that will give me a better idea of what's going on, thanks.
Well actually I didn't keep the dodgy file, and I can't reproduce it now :( Probably a strange character (non ansi/what avsp can cope with) got in there somehow.. How it occurs: .avs files are associated to avsp, and when trying to double clic on this dodgy file, avsp didn't come up but this very quick nag screen only. Process explorer was showing avsp process loading and immediately terminated.

Btw I begin to get used to the video being in the same window than the editor ; only thing required really for me now is the "on the fly" resize of the video in this preview, if possible not affecting the sliders. The resize within the script trick is good but everytime I want to change the clip it means to reload the script.. an independant bicubicresize-like would be better :)

One more thing for your already huge todolist ^^ Can you add a factor to be used in the preview window for the seek bar ? Like default=1 -> as is at the moment; changing it to 3 for instance would make the seek slider go to mod(3) positions only when manually moved (but still move frame by frame when using the arrows shortcuts). This would help me when I use the interleave function to compare clips, to always start from the same clip..

Can't wait to see this new layout now :)
++

qwerpoi
21st October 2006, 13:33
Ah, sorry about that, and thanks. I guess I was so busy searching the menus and readme for an option like that that I didn't actually try it!
No problem, as you point out, there's nothing in the documentation suggesting that it would work. As a matter of fact, I only found out that AvsP could do this about a week ago myself :) , it's a built-in shortcut for the scintilla editing component. What that means is that in general, anything that SciTe could do AvsP can do, so feel free to make requests, some of them will be very easy for me to implement because of this.

Well actually I didn't keep the dodgy file, and I can't reproduce it now :( Probably a strange character (non ansi/what avsp can cope with) got in there somehow.. How it occurs: .avs files are associated to avsp, and when trying to double clic on this dodgy file, avsp didn't come up but this very quick nag screen only. Process explorer was showing avsp process loading and immediately terminated.
I'm guessing you're right about the non-ansi character causing the problem, the strange thing is I've tested AvsP with unicode filenames on my computer, seems to work fine. So if the problem occurs again, try and save either the filename or the options.dat file so I can take a closer look as to what's going on. And by the way, process explorer is an awesome program, I use it all the time myself :) .

Btw I begin to get used to the video being in the same window than the editor ; only thing required really for me now is the "on the fly" resize of the video in this preview, if possible not affecting the sliders. The resize within the script trick is good but everytime I want to change the clip it means to reload the script.. an independant bicubicresize-like would be better :)
The new layout has one major emphasis - allow the video preview to take up as much space as possible. This means the script window and the slider window have no enforced minimum size like they do now, ie the video can take up the entire main portion of the program, although in the new layout you can drag either window to see as much as you want. Redoing the layout like this was (is) surprisingly painful, it took longer than I expected. Anyway, after I get this release out, and it's proven stable, then I'll see what I can do about adding stuff to it, like on the fly resizing and detachable windows.

One more thing for your already huge todolist ^^ Can you add a factor to be used in the preview window for the seek bar ? Like default=1 -> as is at the moment; changing it to 3 for instance would make the seek slider go to mod(3) positions only when manually moved (but still move frame by frame when using the arrows shortcuts). This would help me when I use the interleave function to compare clips, to always start from the same clip..
Interesting request, I'll see what I can do.

Can't wait to see this new layout now :)
++
Neither can I :p . The layout code is pretty much done, still has some weird behavior I'm trying to iron out, so hopefully the new release will be out in a day or two, we'll see.

Henrikx
21st October 2006, 14:10
so hopefully the new release will be out in a day or two, we'll see.
I get already once the lexicon out of the shelf....:)

qwerpoi
23rd October 2006, 21:07
New version 1.3.0, download from the AvsP download page (http://www.avisynth.org/qwerpoi/Download.html), you can use this mirror (http://www.savefile.com/files/189318) if there are any problems. Here's the changelog:

* rewrote entire layout code, size-adjustable subwindows

* make cursor visible when using shift-tab shortcut (suggested by Alain2)

* option to show full pathname on program title (suggested by Alain2)

* filter help shortcut now works when cursor within filtername (suggested by Alain2)

* don't change frame position when disabling preview (suggested by Alain2)

* added option to allow multi-line non-triple strings (thanks Alain2)

* option to use actual avs script with external preview (suggested by Alain2)

* added ability to copy script to clipboard (suggested by communist)

> fixed minor bug with calltip and selecting text

> fixed status bar message for 25% and 50% zoom
The most important change is the fact that the subwindows (the video preview window and the user slider sidebar) are independantly resizable, without any restrictive minimum sizes like before. What this means is that it's possible for the video preview to take up as much screen real estate as possible, useful for editing high resolution files. A couple of things to note about the new layout. First, AvsP tries to automatically determine appropriate positions for the horizontal video preview divider, fitting the video window to the video height. You can take control by dragging the divider to any position - if you do, then the divider will stay at that position, regardeless of the video height. To give control back to AvsP, simply double-click the divider. The vertical user slider sidebar divider is initially set to give the sidebar a width of 300 pixels (you can change this initial value in "Options -> Program settings..." in the "Video" tab). You can show or hide the user slider sidebar by double-clicking the divider, or with the menu command "Video -> Toggle the slider sidebar". One final note is that AvsP tries to resize the program window to allow all subwindows to fit without scrollbars whenever possible, you can disable this behavior in "Options -> Program settings..." in the "Misc" tab.

I'm still working on the details of the new layout, as it still exhibits some strange behavior occasionally, sometimes the divider may be set to an unexpected position, etc. If you have any serious problems (hopefully unlikely), I left the download link for v1.2.1 available on the first post. As always, report back with any bugs or suggestions.

krisq
23rd October 2006, 22:37
This is great :). One thing though, when I load 720p file, the script window is getting covered by video window and slider window. Here (http://img59.imageshack.us/img59/7572/clipdv2.jpg) is an example. Is this an expected behavior?

p.s. I'm dreaming about undockable preview window ;)

qwerpoi
23rd October 2006, 23:10
This is great :). One thing though, when I load 720p file, the script window is getting covered by video window and slider window. Here (http://img59.imageshack.us/img59/7572/clipdv2.jpg) is an example. Is this an expected behavior?

p.s. I'm dreaming about undockable preview window ;)
Yes, that's expected behavior, by default AvsP tries to give the video as much room as possible. You can manually drag the video preview down a bit so you can see your script if you prefer. As far as an undockable preview window, I'll work on it once this new layout proves stable.

Henrikx
23rd October 2006, 23:33
Update German Translation to AvsP 1.3.0

honai
24th October 2006, 00:23
I got the following error:

Traceback (most recent call last):
File "AvsP.py", line 3759, in OnMenuVideoRefresh
File "AvsP.py", line 5371, in ShowVideoFrame
File "AvsP.py", line 5588, in UpdateScriptAVI
File "pyavi.pyo", line 159, in __init__
WindowsError: exception: access violation reading 0x01EE6541

when trying to refresh/view the preview of a 3-hour 1920x1080 clip. Memory consumption rose to 1 GB for AvsP.exe (I have 2 GB actual hardware RAM, 4 GB virtual, 1.4 GB used) before the exception occurred.

Memory constraints?

Alain2
24th October 2006, 00:44
Updated French translation to AvsP 1.3.0

Nice work, the new layout seems to work well! Still not on-the-fly redim (120/200/300% are big jumps ^^ ) but it's better now anyway as I can resize the sliders zone :) If you go for on-the-fly resize some day, it would be gould to allow the resize type selection, like bicubic 0,.75 for instance, so that it matches with what you would get when playing in fullscreen a film in mpc for instance ; the current zooms are not like that so I still prefer to use a bicubic in my script ^^

About the new syntax highlight for strings across multiple lignes, it's working well :) One suggestion about it would be to have an option letting other syntax highlight applicable inside it, for the font only, and keep the strings background color overall ? Could be interesting in these types of script (http://img97.imageshack.us/img97/4764/tempot1.jpg)

Nice work again! and pretty stable so far as usual :)

Rippraff
24th October 2006, 00:48
@qwerpoi

Thanks for the new version. :)
With 1.3.0 I can't use Umlaute (ä ö ü) for the slider labels anymore. If I move the slider with an umlaut the program adds a "]" at the script line e.g. sharpen([<"Schärfen", 0, 1, 0.6>]])and as a result I get an error message in the scriptunexpected character "]" (...preview.avs, line 8, column 11)
For each slider movement AvsP adds a new "]" :confused:

Without the umlaut, say "Schaerfe", everything's fine.

Cu Rippraff

qwerpoi
24th October 2006, 01:40
Update German Translation to AvsP 1.3.0
Thanks!

I got the following error:



when trying to refresh/view the preview of a 3-hour 1920x1080 clip. Memory consumption rose to 1 GB for AvsP.exe (I have 2 GB actual hardware RAM, 4 GB virtual, 1.4 GB used) before the exception occurred.

Memory constraints?
Hmm, I'll take a look into it. Try opening the file in virtualdub or another program and see if you have the same problem, or see if it works in AvsP after restarting your pc.

Updated French translation to AvsP 1.3.0

Nice work, the new layout seems to work well! Still not on-the-fly redim (120/200/300% are big jumps ^^ ) but it's better now anyway as I can resize the sliders zone :) If you go for on-the-fly resize some day, it would be gould to allow the resize type selection, like bicubic 0,.75 for instance, so that it matches with what you would get when playing in fullscreen a film in mpc for instance ; the current zooms are not like that so I still prefer to use a bicubic in my script ^^

About the new syntax highlight for strings across multiple lignes, it's working well :) One suggestion about it would be to have an option letting other syntax highlight applicable inside it, for the font only, and keep the strings background color overall ? Could be interesting in these types of script (http://img97.imageshack.us/img97/4764/tempot1.jpg)

Nice work again! and pretty stable so far as usual :)
Thanks for the translation update! I'll see what I can do about the string highlighting, I'll be working on making the syntax highlighting a little bit more configurable for the next release.

@qwerpoi

Thanks for the new version. :)
With 1.3.0 I can't use Umlaute (ä ö ü) for the slider labels anymore. If I move the slider with an umlaut the program adds a "]" at the script line e.g. and as a result I get an error message in the script
For each slider movement AvsP adds a new "]" :confused:

Without the umlaut, say "Schaerfe", everything's fine.

Cu Rippraff
Wow, thanks for pointing that bug out! I found the cause of the problem, it has to do with certain unicode characters counting as more than one character - I'm surprised your umlaute sliders worked in older versions. Regardless, I've fixed the bug, I'll upload an updated version sometime tomorrow after making sure there's no other immediate problems to take care of.

zemog
24th October 2006, 10:10
qwerpoi: Thanks for these great update. Only a small (possible stupid) question: Why the divisor between video preview and user sliders hasn’t the same behavior that de divisor between script text and video preview + user sliders (double click adjusts de divisor to the video preview size)?.


Here is the Spanish translation for v1.3.0

check
24th October 2006, 11:49
Just wanted to say - the resizeable windows are fantastic! They have turned out everything I hoped them to be - and more :D I'm still playing with python, hope to get some usefule/useable macros made up sometime soon. :)

Rippraff
24th October 2006, 13:20
I'm surprised your umlaute sliders worked in older versions.
In the meantime, me too! :D
After I've posted the behaviour last night, I've tried it again with older versions... and couldn't get it to work (same error).
Unfortunately I can't remember how I've done it before and with what version as I always overwrite old with new AvsP files but i swear it worked before. ;)
Regardless, if you find a way great, if not, hey this is only a cosmetic thing. :)

Cu Rippraff

qwerpoi
25th October 2006, 01:29
New version v1.3.1, download here (http://www.avisynth.org/qwerpoi/Download.html) or use the mirror in the first post. Only minor changes (no new messages so translators don't need to redo their 1.3.0 translations). Here's the changelog:
* click and drag video preview similar to Acrobat Reader

* store last program size and position (suggested by Alain2)

* minor improvements to window layout code

* refresh video appropriately when creating new scripts

> fixed bug with unicode characters in slider labels (thanks Rippraff)
The reason I'm posting the new version so quickly is to fix that one bug with unicode slider labels. The only major feature in this release is the ability to "grab" the video window to drag it around as an alternative to using the scrollbars, pretty much identical to pdf files in adobe acrobat reader. It's probably important enought to redownload for anyone who already got 1.3.0, sorry about the inconvenience.

qwerpoi: Thanks for these great update. Only a small (possible stupid) question: Why the divisor between video preview and user sliders hasn’t the same behavior that de divisor between script text and video preview + user sliders (double click adjusts de divisor to the video preview size)?.
That's a good question. I designed it based upon what I felt what was going to be most often used, the text/video divider fitting the video height and the video/slider divider for showing and hiding. Basically I don't think of the two dividers as similar objects, to me the slider window is more of an optional sidebar. But the fact that the dividers look the same implies that they should behave the same, so certainly one could argue it's not very good design on my part :)

Just wanted to say - the resizeable windows are fantastic! They have turned out everything I hoped them to be - and more I'm still playing with python, hope to get some usefule/useable macros made up sometime soon.
It's good to hear that it's working well for you, it took a lot of effort to make, a lot more than I thought, so it's good to know that my efforts were not wasted. Hope the "grab" feature comes in handy for you as well. Oh, and if you come up with some interesting python macros that you think will be useful to others, be sure to post them here, I'd definitely like to see what other people come up with.

Rippraff
25th October 2006, 02:11
Thanks again for the new version, qwerpoi, much appreciated.
It works like a charm. :)

Cu Rippraff