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

Reply
 
Thread Tools Display Modes
Old 17th September 2007, 14:03   #61  |  Link
AlanHK
Registered User
 
Join Date: May 2006
Posts: 174
2.0.1 -- cool, thanks.

And onto more niggles:

If I have hidden display of sliders, then press F5 to refresh the display (because when I change freezeframe parameters, it does not display correctly unless I do) the sliders come back.
When I hide sliders, I want them to stay hidden until I unhide them.

PS
I found a workaround: I can make the slider window zero width.... would still prefer it stay hidden when I ask.

Last edited by AlanHK; 17th September 2007 at 14:24.
AlanHK is offline   Reply With Quote
Old 17th September 2007, 17:25   #62  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 297
@qwerpoi

Update German language file AvsP 2.0.1
http://technik.movie2digital.de/thre...200#post438200

My last AvsP translation!
Somebody may carry on...

THX
Henrikx is offline   Reply With Quote
Old 17th September 2007, 17:56   #63  |  Link
rfmmars
Registered User
 
Join Date: Feb 2004
Posts: 730
Unstable using "Insert File Name"

The "Slider Panel" display problem is fixed but now it crashes each time I try to use "Insert File Name"

#AVISource("e:\1.vdr.avi")
ImageSource("Alaska.jpg")

2.0 worked fine

Richard.
rfmmars is offline   Reply With Quote
Old 17th September 2007, 20:39   #64  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,126
qwerpoi,
can you consider to decrease AvSp download size by removing standard components (putting them to separate archive)?

python25.dll, lib/wxwsm26uh.dll, etc

It is not important for rare updated programs, but your child is not rarely updated
__________________
My Avisynth plugins are now at http://avisynth.org.ru
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 18th September 2007, 12:35   #65  |  Link
zemog
Registered User
 
Join Date: Sep 2006
Location: Madrid (Spain)
Posts: 20
@qwerpoi

Here is the Spanish translation for v2.0.1

Taking a look at the result I show in the dialog boxes: “Edit extension-based templates”, “Edit shortcuts” and “Program settings” that some text still in English although Spanish words are in the translation.py file (examples: "Program Settings" and "* Requires program restart for full effect").This doesn't hapends in the earlier version.
Attached Files
File Type: rar Spanish translation v2.0.1.rar (16.5 KB, 652 views)
zemog is offline   Reply With Quote
Old 22nd September 2007, 05:34   #66  |  Link
Veiga
Registered User
 
Join Date: Oct 2006
Posts: 12
The update translation for v2.0.1.
Thanks
Attached Files
File Type: zip Portugues_BR_v2.0.1__translation.zip (16.8 KB, 606 views)
Veiga is offline   Reply With Quote
Old 25th September 2007, 22:45   #67  |  Link
miamicanes
Registered User
 
Join Date: Oct 2002
Location: Miami
Posts: 41
I've been using AvsP for a few days and love it. However, I think I've found a bug:

It appears that AvsP tries to parse lines that have been commented-out, and crashes if the commented-out line is invalid. In particular, I've crashed it badly by doing something like...

Code:
#Trim(14923,
... then cursoring away from the line for a moment, or otherwise doing something that induces AvsP to reparse the script and re-render the current video preview. It seems as though the big thing that kills it is having a commented-out line with otherwise-valid command and unclosed parentheses (possibly with incomplete or blatantly invalid values).

The same endless-loop behavior obviously occurs if the line ISN'T commented out while the rendering window is open & something triggers a refresh. If it's not too hard, a nice future enhancement might be adding a way to forcibly kill the preview, close the window, and return to editing mode. If you can figure out where the infinite loop is occurring, maybe you could add a boolean value somewhere that gets set to 'true' whenever the preview window gets shown, and gets checked periodically while parsing/rendering the preview so that if it's found to be false, all parsing & preview-rendering ceases, the preview window gets closed, and the program returns to text-editor mode. The actual value change could be triggered by a keypress (left-ctrl + backspace comes to mind as a good choice... think back ~20 years to RUNSTOP + Restore) ;-)

Last edited by miamicanes; 25th September 2007 at 23:08.
miamicanes is offline   Reply With Quote
Old 26th September 2007, 09:08   #68  |  Link
AlanHK
Registered User
 
