Log in

View Full Version : AvsPmod 2.5.1


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26

matfra
4th January 2013, 15:52
How can I make a Space in the code upper section.
When I press space it doing a zoom ! It drive me crazy. Before I use to Ctrl+Space , but its not working anymore.
Please Help meeeeeeee !

AlanHK
4th January 2013, 16:44
How can I make a Space in the code upper section.
When I press space it doing a zoom ! It drive me crazy. Before I use to Ctrl+Space , but its not working anymore.

Options/Keyboard shortcuts and see (and change) what you have set for "Video->Zoom".

lansing
11th January 2013, 04:17
i've been looking for the save preview image to clipboard option but couldn't find it. Am I just missing it or was it not implemented?

vdcrim
11th January 2013, 19:29
Is there any way to measure speed at which currently written script renders? In VirtualDub it was done by hitting F5 which started rendering and had fps counter, here, however, I only see "run analysis pass" option w/o fps.

Added to the run analysis pass dialog.

hi, i got an error while trying to save an image from the preview, what is the problem?

sre_constants.error: bad character range

Fixed. Regular expressions are used for setting the default filename for the next images saved from the same script. Let's say you want to save frames 50 and 120 from a script my movie.avs. The default filename offered by AvsPmod for the first frame would be my movie000050.ext. If it's saved instead as my movie (preview) [frame 050].ext the default for frame 120 would be my movie (preview) [frame 120].ext

i've been looking for the save preview image to clipboard option but couldn't find it. Am I just missing it or was it not implemented?

No, but it's easy to add. Try this new libray.zip (replace the one in AvsPmod/lib).

Dogway
16th January 2013, 04:37
I rarely pass by over doom9 nowadays and albeit having a long list of bugs concerning avspmod, I just wanted to warn current users of a big one.
avspmod is not color management aware, and as such anything you see will match any rgb output (screenshots, etc) because raw color data is sent to monitor profile, instead of encoded into a color profile.
You can easily check this by opening an rgb image in firefox (with correct color settings configured), photoshop, and avspmod.

vdcrim
17th January 2013, 20:02
Are you mixing up the cli and vfw encoders? Your capture is what really should appear when using avs2avi, together with this other window:

http://i.imgur.com/mMomh.png

vdcrim
18th January 2013, 20:01
I'm not sure what missing choices do you mean. The options can be accessed through the configure button in your capture, like always. Also that window is not even part of AvsPmod but of avs2avi, which hasn't been updated in years.

StainlessS
18th January 2013, 21:28
@turbomund
At the risc of asking the obvious, have you tried clicking on the 'Kompimeringsprogram'
dropdown box to select a compression codec (other than "Microsoft Video 1")
together with the options you are looking for (via the "Konfigurer" button) ?

I dont really use either AVSPmod nor avs2avi so I could well be wrong.

Dion
19th January 2013, 05:27
Share Timeline seems to be always off now. Regardless if checked or unchecked.

tucamthanh
19th January 2013, 09:26
please help !
i try open AvsPmod but windows has error :" An AviSynth script editor has encountered a problem and needs to close. We are sorry for the inconvenience. "
this is log of AvsPmod
'exception: access violation reading 0x00000004''exception: access violation reading 0x00000004'Traceback (most recent call last):
File "run.py", line 5, in <module>
File "AvsP.pyo", line 73, in <module>
File "pyavs.pyo", line 31, in <module>
File "avisynth.pyo", line 4, in <module>
File "ctypes\__init__.pyo", line 423, in __getattr__
File "ctypes\__init__.pyo", line 348, in __init__
WindowsError: [Error 126] The specified module could not be found


thanks all !
sorry my english !

StainlessS
19th January 2013, 13:10
Until vdcrim shows up, try a re-insatall (EDIT: AvsPmod), looks like you are missing a file.
Have a nice one. :)

vdcrim
19th January 2013, 16:28
I try open AvsPmod but windows has error [...]
Make sure that you have AviSynth installed on your system. Also the log shows that you aren't using the latest AvsPmod version.

Share Timeline seems to be always off now. Regardless if checked or unchecked.
Works fine for me on v2.4.1. Note that only tabs with the same resolution and frame count share the timeline.

tucamthanh
20th January 2013, 11:02
Make sure that you have AviSynth installed on your system. Also the log shows that you aren't using the latest AvsPmod version.


Works fine for me on v2.4.1. Note that only tabs with the same resolution and frame count share the timeline.

i have installed AviSynth 2.5.8 , and i using AvsPmod_v2.4.1 , but can not open program !

