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 Search this Thread Display Modes
Old 19th September 2020, 16:33   #361  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by JKyle View Post
I know this is a silly question, but how do I keep the AvsMeter window (=cmd window) open after execution?
RTFM:

Code:
INI file settings
AVSMeter checks if a settings file ("AVSMeter.ini" / "AVSMeter64.ini") exists in the directory from where it is started. If not, it will be created with the default settings.
Note: If applicable, command line switches override INI settings.

Supported settings for the INI file (default values in red):

... 

"PauseBeforeExit" (0 or 1):
If set to "1", pauses the program at the end and returns to the console prompt only after pressing "ESC".

...
I'll also add his as a command line switch in the next release.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 19th September 2020 at 16:51.
Groucho2004 is offline   Reply With Quote
Old 19th September 2020, 17:01   #362  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
Quote:
Originally Posted by Groucho2004 View Post
RTFM:
Code:
...

"PauseBeforeExit" (0 or 1):
If set to "1", pauses the program at the end and returns to the console prompt only after pressing "ESC".

...
A big to you.
It didn't occur to me that this was an AVSMeter setting problem.
JKyle is offline   Reply With Quote
Old 10th October 2020, 12:05   #363  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
AvsPmod 2.6.4.0
changelog
__________________
Live and let live
gispos is offline   Reply With Quote
Old 12th October 2020, 07:41   #364  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Quote:
Originally Posted by gispos View Post
Thanks!
FranceBB is offline   Reply With Quote
Old 14th October 2020, 09:12   #365  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 251
Hi
I tried to use the AvsPmod 2.6.4.0 GPo.
I get load avisynth.dll failure.

The old version running properly and gives this for version info:

What should I do to get new version proper running?
Regards
Szabi
szabi is offline   Reply With Quote
Old 14th October 2020, 10:00   #366  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
32 bit AvsPmod needs a 32 bit avisynth.dll
64 bit AvsPmod needs a 64 bit avisynth.dll

Are you sure you have the correct combination available? Also make sure you don't have any stray copy of the avisynth.dll in any other directory when you have AviSynth+ installed in your system.

And you may also need to have the proper Visual C++ runtimes installed.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 14th October 2020, 10:01   #367  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
since bookmarks now kinda base on tabs (Except synced one) I think it's better to add new (Clear all bookmarks) for selected tab(s) only, and/or maybe rename the current one to "Clear all bookmarks Globally"

also don't know if it bug or is it fixed or not but in avspmod 2.6.3.9 sometimes when I save some bookmark by ctrl + b and then close avspmod I note it wasn't saved (or removed)

@szabi it work fine here
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 14th October 2020, 23:26   #368  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
Quote:
Originally Posted by real.finder View Post
since bookmarks now kinda base on tabs (Except synced one) I think it's better to add new (Clear all bookmarks) for selected tab(s) only, and/or maybe rename the current one to "Clear all bookmarks Globally"
Clear bookmarks for the selected tab it's not that simple at all. The bookmarks are still bound globally.
When you change tab, the current bookmarks are saved as a backup in the script variable so that they can be restored when you select the tab again.

That means if I delete the tab bookmarks they are deleted but not deleted because they also exist globally. And when you switch tabs, they are saved again because they still exist global.
And even worse, until the tab is not changed, the tab bookmarks don't even exist. Except, bookmarks were read from the script or read from the session file.

Quote:
Originally Posted by real.finder View Post
also don't know if it bug or is it fixed or not but in avspmod 2.6.3.9 sometimes when I save some bookmark by ctrl + b and then close avspmod I note it wasn't saved (or removed)
Does this refer to the session files? if so:
I assume that this could also possibly be the problem of not saving in the session file, as I said if the tab is not changed there are no tab bookmarks.
But if I remember correctly, I was paying attention to this problem.