Join Date: May 2006
Posts: 174
I'm getting a bug:

I can create new bookmarks, and clear all of them, but not toggle with ^B to delete one individually.

Whenever I try to delete an existing bookmark, using ^B, it fails with the error message:

Code:
Traceback (most recent call last):
  File "AvsP.pyo", line 5560, in OnMenuVideoBookmark
  File "AvsP.pyo", line 8248, in AddFrameBookmark
TypeError: DeleteFrameBookmark() got an unexpected keyword argument 'refresh'

Separately:
I'd like to have UP/DOWN jump 2 seconds, instead of one.
I can clear the "Forward one second" key (Down) and use it for "Forward x units". But the original setting was only active when video has focus, now it always advances the video, even when I'm editing the text window, so I can't move line to line with UP/DOWN. Ideally, we need a way to toggle this focus restriction.
Some checkboxes in the shortcut key selection : Always active / Video focus / Text focus.

Last edited by AlanHK; 26th September 2007 at 09:12.
AlanHK is offline   Reply With Quote
Old 26th September 2007, 20:08   #69  |  Link
slo.sleuth
Registered User
 
slo.sleuth's Avatar
 
Join Date: Jan 2007
Posts: 4
Can't get v.2.01 to run. Log reports the following error:

Traceback (most recent call last):
File "run.py", line 1, in <module>
import os, sys
ImportError: No module named os

I'm not familiar with python, but I've installed it so I can make any change necessary to get up an running. Any suggestions?
slo.sleuth is offline   Reply With Quote
Old 26th September 2007, 20:20   #70  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Oceanborn
Posts: 7,607
You need to install wxPython as well, if you run it from source. You can also set your system up to use the wx libraries included in avsp, but it's probably simpler just to install it all.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis is offline   Reply With Quote
Old 26th September 2007, 21:13   #71  |  Link
slo.sleuth
Registered User
 
slo.sleuth's Avatar
 
Join Date: Jan 2007
Posts: 4
Quote:
Originally Posted by foxyshadis View Post
You need to install wxPython as well, if you run it from source. You can also set your system up to use the wx libraries included in avsp, but it's probably simpler just to install it all.
Thanks for the quick reply, foxyshadis.

Maybe I'm still not fulling understanding, but I downloaded wxPython 2.8 (python 2.5) and installed it from the unicode binary. I made it the new install the default wxPython library, but I'm still receiving the same AvsP error after reboot.
slo.sleuth is offline   Reply With Quote
Old 27th September 2007, 05:11   #72  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,693
slo, are you trying to run the executable, or directly run the python source? Just open the .exe
check is offline   Reply With Quote
Old 27th September 2007, 06:01   #73  |  Link
slo.sleuth
Registered User
 
slo.sleuth's Avatar
 
Join Date: Jan 2007
Posts: 4
Quote:
Originally Posted by check View Post
slo, are you trying to run the executable, or directly run the python source? Just open the .exe
I got the error (see my first post) when I ran the .exe. If I run the compiled python file Avsp.pyc (now that I have python installed) I can get AvsP to start. But the .exe still fails with the same error.
slo.sleuth is offline   Reply With Quote
Old 27th September 2007, 17:34   #74  |  Link
slo.sleuth
Registered User
 
slo.sleuth's Avatar
 
Join Date: Jan 2007
Posts: 4
Solved: Can't get v.2.0.1 to run.

Quote:
Originally Posted by slo.sleuth View Post
Can't get v.2.01 to run. Log reports the following error:

Traceback (most recent call last):
File "run.py", line 1, in <module>
import os, sys
ImportError: No module named os
Problem resolved. I was using a new archive program called jZip. It is based on 7-zip, so I was checking it out. By default, it shows archives in a flat view (all files shown absent folder structure), but unbeknown to me, it extracts the files flat while in that view too and without warning!

So, probably needless to say, I didn't provide AvsP the expect file structure, so it couldn't find the necessary modules. My bad. Serves me right to switch from something that I know works (7-zip) for something I don't know much about (jZip). This isn't a slam on jZip, just a lesson learned.
(arrow points to me!)