vdcrim
20th January 2013, 17:02
i have installed AviSynth 2.5.8 , and i using AvsPmod_v2.4.1 , but can not open program !
That log does not correspond to v2.4.1. Either you pasted the wrong part of your log file or failed to correctly update AvsPmod. Make sure to overwrite all files when updating.

FlimsyFeet
21st January 2013, 11:37
Having some issues with the video preview in 2.4.1.

Load any video (could be blankclip() or colorbars()), select zoom > 400%, then scroll to the bottom right hand corner of the image. Moving the horizontal or vertical window slider too fast sometimes results in minor pixel corruption in the rightmost or bottom line of the image.

It's even worse if your script comprises ImageReader to load a large image which is then cropped. For example:
ImageReader("[a 1440px by 960px image]")
Crop(720, 0, -0, -480)

vdcrim
26th January 2013, 01:25
Fixed. Those corrupted pixels are not part of the actual image but the surrounding margin, which was supposed to be blank.

tucamthanh
27th January 2013, 02:39
That log does not correspond to v2.4.1. Either you pasted the wrong part of your log file or failed to correctly update AvsPmod. Make sure to overwrite all files when updating.

this is error when i open AvsPmod :

http://i381.photobucket.com/albums/oo256/tucamthanh/error_zps60a73b8f.jpg

please help !

vdcrim
27th January 2013, 17:02
Can't say what the problem is. Make sure that you have all access rights to the files in your AvsPmod directory.

Or maybe the Python packaging is failing in your system for some reason. It works fine for me on Windows 7 SP1 and Windows XP SP3. You can try this:

Install Python 2.7 32-bit (http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi)
Install wxPython 2.8 Unicode 32-bit (http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.12.1-py27.exe)
Move the AvsPmod/src content to AvsPmod
Make a new shortcut for "C:\path\to\pythonw.exe" -O "C:\path\to\run.py"

tucamthanh
28th January 2013, 10:54
Can't say what the problem is. Make sure that you have all access rights to the files in your AvsPmod directory.

Or maybe the Python packaging is failing in your system for some reason. It works fine for me on Windows 7 SP1 and Windows XP SP3. You can try this:

Install Python 2.7 32-bit (http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi)
Install wxPython 2.8 Unicode 32-bit (http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.12.1-py27.exe)
Move the AvsPmod/src content to AvsPmod
Make a new shortcut for "C:\path\to\pythonw.exe" -O "C:\path\to\run.py"
when i open it on Win8 OK but not work on XP SP3
thanks !

maxxon
2nd February 2013, 06:50
I would like to say that this is a great programme. It really helped me put together a video which required quite a bit of transforms.

Thanks, :)


|\/|x

fvisagie
4th February 2013, 13:36
I don't have plans to support it [sound] but AvsPmod is basically a community project, anyone is welcome to get involved or even take the lead.

Just checking, I have a big project coming up where audio will determine many of the trims - has anyone started working on adding audio playback?

Thanks,
Francois

vdcrim
4th February 2013, 14:49
I don't think so.

Zarxrax
12th March 2013, 02:31
Version 2.4.2
- Function definitions can be imported now from a new wiki
- Allow specifying what sources of function definitions to read on start
- Updates to the filter database
- Add syntax for function parameters not included by default in autocomplete, [arg info]
- Add 'autocomplete parameter' menu option, Ctrl+Alt+Space shortcut
- Add 'copy image to clipboard' menu option
- Speed-up handling of a large number of bookmarks
- Fix corruption of the margin of the video preview
- Fix tab renaming
- Add a new macro function 'ClearBookmarks'
- Improve 'Bookmarks at Intervals' macro
- Other minor changes and fixes

Function definition wiki is at https://github.com/AvsPmod/AvsPmod/wiki/Filter-database

Download in the first post.

Thanks vdcrim!

Dion
13th March 2013, 06:22
Works fine for me on v2.4.1. Note that only tabs with the same resolution and frame count share the timeline.

I wish it would work on anything. It's stupid if they have to be the exact same frame # + rez. I'm using 2.3.1 still cause it allows you to do it. Even tho its considered broken.

Be nice to have an option that allowed shared timeline regardless of the frames/res.

vdcrim
13th March 2013, 17:14
It's not stupid at all. It covers the most usual case, that is checking the effect of applying a filter. Sharing the timeline in all cases is an annoyance when you're editing several videos at the same time.

However, is perfectly understandable that not all people may have the same opinion. You didn't answer and tell this was your issue. I can't read your mind.

Place this file on your lib subdirectory [EDIT] see a few posts below.