I will look at both.
__________________
Live and let live
gispos is offline   Reply With Quote
Old 15th October 2020, 21:30   #369  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
If someone feels like it, they can test the new version before I release it tomorrow or the day after tomorrow.

'Clear tab bookmarks' and saving the bookmarks in the session file should now work.

64bit version only.
Exchange the library.zip in the lib folder
https://www.sendspace.com/file/h6nu28

Code:
* New item in Bookmarks menu 'Clear tab bookmarks' clears only the current tab bookmarks (idea by real.finder)
-- is disabled if tab context menu option 'Tab change loads bookmarks' is disabled
* 'Clear all bookmarks' renamed to 'Clear all bookmarks Globally'
* Fixed zoom option 'fill window'
* Fixed current tab bookmarks not always saved in session file
__________________
Live and let live

Last edited by gispos; 15th October 2020 at 21:34.
gispos is offline   Reply With Quote
Old 16th October 2020, 06:59   #370  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gispos View Post
If someone feels like it, they can test the new version before I release it tomorrow or the day after tomorrow.

'Clear tab bookmarks' and saving the bookmarks in the session file should now work.

64bit version only.
Exchange the library.zip in the lib folder
https://www.sendspace.com/file/h6nu28

Code:
* New item in Bookmarks menu 'Clear tab bookmarks' clears only the current tab bookmarks (idea by real.finder)
-- is disabled if tab context menu option 'Tab change loads bookmarks' is disabled
* 'Clear all bookmarks' renamed to 'Clear all bookmarks Globally'
* Fixed zoom option 'fill window'
* Fixed current tab bookmarks not always saved in session file
thanks, quick test and it seems work it it should
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 16th October 2020, 19:16   #371  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
thanks for testing.

AvsPmod 2.6.4.1
changelog
__________________
Live and let live
gispos is offline   Reply With Quote
Old 18th October 2020, 10:11   #372  |  Link
szabi
Registered User
 
Join Date: Nov 2004
Posts: 251
Quote:
Originally Posted by real.finder View Post
......
@szabi it work fine here
Quote:
Originally Posted by LigH View Post
32 bit AvsPmod needs a 32 bit avisynth.dll
64 bit AvsPmod needs a 64 bit avisynth.dll

Are you sure you have the correct combination available? Also make sure you don't have any stray copy of the avisynth.dll in any other directory when you have AviSynth+ installed in your system.

And you may also need to have the proper Visual C++ runtimes installed.
Hi

I installed on a different PC and working now.
I have to figure out the reason for the other PC which has the issue.
I will check on steps you guide me.
Thanks.

Regards
Szabi
szabi is offline   Reply With Quote
Old 26th October 2020, 05:29   #373  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Hi gispos
I asked about this before, but it will be nice if tabs in avsp used separate process (Multi-processing like chrome and firefox or even similar to how MP_Pipeline work)

since it's annoying when if one tab crash the whole avsp crash and all work lost! aside from the possibility of making one avsp for both avs x86 and x64 and switch between them anytime from tab setting
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 26th October 2020, 08:27   #374  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Quote:
Originally Posted by real.finder View Post
aside from the possibility of making one avsp for both avs x86 and x64 and switch between them anytime from tab setting
Is that even possible? One application is either x86 or x86_64, so it can use only either kind of DLL. If there is a workaround, tell me, I'm curious!
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th October 2020, 09:49   #375  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by LigH View Post
Is that even possible? One application is either x86 or x86_64, so it can use only either kind of DLL. If there is a workaround, tell me, I'm curious!
MP_Pipeline can do it, you can use something like this

Code:
ffms2 (64)
some filter in 32
another one in 64
and the other in 32
and encode in 64

and fun fact, I used to use AvsPmod 32 with avs 64 using MP_Pipeline before AvsPmod get 64 build
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 26th October 2020, 19:00   #376  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
Quote:
Originally Posted by real.finder View Post
Hi gispos
I asked about this before, but it will be nice if tabs in avsp used separate process (Multi-processing like chrome and firefox or even similar to how MP_Pipeline work)