Thanks to foxyshadis and check for the offered help.
slo.sleuth is offline   Reply With Quote
Old 27th September 2007, 18:57   #75  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 126
Hello,

I have a little suggestion : give the possibility for the user to select and open several avs files at the same time with "File" --> "Open" ...

Thanks

PS : I know my English is not very good and I hope you will forgive me for that ...
Underground78 is offline   Reply With Quote
Old 27th September 2007, 23:22   #76  |  Link
krisq
Registered User
 
Join Date: Dec 2003
Location: Poland
Posts: 171
Just a thought
How about letting to insert relative path in 'extension templates'? With '****' for example.
__________________
(!sig)
krisq is offline   Reply With Quote
Old 28th September 2007, 08:10   #77  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Oceanborn
Posts: 7,607
It'd probably be simpler to just have a macro to replace the paths other computers use with its own. I'd think it was a good idea, but you're almost guaranteed to run into current working folder issues. Usually it's the script folder, or the folder of the program host, which already mucks things up enough, but sometimes it'll get changed to some crazy random folder and nothing will load. More than a few threads have been tracked down to that.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis is offline   Reply With Quote
Old 28th September 2007, 11:07   #78  |  Link
krisq
Registered User
 
Join Date: Dec 2003
Location: Poland
Posts: 171
English is not my native so maybe I explain what I had in mind.