naoan
13th March 2013, 17:22
Is it possible to have two or more tab to be "tagged" so that avspmod doesn't have to guess which one is it has to share timeline with or go through each and every tab before it meet one (which usually crash the whole thing since it has to traverse through heavy scripts)?

vdcrim
14th March 2013, 02:39
Is it possible to have two or more tab to be "tagged" so that avspmod doesn't have to guess which one is it has to share timeline with or go through each and every tab before it meet one (which usually crash the whole thing since it has to traverse through heavy scripts)?
I'll give it a try. The problem is how to show to which group belongs each tab without right-clicking it. I don't think is possible (or at least easy) to set a custom colour for the tab text or background.

fvisagie
14th March 2013, 08:30
Is it possible to have two or more tab to be "tagged" so that avspmod doesn't have to guess which one is it has to share timeline with or go through each and every tab before it meet one (which usually crash the whole thing since it has to traverse through heavy scripts)?

Something to add that would be fantastic for synchronising and mixing multiple sources in editing: lock/unlock from shared timeline, independently of any tab's current frame position.

How you use it:

Unlock all tabs involved in mixing
Scroll each tab to a common synchronisation mark
Lock mixing tabs to shared timeline
Select footage from the synchronised timelines


Whenever you reach a point where a camera was stopped, you just resynchronise with the master shot.

The extra benefit of this approach is that it's flexible enough to cater for almost all tastes regarding sharing timeline, or not.

fvisagie
14th March 2013, 11:04
PS. Thanks for the new version! :)

naoan
14th March 2013, 12:55
I'll give it a try. The problem is how to show to which group belongs each tab without right-clicking it. I don't think is possible (or at least easy) to set a custom colour for the tab text or background.

The ideal solution would be color I guess, but maybe you could just use number for now (below the * which appear on unsaved scripts), is that easy to do? I wonder how should the shortcut keys be, maybe ctrl+left click to add and shift+left click to remove from group (which you must specify first via some sort of right click option)?.

I'm just afraid that this would make things too complicated... but then again people who use avspmod must be used to heavy customization in the first place. :p

fvisagie
14th March 2013, 14:15
If all else fails for adding some tag to the tabs, how about just doing a quick-and-dirty (for now) and adding a text flag to their status bars?

naoan
14th March 2013, 14:28
If all else fails for adding some tag to the tabs, how about just doing a quick-and-dirty (for now) and adding a text flag to their status bars?

Yeah that should be good enough for me, as long as we have clear all currently tagged/locked tab option so we don't have to undo them one by one. :)

vdcrim
14th March 2013, 15:15
Added tab groups [link removed, added in AvsPmod v2.5.0]. Tabs can be assigned to a group by right-clicking on its title. Uses:

Tabs on groups only share the timeline with other tabs on the same group, regardless of the 'shared timeline' settings.
If the 'apply offsets' option is checked the difference between showed frames when the tabs were added to the group is used as an offset for sharing the timeline, e.g. tab1 (on frame 100) and tab2 (on frame 250) are added to a group -> tab2 is always 150 frames ahead when switching between the two tabs.
Added a new 'enable scroll wheel through tabs on the same group' setting, similar to the already existing 'enable scroll wheel through similar tabs'. Both settings are moved from the 'misc' to the 'video' tab on the program settings.
Warning: session files produced after this won't be compatible with past releases. Changed also how this info is stored to prevent it from happening again.

vdcrim
18th March 2013, 03:19
Added 'apply offsets', 'clear current tab group' and 'clear all tab groups' options, as well as the group number as tab title prefix. Hotkeys can also be assigned now. See post above.

naoan
18th March 2013, 05:15
Whoah, it's working great! :D

Though if I enable the 'enable scroll wheel through similar tabs' option avspmod still try to seek video outside the grouped tab, can you make it only seek within group instead?

vdcrim
18th March 2013, 15:34
Changed. :)

fvisagie
25th March 2013, 09:21
Added tab groups

Thanks for this! I tested it over the weekend and it works great.

In case you find them useful, a couple of notes from testing:
When seeking to 0 on tab not closest to 0, tab closest to 0 wraps around to end instead of warning and/or stopping on 0 etc.
Frame number only correctly restored from previous session once video is previewed (although I suspect this is old behaviour)
Suggestion: rename Video>Tab group to Video>Group tabs (start with verb like the other menu items)

vdcrim
26th March 2013, 04:42
All right, try again the link in #935 (http://forum.doom9.org/showpost.php?p=1619670&postcount=935).