since it's annoying when if one tab crash the whole avsp crash and all work lost!
I know how annoying this is, yesterday I spent over two hours writing code until the programming IDE crashed and all the work was in vain.
Use the paranoia mode. 'Options > Save\Load > ' Backup session when previewing' then the session will be saved before the preview (if the script was changed).
For me it is switched on.

A real multithreading application is one of the most demanding things you can write and that has to be planned from the start.
With the already considerable amount of code and functions of AvsPmod, the subsequent implementation is a mammoth task or even impossible.

With Delphi I have already written a few applications that use multiple threads, with Python I have zero experience with it ... so it doesn't work.
Quote:
Originally Posted by real.finder View Post
aside from the possibility of making one avsp for both avs x86 and x64 and switch between them anytime from tab setting
64bit and 32bit in one application, I claim this is an impossibility.
MP_Pipeline is not a single application, two processes are started 64bit and 32bit that comonicate with each other and finally a memory address is passed to avisynth, the clip.
I don't see any possibility to do this with python for one application.

Even just accessing the 64bit avisynth.dll requires some effort in code preparation under python and differs enormously from the 32bit version.
I would be happy if Ferenc would write something about it.

I'll play around with a few things that occurred to me about the program crash. I can't promise more. Sorry.
__________________
Live and let live
gispos is offline   Reply With Quote
Old 26th October 2020, 20:05   #377  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
This test program uses a separate thread for each tab when loading.
The title bar shows how many loading threads are currently active.
I started the project a year ago and then gave up!

Avisynth Plus has problems with 'Eval' and AnsiStrings. As soon as MCTemporalDenoise is present in the script, I get error messages.
I can only load scripts internally with AviSource.

I wanted to put Ferenc on it , but he has enough other things to do.

real.finder You like to test. Is it the same for you with MCTemporalDenoise() ?
Open a few scripts at once and switch through the tabs and click into the video window with each tab change so that the script is loaded.
Ignore the 'Test' menu

I am interested in the errors with MCTemporalDenoise()
Thanks.

https://www.sendspace.com/file/190u6y
__________________
Live and let live
gispos is offline   Reply With Quote
Old 26th October 2020, 20:26   #378  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gispos View Post
This test program uses a separate thread for each tab when loading.
The title bar shows how many loading threads are currently active.
I started the project a year ago and then gave up!

Avisynth Plus has problems with 'Eval' and AnsiStrings. As soon as MCTemporalDenoise is present in the script, I get error messages.
I can only load scripts internally with AviSource.

I wanted to put Ferenc on it , but he has enough other things to do.

real.finder You like to test. Is it the same for you with MCTemporalDenoise() ?
Open a few scripts at once and switch through the tabs and click into the video window with each tab change so that the script is loaded.
Ignore the 'Test' menu

I am interested in the errors with MCTemporalDenoise()
Thanks.

https://www.sendspace.com/file/190u6y
Code:
colorbars
converttoyv12
MCTemporalDenoise
it's same here
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 27th October 2020, 01:08   #379  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gispos View Post
MP_Pipeline is not a single application, two processes are started 64bit and 32bit that comonicate with each other and finally a memory address is passed to avisynth, the clip.
what about make avspmod as not a single application too mean the current avspmod will be as just a gui and there are cmd helper small tools (like MP_Pipeline.dll.slave.exe) that work with avs directly and I think megui kinda did this back then for x264 x64 and other when it was 32 only

aside from that, I feel that your test program is faster (whether in response, operation or starting) than avsp, is it because python that slow or is it because it's kinda not complicated with features/options yet?

and if it approved, will it has all features/options of avspmod? and what about avsp py macros support or replacement in it?
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 27th October 2020, 08:59   #380  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Well, inter-process communication is not trivial, possibly not very performant, and who knows if possible at all using Python. Challenging, at least.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 09:36.


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