Instead of full path (***)
Code:
avisource ("c:\folder1\folder2\movie.avi")
I would like to have possibility to insert just a filename (****, or something)
Code:
avisource ("movie.avi")
I use drag'n'drop a lot and move my project files very often so this seems more natural for me.
__________________
(!sig)
krisq is offline   Reply With Quote
Old 28th September 2007, 17:19   #79  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Oceanborn
Posts: 7,607
Ah, I found a way to reproduce the hanging:
copy this line in:
p2=ImageSource("D:\grafix\work\22269025xa2.png",end=0).converttoyuy2(matrix="PC.601").ConvertToRGB24(matrix="pc.709")
start typing the bold part:
p2=ImageSource("D:\grafix\work\22269025xa2.png",end=0).colormatrix(mode="converttoyuy2(matrix="PC.601").ConvertToRGB24(matrix="pc.709")
it should hang as soon as you type the open quote. It might have to do with my settings, with frequent calltips and wrap text on.

I can try hooking it into the debugger, though I'm still not that familiar with python debugging.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis is offline   Reply With Quote
Old 30th September 2007, 08:27   #80  |  Link
qwerpoi
Registered User
 
qwerpoi's Avatar
 
Join Date: Oct 2002
Posts: 298
Sorry for the lack of replies, I've been unbelievably busy recently. Hopefully my schedule will even out so I can get some decent development time in...

Quote:
Originally Posted by AlanHK View Post
If I have hidden display of sliders, then press F5 to refresh the display (because when I change freezeframe parameters, it does not display correctly unless I do) the sliders come back.
When I hide sliders, I want them to stay hidden until I unhide them.
You're right, this shouldn't happen, I'll try and get it fixed.

Quote:
Originally Posted by Henrikx View Post
@qwerpoi

Update German language file AvsP 2.0.1
http://technik.movie2digital.de/thre...200#post438200

My last AvsP translation!
Somebody may carry on...

THX
Your last translation, seriously? Well, if that's true, hopefully there will be another person to take over the German translation - in any case, your timely updates will certainly be missed!

Quote:
Originally Posted by rfmmars View Post
The "Slider Panel" display problem is fixed but now it crashes each time I try to use "Insert File Name"

#AVISource("e:\1.vdr.avi")
ImageSource("Alaska.jpg")

2.0 worked fine

Richard.
Hmm, seems strange, I'll take a look. Thanks for letting me know.

Quote:
Originally Posted by Fizick View Post
qwerpoi,
can you consider to decrease AvSp download size by removing standard components (putting them to separate archive)?

python25.dll, lib/wxwsm26uh.dll, etc

It is not important for rare updated programs, but your child is not rarely updated
Interestingly enough, most of the time all I really need to update is the library.zip file located in the \lib directory. I'll consider doing future updates in this sort of fashion, I'm just worried that it will be too confusing for everybody.

Quote:
Originally Posted by zemog View Post
@qwerpoi

Here is the Spanish translation for v2.0.1

Taking a look at the result I show in the dialog boxes: “Edit extension-based templates”, “Edit shortcuts” and “Program settings” that some text still in English although Spanish words are in the translation.py file (examples: "Program Settings" and "* Requires program restart for full effect").This doesn't hapends in the earlier version.
Thanks for the translation update, I'll check out those translation issues (I think I know the cause).

Quote:
Originally Posted by Veiga View Post
The update translation for v2.0.1.
Thanks
Thanks for the translation update!

Quote:
Originally Posted by miamicanes View Post
It appears that AvsP tries to parse lines that have been commented-out, and crashes if the commented-out line is invalid. In particular, I've crashed it badly by doing something like...

Code:
#Trim(14923,
... then cursoring away from the line for a moment, or otherwise doing something that induces AvsP to reparse the script and re-render the current video preview. It seems as though the big thing that kills it is having a commented-out line with otherwise-valid command and unclosed parentheses (possibly with incomplete or blatantly invalid values).

The same endless-loop behavior obviously occurs if the line ISN'T commented out while the rendering window is open & something triggers a refresh. If it's not too hard, a nice future enhancement might be adding a way to forcibly kill the preview, close the window, and return to editing mode. If you can figure out where the infinite loop is occurring, maybe you could add a boolean value somewhere that gets set to 'true' whenever the preview window gets shown, and gets checked periodically while parsing/rendering the preview so that if it's found to be false, all parsing & preview-rendering ceases, the preview window gets closed, and the program returns to text-editor mode. The actual value change could be triggered by a keypress (left-ctrl + backspace comes to mind as a good choice... think back ~20 years to RUNSTOP + Restore) ;-)
Hmm, thanks for the detailed report, I'll get on it asap.

Quote:
Originally Posted by AlanHK View Post
I can create new bookmarks, and clear all of them, but not toggle with ^B to delete one individually.
Hmm, I'll try and get that fixed straightaway.

Quote:
Separately:
I'd like to have UP/DOWN jump 2 seconds, instead of one.
I can clear the "Forward one second" key (Down) and use it for "Forward x units". But the original setting was only active when video has focus, now it always advances the video, even when I'm editing the text window, so I can't move line to line with UP/DOWN. Ideally, we need a way to toggle this focus restriction.
Some checkboxes in the shortcut key selection : Always active / Video focus / Text focus.
Those are some good suggestions, I'll see what I can do.

Quote:
Originally Posted by slo.sleuth View Post
Problem resolved. I was using a new archive program called jZip. It is based on 7-zip, so I was checking it out. By default, it shows archives in a flat view (all files shown absent folder structure), but unbeknown to me, it extracts the files flat while in that view too and without warning!
Whew, thanks for patiently working out the issue! I'll definitely add this bit of info to my faq (which currently doesn't exist, I'm really behind...)

Quote:
Originally Posted by Underground78 View Post
Hello,

I have a little suggestion : give the possibility for the user to select and open several avs files at the same time with "File" --> "Open" ...

Thanks

PS : I know my English is not very good and I hope you will forgive me for that ...
Okay, sounds like a good idea, I'll see what I can do.

Quote:
Originally Posted by krisq View Post
Just a thought
How about letting to insert relative path in 'extension templates'? With '****' for example.
Sounds reasonable, I'll see what I can do.

Quote:
Originally Posted by foxyshadis View Post
Ah, I found a way to reproduce the hanging:
copy this line in:
p2=ImageSource("D:\grafix\work\22269025xa2.png",end=0).converttoyuy2(matrix="PC.601").ConvertToRGB24(matrix="pc.709")
start typing the bold part:
p2=ImageSource("D:\grafix\work\22269025xa2.png",end=0).colormatrix(mode="converttoyuy2(matrix="PC.601").ConvertToRGB24(matrix="pc.709")
it should hang as soon as you type the open quote. It might have to do with my settings, with frequent calltips and wrap text on.

I can try hooking it into the debugger, though I'm still not that familiar with python debugging.
Thanks for the detailed report with settings, I'll try and see what's going on.
qwerpoi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 15:28.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.