fvisagie
26th March 2013, 18:08
All right, try again the link in #935 (http://forum.doom9.org/showpost.php?p=1619670&postcount=935).

It all works great! :thanks:

Forensic
22nd April 2013, 07:25
Adding a % value (e.g. test %5) to a slider label field causes the error message

Invalid slider tag for rescaling!
Accept only +, -, or an integer.

The minimum, maximum and default values are all multipliers of that value and the error does not prevent functionality. Is there any way to prevent this error? It keeps reappearing with every F5 refresh and file reload.

Name User
22nd April 2013, 20:10
I really shouldn't be trying to create a GIF with this considering I really know nothing about using AvsPmod, but when I try to create a GIF with the Create GIF with ImageMagick macro, it gives me this:

"Error in the macro:

'int' object has no attribute 'GetHDC'"

I need a guide for this.

vdcrim
23rd April 2013, 00:36
Adding a % value (e.g. test %5) to a slider label field causes an error message

Fixed, and updated the library.zip in #935 (http://forum.doom9.org/showpost.php?p=1619670&postcount=935).

"Error in the macro: 'int' object has no attribute 'GetHDC'"

You need to update that macro script to the latest version. There's a link and instructions in the first lines of the file. Anyway:

0) Install AviSynth and extract AvsPmod to some directory.

1) Copy the latest version (https://github.com/vdcrim/AvsP-macros/raw/master/Create%20GIF%20with%20ImageMagick.py) of the script to the AvsPmod/macros directory.

2) Download (http://www.imagemagick.org/script/binary-releases.php#windows) the portable static version of ImageMagick, extract convert.exe from it and place it in AvsPmod/tools (skip this step if IM is already installed on your system. The path to the executable will be asked on the first run of the macro).

3) Write your script (trim, resize, whatever) and run the macro selecting it from the macros menu. Options are pretty straightforward. I wouldn't check optimize blindly; it lowers a bit the filesize, but sometimes it also causes artifacts.

Name User
23rd April 2013, 21:55
Thanks!

Did all those steps. After I save to the desktop, it says: "GIF created," but there's no GIF there.

Only two lines. The first is opening the video, second is trim. Everything else is default.

vdcrim
23rd April 2013, 22:16
After I save to the desktop, it says: "GIF created," but there's no GIF there.

It seems that ImageMagick couldn't write the file to disk. Two possible reasons:

The output path contains characters not in your system encoding. This is a limitation of Python 2.
The output path is too long (more than 259 characters). This is a limitation of Windows.


Edit: I added some error reporting to the script, download it again.

Name User
24th April 2013, 00:44
Sorry, I'm an idiot. -_-

The problem seems to be that when I copied convert.exe to the tools folder, I also needed to copy vcomp100.dll to it. Found that out by opening convert and it giving me that message.

Thanks a lot for trying to help, though! :)

Forensic
24th April 2013, 01:14
The new library did the trick.

AvsPmod is a fantastic GUI and helps us Forensic Video Analysts work far more efficiently. Thank you to everyone for keeping this project alive.

vdcrim
24th April 2013, 01:29
The problem seems to be that when I copied convert.exe to the tools folder, I also needed to copy vcomp100.dll to it. Found that out by opening convert and it giving me that message.
Glad it's working now for you. I also forgot about possible Windows dependencies, so don't feel bad ;).

Name User
24th April 2013, 01:55
That's fine! Should've been obvious on my part I guess and it worked out in the end and now I can stop bothering the thread. :p

I think I'm going to try resizing and/or checking optimize because the file is huge for a 7 seconds GIF... 46.5 MB. :eek:

LigH
24th April 2013, 07:08
GIF animation optimization is no trivial task due to the limitation of 255 colors (+ a transparent entry). There are several more or less browser-compatible features which may or may not reduce the size (e.g. palette changes, different kinds of partial image updates). Also it depends a lot on the amount of dithering: Enabling it probably creates visually more convenient results, but reduces compressibility. Most tools may not support a reduced error distribution factor. A limited range of hues in the original material is certainly helpful.

Famous old Windows tools to optimize animated GIFs were "GIF Construction Set" and "JASC Animation Shop 3"; I wonder which current tools are recommendable (both Windows 7 compatible and efficient)...

RockTheBass
28th April 2013, 13:31
Hey all,

Is there any possibility to open the video preview in new window? Outside the main AvsP window? I have 2 monitors, so I would prefer to see the video preview on my monitor #1, and the codes on my monitor #2.

I think something like that:

http://img402.imageshack.us/img402/2908/exampleam.jpg