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 16th February 2007, 20:37   #461  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,333
There is no 2.6 alpha. I think that besides a new mode for Histogram nothing is changes wrt to the pre-alpha version i posted.
Wilbert is offline   Reply With Quote
Old 16th February 2007, 21:05   #462  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,605
Quote:
Originally Posted by Wilbert View Post
There is no 2.6 alpha. I think that besides a new mode for Histogram nothing is changes wrt to the pre-alpha version i posted.
Hi Wilbert,

Indeed, I have searched elsewhere without success
Thanks for confirming this.

Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 17th February 2007, 05:21   #463  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,487
The big upside to less thread synchronization is more speed, as you notice. The big downside is that the less you have, the more often things crash, corrupt, or otherwise don't work right. Getting lucky most of the time isn't worth it if it crashes every 5 minutes, even if it's only on specific cpu/bus configurations.

Still, Win32 synchronization is enormously slower than pthreads, because it's designed to be cross-process, whereas in avisynth's case there's no interprocess communication.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 17th February 2007, 06:34   #464  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by BigDid View Post
Hi Wilbert,

Indeed, I have searched elsewhere without success
Thanks for confirming this.

Did
sorry about that. i have had it installed for so long I didn't remember he called it PRE alpha.
Zep is offline   Reply With Quote
Old 17th February 2007, 06:40   #465  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally Posted by foxyshadis View Post
The big upside to less thread synchronization is more speed, as you notice. The big downside is that the less you have, the more often things crash, corrupt, or otherwise don't work right. Getting lucky most of the time isn't worth it if it crashes every 5 minutes, even if it's only on specific cpu/bus configurations.
i agree but so far everything has worked fine with the pre alpha 2.6 and 0.6 mt plugin on over 30+ encodes since the 0.6 release.

I did have problems with the 2.5.7 ( 0.6 package) though strangely enough.
Zep is offline   Reply With Quote
Old 18th February 2007, 22:15   #466  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
Quote:
Originally Posted by foxyshadis View Post
Still, Win32 synchronization is enormously slower than pthreads, because it's designed to be cross-process, whereas in avisynth's case there's no interprocess communication.
It is only true if mutex'es is used. CriticalSections is not designed to be cross-process so that is what is used in avisynth.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 18th February 2007, 22:35   #467  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,605
Quote:
Originally Posted by Zep View Post
i agree but so far everything has worked fine with the pre alpha 2.6 and 0.6 mt plugin on over 30+ encodes since the 0.6 release.

I did have problems with the 2.5.7 ( 0.6 package) though strangely enough.
Hi,

Just installed the 2.6 pre-alpha dll with 0.6MT. It seems speedy and MT seems ok. I may have problems with setmtmode I was not having with 2.57/0.5. I'll switch back to 2.57/0.6 and test.

@TSP I send a PM a few days ago. Unless not readed I suppose the answer is no. No big deal, please confirm.

Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 19th February 2007, 02:45   #468  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,487
Quote:
Originally Posted by tsp View Post
It is only true if mutex'es is used. CriticalSections is not designed to be cross-process so that is what is used in avisynth.
Okay, if they're all CS then I understand, that makes sense. The speed difference must come down to some general threading weirdness somewhere, then.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 22nd February 2007, 20:01   #469  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,605
@ TSP

No news from my last PM.

The draft for the Wiki is finished (discussion tab), please check and let me know when Ok to update the main page

Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 23rd February 2007, 21:00   #470  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
to all: Bigdid, Pookie and I created a WIKI support page at the avisynth mediawiki for MT. It contains usefull citation from this 470 post long thread and other usefull information. You are welcome to see and contribute to it here
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 25th February 2007, 01:12   #471  |  Link
Pookie
Registered User
 
Join Date: Apr 2005
Posts: 1,339
Thanks for the kind words, but the depth of my contribution was suggesting two lines in the code examples be modified. Otherwise, BigDid is the author.
Pookie is offline   Reply With Quote
Old 25th February 2007, 01:53   #472  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
There seems to be a problem with the pictures (I think Wilbert might be investigating)

Perhaps you could improve the enumeration of the the SetMT modes by explaining actually what each mode does, rather than the vague "this is faster but most filters don't work". I have worked with the code and even I am still not sure exactly what the intent of each mode truely is.

