Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th November 2006, 09:02   #481  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Quote:
Originally Posted by Fizick View Post
I vote for semi-transparent tooltips
Yeah, I'd like to try something like that, but unfortunately I didn't write the code that provides the tooltips (I'm using wxStyledTextCtrl which is a wrapper for Scintilla), so I can't directly access the tooltip window to change its properties. If someone thinks there is a straightforward way to do it, I'm all ears.

Quote:
Originally Posted by foxyshadis View Post
Or just add end-of-script trappings to a second script, which just import()s the first one.
Hey, that's a great idea, should make things work perfectly! I should have thought of it myself at the time - sadly, my Avisynth scripting skills are not first class, which is somewhat ironic given the fact that I am trying to write a top-of-the-line Avisynth editor .
qwerpoi is offline   Reply With Quote
Old 30th November 2006, 11:59   #482  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Export or AVS shows only black in VD(xxx)

Ok I been dealing with a problem where the screen in AVS-p doesn't match the AVS file or external viewer which is VD, any version.

However tonight all I got was a black screen upon export where you could see some low brightness chroma displayed.

I had made a slide show where there was 5 seconds of black before a fade up to normal brightness of the slide. The first mpeg2 I made was frameserved from VDmpg2. I notice the first slide was very dark but all the rest were ok. I am using a heavy modified HDRagc script and never this seen before, but have seen the non matching displys between VD(xx and AVs-p. I simply corrected this before in my NLE.

So to solve this startup problem, I added a normal brightness slide in front of the presentation. Well now I have what I want in AVS-p but nothing but black in a avs file or export to any VD(xxx).

The solution was to take out that 5 second black section before the dummy file. So it looks like AVS-p has a problem if there is dead black before the first image of a clip or a slow fade up transistion.

Richard
photorecall.net

Last edited by rfmmars; 30th November 2006 at 12:01.
rfmmars is offline   Reply With Quote
Old 13th December 2006, 13:09   #483  |  Link
krisq
Registered User
 
Join Date: Dec 2003
Location: Poland
Posts: 171
I would love to see somekind of separator for sliders.
example:

sliders for filter1
[separator] which would give horizontal line
sliders for filter2

cheers
__________________
(!sig)
krisq is offline   Reply With Quote
Old 13th December 2006, 22:57   #484  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Contrary to all the rumors, I have not died and gone to developer heaven (or hell, let's rock!). I've just been really busy towards the end of the year, and the stuff I need to do for AvsP is increasingly difficult to implement with decreasing payoff (I like it the other way around ). Nevertheless, I'll try and put out a new release in a week, at least with some bugfixes that need to be taken care of.

Quote:
Originally Posted by rfmmars View Post
Ok I been dealing with a problem where the screen in AVS-p doesn't match the AVS file or external viewer which is VD, any version.

However tonight all I got was a black screen upon export where you could see some low brightness chroma displayed.

I had made a slide show where there was 5 seconds of black before a fade up to normal brightness of the slide. The first mpeg2 I made was frameserved from VDmpg2. I notice the first slide was very dark but all the rest were ok. I am using a heavy modified HDRagc script and never this seen before, but have seen the non matching displys between VD(xx and AVs-p. I simply corrected this before in my NLE.

So to solve this startup problem, I added a normal brightness slide in front of the presentation. Well now I have what I want in AVS-p but nothing but black in a avs file or export to any VD(xxx).

The solution was to take out that 5 second black section before the dummy file. So it looks like AVS-p has a problem if there is dead black before the first image of a clip or a slow fade up transistion.

Richard
photorecall.net
I'll try and do more research, but my thoughts are that it is some kind of memory issue, since there should be no technical difference between AvsP's preview and vdub's preview (both utilize AVIFile libraries as far as I know). If this happens consistently to anyone, please post the script, if it only happens with a specific video, try and post a chunk on rapidshare so I can recreate it.

Quote:
Originally Posted by krisq View Post
I would love to see somekind of separator for sliders.
example:

sliders for filter1
[separator] which would give horizontal line
sliders for filter2

cheers
Hum, I'm trying to think of the best way to specify something like this. I could extend the label syntax to indicate a seperator comes afterwards (i.e., [<"amount",0,1,0>] becomes [<"amount---",0,1,0>] or something). Or I could make a random tag in the middle of the script indicate a separator, like a slider with no inputs (i.e., [<-,-,-,->]). I'll think about it some more, feel free to add your own 2 cents.
qwerpoi is offline   Reply With Quote
Old 14th December 2006, 07:46   #485  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Quote:
I'll try and do more research, but my thoughts are that it is some kind of memory issue
No I don't think its a memory thing, I have the problem on all five workstations.

What I have found is it happens only when I add Sliders to the HDRagc scripts. If I simply call HDRagc() no problem. Sometime it works ok but most of the time the contrast is extreme or black with just a hint of chroma in the export window. Even if you save the script, and load into Vdub, same problem, the AVSp preview looks great but its the export script or export preview that is screwed up.

I will try to add one slider at a time to see when the problem occures and save each script. I will get back to you.

Richard
rfmmars is offline   Reply With Quote
Old 14th December 2006, 20:53   #486  |  Link
krisq
Registered User
 
Join Date: Dec 2003
Location: Poland
Posts: 171
Quote:
Originally Posted by qwerpoi View Post
Hum, I'm trying to think of the best way to specify something like this. I could extend the label syntax to indicate a seperator comes afterwards (i.e., [<"amount",0,1,0>] becomes [<"amount---",0,1,0>] or something). Or I could make a random tag in the middle of the script indicate a separator, like a slider with no inputs (i.e., [<-,-,-,->]). I'll think about it some more, feel free to add your own 2 cents.
I think something like a tag [separator] or #[separator] in the script would suffice. I'm using so many sliders that I would like to make everything clearer for myself
__________________
(!sig)
krisq is offline   Reply With Quote
Old 16th December 2006, 12:18   #487  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
New version 1.3.4, download here or use the mirror in the first post. Not a huge release, but some good stuff here. From the changelog:

Quote:
* support for separate video window zoom fit

* updated included core filter definitions to AviSynth v2.56

* added menu options for goto next/previous bookmark (suggested by Alain2)

* option to quickly show AviSynth function definition dialog (suggested by Alain2)

* added new tag for separators in slider window (suggested by krisq)

* minor rearrangement of menu items for clarity (suggested by Fizick)

* fixed several issues with zoom fit feature (thanks foxyshadis, zemog, doxville, Alain2)

* fixed small bug with slider validation (thanks zemog)
One important new feature is the ability to quickly open the function definition dialog from the script. Say you wanted to change what the popup calltip says for AviSource. Simply place the text cursor on the filter name (or highlight the name, or place the cursor inside the filter's arguments), and use the command "Show function definition" in the right-click menu (default shortcut Ctrl+Shift+D). This will open up AvsP's function definition dialog, automatically selecting the appropriate filter, where you can edit the calltip, preset, or docpath. If you activate the "Show function definition" command and the cursor is on a word which is not in the function definition list, AvsP will open a dialog where you can add the function to the list. Hopefully this feature will make people more comfortable with editing the per-filter information, one AvsP's more powerful features.

Another feature which needs some discussion is the ability to add a separator in the slider window. Basically, you can add a [<separator>] tag in the text (shortcut Shift+F12) which upon refresh results in a separator line between sliders in the slider window. This is purely for visual organization, you can add as many as you want, it doesn't affect the script or the sliders in any other way.

Other than that, this version fixes some serious issues with the zoom fit feature, which also now works with the separate video preview window (if you have that option enabled). As always, post back with any new problems, questions, or suggestions.

Last edited by qwerpoi; 16th December 2006 at 21:13.
qwerpoi is offline   Reply With Quote
Old 16th December 2006, 14:20   #488  |  Link
krisq
Registered User
 
Join Date: Dec 2003
Location: Poland
Posts: 171
This is great qwerpoi, thanks!
For the record, shortcut for separator is Shift+F12
__________________
(!sig)
krisq is offline   Reply With Quote
Old 16th December 2006, 16:08   #489  |  Link
Alain2
Registered User
 
Join Date: May 2005
Posts: 236
Translation was easy ^^

Thanks for all the additions, they are really good!! I can use again the separated window now, and the quick filters access / additions is really good, love it

Won't be able to test it a lot as I am going on holiday soon, but thanks for this new version!

Btw I had already a shortcut ctr+shift+d for a custom macro, after overwriting the avsp.exe this shortcut was defined for both the new feature and my macro ; I removed it for my macro, but maybe a conflict detection could be developped ; very low priority this though, if needed at all as the user can easily correct this ^^
Alain2 is offline   Reply With Quote
Old 16th December 2006, 18:39   #490  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
Update

@qwerpoi
@everyone
I wish you a happy Christmas time....
__________________
Henrikx
Henrikx is offline   Reply With Quote
Old 16th December 2006, 21:18   #491  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Quote:
Originally Posted by krisq View Post
This is great qwerpoi, thanks!
For the record, shortcut for separator is Shift+F12
Whoops, thanks for pointing that out, I corrected the post.

Quote:
Originally Posted by Alain2 View Post
Translation was easy ^^

Thanks for all the additions, they are really good!! I can use again the separated window now, and the quick filters access / additions is really good, love it

Won't be able to test it a lot as I am going on holiday soon, but thanks for this new version!

Btw I had already a shortcut ctr+shift+d for a custom macro, after overwriting the avsp.exe this shortcut was defined for both the new feature and my macro ; I removed it for my macro, but maybe a conflict detection could be developped ; very low priority this though, if needed at all as the user can easily correct this ^^
Ho, I thought that with the way it was set up one would overwrite the other, I'll make sure it works properly in the next version, thanks for letting me know.

Quote:
Originally Posted by Henrikx View Post
Update

@qwerpoi
@everyone
I wish you a happy Christmas time....
Thanks for the update, and a happy Christmas time to you too
qwerpoi is offline   Reply With Quote
Old 16th December 2006, 23:41   #492  |  Link
Veiga
Registered User
 
Join Date: Oct 2006
Posts: 12
@ qwerpoi
another good version in your return
translation for v134 attached

for you and @all a nice Christmas and a happy New Year
Attached Files
File Type: zip Portugues_Br_v1.3.4__translation.zip (11.2 KB, 109 views)
Veiga is offline   Reply With Quote
Old 17th December 2006, 01:10   #493  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 743
Looks like my HDRagc problem is solved

Yes the export display now matches the AVSp preview window, I have maded five separate test. However the following no longer works. I have many toggals and they all work but this one, it worked in 1.33 fine. No big deal, just info.

[Reduce Contrast Level 1=0]
colorYUV(cont_u=2)
[/Reduce Contrast Level 1]


This is now driving me nuts. I can no longer transfer AVSp .SES to another computer, only .AVSs. So I no longer get any slides or toggals to display, and they do not appear in the session script, tried this on two other workstations.........I.had a little trouble before with older versions but now its impossible to do.

I notice the .SES structure is completly different edited in Wordpad compared with older version.

My problem is on the workstsion that develope the scripts and sessions, my AVSp drive letter is e: and when I need to move the scripts and sessions to another computer, I use Wordpad to do a "Replace All: e: with c: Could this now be a problem with the new structure in version 1.34?

EDIT: Workaround

Copied script from AVSp window, pasted and edited in "notePad" copied that to a blank AVSp on another machine. save script and session and everything is fine. preview & external video also match. Just don't know why this extra step is nessary but that how I will do it from now on.


Love your work.

Richard

Last edited by rfmmars; 17th December 2006 at 03:18.
rfmmars is offline   Reply With Quote
Old 17th December 2006, 23:52   #494  |  Link
Serbianboss
Registered User
 
Serbianboss's Avatar
 
Join Date: Mar 2006
Posts: 232
When working with this script with 3 tag selection, for some time i have error: Out of memory and avsp shut down. I have 2 gb memory and when avsp shut down it has 700 mb psyhical memory.

Code:
AVISource("C:\Documents and Settings\Nenad\Desktop\vulkani.avi")
LoadPlugin("mt_masktools.dll")
LoadPlugin("AGC.dll")
import("C:\Program Files\AviSynth 2.5\plugins\limitedsharpenfaster.avs")
[FFT3D=1]
fft3dfilter(sigma=3.5,interlaced=true)
[/FFT3D]
[HDRagc=0]
HDRAGC(max_gain=1.5)
[/HDRagc]
[LimitedSharpen=0]
limitedsharpenfaster(smode=4,strength=300)
[/LimitedSharpen]
Does this code is maybe extreme for avsp?
Serbianboss is offline   Reply With Quote
Old 18th December 2006, 06:19   #495  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Quote:
Originally Posted by Veiga View Post
@ qwerpoi
another good version in your return
translation for v134 attached

for you and @all a nice Christmas and a happy New Year
Thanks for the new translation, I've updated the links in the first post and AvsP website accordingly.

Quote:
Originally Posted by rfmmars View Post
Yes the export display now matches the AVSp preview window, I have maded five separate test. However the following no longer works. I have many toggals and they all work but this one, it worked in 1.33 fine. No big deal, just info.

[Reduce Contrast Level 1=0]
colorYUV(cont_u=2)
[/Reduce Contrast Level 1]


This is now driving me nuts. I can no longer transfer AVSp .SES to another computer, only .AVSs. So I no longer get any slides or toggals to display, and they do not appear in the session script, tried this on two other workstations.........I.had a little trouble before with older versions but now its impossible to do.

I notice the .SES structure is completly different edited in Wordpad compared with older version.

My problem is on the workstsion that develope the scripts and sessions, my AVSp drive letter is e: and when I need to move the scripts and sessions to another computer, I use Wordpad to do a "Replace All: e: with c: Could this now be a problem with the new structure in version 1.34?

EDIT: Workaround

Copied script from AVSp window, pasted and edited in "notePad" copied that to a blank AVSp on another machine. save script and session and everything is fine. preview & external video also match. Just don't know why this extra step is nessary but that how I will do it from now on.


Love your work.

Richard
You're right, I did change the .ses structure, not in this version but several versions ago (I think). I don't think either structure would be able to work across multiple computers for the reason you describe - AvsP sessions store the complete filepath of each script, this is used to double-check whether or not any changes have been made since saving the session. Your workaround will do the job, in the meantime I'll think about ways to improve the process.

Quote:
Originally Posted by Serbianboss View Post
When working with this script with 3 tag selection, for some time i have error: Out of memory and avsp shut down. I have 2 gb memory and when avsp shut down it has 700 mb psyhical memory.

Code:
AVISource("C:\Documents and Settings\Nenad\Desktop\vulkani.avi")
LoadPlugin("mt_masktools.dll")
LoadPlugin("AGC.dll")
import("C:\Program Files\AviSynth 2.5\plugins\limitedsharpenfaster.avs")
[FFT3D=1]
fft3dfilter(sigma=3.5,interlaced=true)
[/FFT3D]
[HDRagc=0]
HDRAGC(max_gain=1.5)
[/HDRagc]
[LimitedSharpen=0]
limitedsharpenfaster(smode=4,strength=300)
[/LimitedSharpen]
Does this code is maybe extreme for avsp?
I'm not really sure, it may depend on the input avi. Try using a simple source (like Version() instead of AviSource(...)) and see if it has the same problem, or try removing all the tags (save as an .avs file and open it) and see if it still crashes. I'll try and do some tests on this script on my pc, if it happens to you with a different script then post that as well.
qwerpoi is offline   Reply With Quote
Old 19th December 2006, 18:16   #496  |  Link
JoeTF
Registered User
 
Join Date: Dec 2006
Posts: 5
I cannot force AvsP to open .avs files.
when I set up associations in windows, it's with open as default action, however stuuuupid AvsP starts with empty new file instead of file I want to open.
Can anyone help me with setting it up right?
JoeTF is offline   Reply With Quote
Old 19th December 2006, 21:05   #497  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Quote:
Originally Posted by JoeTF View Post
I cannot force AvsP to open .avs files.
when I set up associations in windows, it's with open as default action, however stuuuupid AvsP starts with empty new file instead of file I want to open.
Can anyone help me with setting it up right?
Um, sounds like you're doing it right, but just in case, here's how I did it step by step.
  • Right-click an .avs file, Open with >, Choose program...
  • Select AvsP from the list (you may need to browse for it)
  • Check the "Always use the selected program..." checkbox
  • Click OK
You may want to make sure you've selected the right version of AvsP, older versions may not work as well. After double-clicking the .avs file, go to "Help -> About AvsP" and verify that it's version 1.3.4 (or something relatively recent). If AvsP is still acting stuuuupid , let me know, the problem may be more detailed than I think.
qwerpoi is offline   Reply With Quote
Old 19th December 2006, 21:51   #498  |  Link
JoeTF
Registered User
 
Join Date: Dec 2006
Posts: 5
That's exactly what I did, many times. I tried with 1.3.3 and 1.3.4.

I have a feeling it has to be set up manually but I have no clue how do I set up DDE.
JoeTF is offline   Reply With Quote
Old 20th December 2006, 02:31   #499  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,553
There's no DDE in avsp, in fact it's almost never used except in microsoft and a few other huge companies' apps. All you have to do is browse for the program, and add "%1" after it.

Or you can just steal mine, modifying the paths accordingly (all backslashes should be doubled), save it to a .reg file and import it (doubleclicking is enough):
Code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.avs]
@="avsfile"

[HKEY_CLASSES_ROOT\avsfile]
@="AviSynth Script"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\avsfile\DefaultIcon]
@="C:\\WINDOWS\\system32\\AviSynth.dll,0"

[HKEY_CLASSES_ROOT\avsfile\shell]
@="Edit"

[HKEY_CLASSES_ROOT\avsfile\shell\Edit]

[HKEY_CLASSES_ROOT\avsfile\shell\Edit\command]
@="\"C:\\Program Files\\music-video\\encoding\\AviSynth\\avsp\\avsp.exe\" \"%1\""

[HKEY_CLASSES_ROOT\avsfile\shell\Play]

[HKEY_CLASSES_ROOT\avsfile\shell\Play\command]
@="\"C:\\Program Files\\music-video\\playback\\mplayerc.exe\" \"%1\""

[HKEY_CLASSES_ROOT\avsfile\shell\View]

[HKEY_CLASSES_ROOT\avsfile\shell\View\command]
@="\"C:\\Program Files\\music-video\\editing\\VirtualDub\\VirtualDub.exe\" \"%1\""
foxyshadis is offline   Reply With Quote
Old 20th December 2006, 17:59   #500  |  Link
JoeTF
Registered User
 
Join Date: Dec 2006
Posts: 5
Thanks foxyshadis, that solved the problem.
JoeTF is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.