Last edited by IanB; 25th February 2007 at 02:46.
IanB is offline   Reply With Quote
Old 25th February 2007, 18:19   #473  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,605
Quote:
Originally Posted by IanB View Post
There seems to be a problem with the pictures (I think Wilbert might be investigating)
Hi,

Now fixed, thanks to Richard Berg: http://forum.doom9.org/showthread.ph...059#post960059

Quote:
Perhaps you could improve the enumeration of the the SetMT modes by explaining actually what each mode does, rather than the vague "this is faster but most filters don't work". I have worked with the code and even I am still not sure exactly what the intent of each mode truely is.
Added in the Wiki/Requests paragraph.

@Pookie, moral "pulling the leg" is important

Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 28th February 2007, 00:49   #474  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
I finally found the bug that was causing Merlin7777 script to crash in MeGUI. It affects general stability but only causes a crash in rare circumstances. You can get the new avisynth.dll here:
avisynth 2.57 MT version 4 [src]

I also created a mediaWIKI page to try explain how the different modes is supposed to work. You can see it here:
http://avisynth.org/mediawiki/MT_modes_explained
modes 3-6 is still missing text. I will add it later. You're welcome to modify the content to something more readable.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 28th February 2007, 06:20   #475  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Yeah!!!!!!!!!!!!!!!
Great job TSP!!!!!!!!!
Thank you so much! Your programing and hardwork is highly appreciated, so keep that in mind. Also know that you will always have a fan.
I will download and use as soon as is humanly possible.
Thanks again man!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 28th February 2007, 17:27   #476  |  Link
BigDid
Actually in reserve
 
Join Date: Oct 2004
Posts: 1,605
Quote:
Originally Posted by tsp View Post
...It affects general stability but only causes a crash in rare circumstances. You can get the new avisynth.dll here:
avisynth 2.57 MT version 4 [src]
Hi all,

I was having problem with degrainmedian() with avisynth 2.5.7.3 or 2.6 pre-alpha and Mt 0.6, either with setmtmode(2) or (3) or (4). Only MT("") was working.
It now works with the new 2.5.7.4 and setmtmode(2)
Could somebody confirm so the wiki can be updated?



Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first
Want to exchange on AutoGK? try doom10.org
In reserve (inactive) for an undefined period of time.
BigDid is offline   Reply With Quote
Old 1st March 2007, 21:39   #477  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
new version of MT.dll is up. It includes two new filters: MTi() for interlaced processing and MTsource for speeding up source filters (or slow them down, at least mpeg2dec seems to be slower with it but try and see for yourself)
It also contains a new version of avisynth 2.57 MT version 5. Only new thing in this version is that it is possible to invoke cacheMT2 using InternalCacheMT with more than 1 input clip. This is used by MTsource.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 6th March 2007, 01:12   #478  |  Link
n3w813
Registered User
 
Join Date: Jan 2006
Posts: 80
TSP,
I'm getting an error when using the new MTi() function, getting an error saying the function does not exist. I extracted the MT.dll to avisynth/plugins folder and Avisynth.dll to windows/system32 folder, replacing both existing files.

Here is my MT call
MTi("SeeSaw(NRlimit=0, NRlimit2=5, Sstr=1.20, Szp=1, Slimit=50, Sdamplo=6, Spower=0, bias=0, sootheT=0, SdampHi=52)",3)

FYI, MT() works fine, MTi() does not.
n3w813 is offline   Reply With Quote
Old 7th March 2007, 00:59   #479  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
n3w813: Could you post a frame from this script (use www.imageshack.ws to host it) :
Code:
mtpluginpath="c:\mt.dll" #path to mt.dll
s=loadplugin(mtpluginpath)
version.subtitle(s)
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/
tsp is offline   Reply With Quote
Old 13th March 2007, 14:14   #480  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
Uh, TSP, sorry man, but I still have a problem. I am still using that blank clip script, but x264 rev 628 just kind of hangs there about 25% or so. I doesn't even report an error, it just sits there. The progress window says 25%, yet with the FPS rate slowly going down.

I am encoding it with MeGUI, using HQ-Slow profile with threads set to "0", or "auto".

Atleast it doesn't crash, huh?
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub 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 21:41.


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