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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th July 2010, 19:14   #501  |  Link
quantum5uicid3
Registered User
 
Join Date: Oct 2009
Posts: 176
nvm it's pointless

Last edited by quantum5uicid3; 6th July 2010 at 21:56.
quantum5uicid3 is offline   Reply With Quote
Old 6th July 2010, 11:54   #502  |  Link
Buggle
Guest
 
Posts: n/a
Is there any news on the non-monotonic bug experienced in x264 yet? Judging from the reactions in the thread on doom10, it was supposed to be caused by AVS64.
  Reply With Quote
Old 6th July 2010, 13:50   #503  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
The real question is where JoshyD went. The project is essentially dead without him, as he was the only developer. Last I heard, he was rewriting the resize code to fix the PTS warning.
Stephen R. Savage is offline   Reply With Quote
Old 6th July 2010, 14:41   #504  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
I also asked him to send me the source code of a few plug-ins (as he doesn't publish the modified source code, whatever the original plug-in license) two weeks ago, and still no reply...
cretindesalpes is offline   Reply With Quote
Old 7th July 2010, 06:41   #505  |  Link
Underground78
Registered User
 
Underground78's Avatar
 
Join Date: Oct 2004
Location: France
Posts: 567
Quote:
Originally Posted by cretindesalpes View Post
I also asked him to send me the source code of a few plug-ins (as he doesn't publish the modified source code, whatever the original plug-in license) two weeks ago, and still no reply...
"Last Activity: 23rd May 2010 08:18"
Underground78 is offline   Reply With Quote
Old 7th July 2010, 12:06   #506  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Yeah, the pace of development has broken down noticeably ...

One thing I'm still missing on the side of plugins is: Median-filtering (spatial and temporal). Here are two rough scripts that mimick two not-yet-ported-to-x64 filters:

TemporalMedian1 is, big surprise, a radius=1 temporal median filter (like MedianBlurT(0,0,0,1) or Clense(reduceflicker=false)

ScriptedFluxSmoothT is, big surprise, a scripted version of the FluxSmoothT filter.

For the moment, both filters support only YV12 input. Lunchbreaks are short.
YUY2 will be added somewhen later, maybe also RGB. Also radius=2 temporal median, by using the nice Median2 script of g-force.

Code:
   function TemporalMedian1(clip c, int "Y", int "U", int "V") 
   {
       Y = default(Y,3)
       U = default(U,2)
       V = default(V,2)
       p1 = c.selectevery(1,-1)
       n1 = c.selectevery(1, 1)
       mt_logic( mt_logic(c,p1,"min",Y=Y,U=U,V=V),
        \        mt_logic(c,n1,"min",Y=Y,U=U,V=V),
        \        "max",Y=Y,U=U,V=V)
       mt_logic( last,
        \        mt_logic(p1,n1,"min",Y=Y,U=U,V=V),
        \        "max",Y=Y,U=U,V=V)
   }
Code:
function ScriptedFluxSmoothT(clip c, int "th") 
{
    th = default(th,7)
    diff1 = mt_makediff(c,c.TemporalMedian1(3,3,3),U=3,V=3)
    diff2 = mt_makediff(c,c.TemporalSoften(1,th,th,255,2),U=3,V=3)
    DD    = mt_lutxy(diff1,diff2,"x 128 - abs 1 < 128 y ?",U=3,V=3)
    c.mt_makediff(DD,U=3,V=3)
}
Better to have something, than nothing at all.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)

Last edited by Didée; 7th July 2010 at 14:06. Reason: Median logic was not complete
Didée is offline   Reply With Quote
Old 9th July 2010, 01:39   #507  |  Link
pokazene_maslo
Registered User
 
Join Date: Apr 2009
Location: Martin, Slovakia
Posts: 79
Hello, I found a strange bug. First of all here is my avs script:
Code:
global MeGUI_darx = 31
global MeGUI_dary = 17
LoadPlugin("D:\Install\meGUIx64\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\work\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("d:\Install\meGUIx64\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("D:\Install\meGUIx64\tools\avisynth_plugin\TDeint.dll")
TDeint(full=false)
fft3dGPU(sigma=2.2, precision=2, sharpen=0, plane=4)
trim(188903,0)
when i try to open this script in megui following error will come up: "MeGUI encountered a fatal error and may not be able to proceed. Reason: attempted to read or write protected memory. This is often an indication that other memory is corrupt."
opening this script in virtual dub is fine until I start playback then this error will come up: "Avisynth read error: Avisynth: unknown exception."
When I disable TDeint in that script everything is running fine. When I disable fft3dgpu and leave Tdeint enabled everything is running fine.
Seems like those two filters don't like each other
pokazene_maslo is offline   Reply With Quote
Old 9th July 2010, 03:02   #508  |  Link
SaintDeath
Registered User
 
SaintDeath's Avatar
 
Join Date: May 2008
Posts: 16
Well I know i am new to these been reading alot in the forum. but i would like to request 64 bit of these 32 bit dlls.

Deen
TemporalCleaner
SangNom
nnedi
__________________

Last edited by SaintDeath; 9th July 2010 at 04:57.
SaintDeath is offline   Reply With Quote
Old 9th July 2010, 17:36   #509  |  Link
kjh7232
Registered User
 
Join Date: Apr 2009
Posts: 3
I downloaded ffms2.dll and ffmsindex.exe x64 ver from this thread and ffms2.avsi from ffms2 project. but I got a error when use "FFmpegSource2". This error is 'There is no function named "ffindex"'. Why This problem happened?

P.S Sorry for my bad English
kjh7232 is offline   Reply With Quote
Old 9th July 2010, 18:23   #510  |  Link
Alf Bundy
Registered User
 
Alf Bundy's Avatar
 
Join Date: Sep 2009
Location: Belgium
Posts: 58
I think the function's name is

FFvideoSource() #for video
FFaudioSource() #for audio

At least, it is with the 32bit version of ffms2 ...
Alf Bundy is offline   Reply With Quote
Old 9th July 2010, 19:05   #511  |  Link
onesloth
Registered User
 
Join Date: Jul 2007
Posts: 137
Quote:
Originally Posted by kjh7232 View Post
I downloaded ffms2.dll and ffmsindex.exe x64 ver from this thread and ffms2.avsi from ffms2 project. but I got a error when use "FFmpegSource2". This error is 'There is no function named "ffindex"'. Why This problem happened?

P.S Sorry for my bad English
You need to load the 64-bit ffms2.dll with LoadCPlugin() in the beginning of the script.
onesloth is offline   Reply With Quote
Old 9th July 2010, 21:29   #512  |  Link
Alf Bundy
Registered User
 
Alf Bundy's Avatar
 
Join Date: Sep 2009
Location: Belgium
Posts: 58
I have a dumb problem : I've just installed Avisynth x64 and all is working fine (preview of my scripts with VDx64 & encoding them through MeGUI x64).

But sometimes I use plugins which don't have a x64 version yet. Unfortunately it seems that I can't use avisynth 32bit anymore.
If I add a 32bit-only plugin in my script, both VD x32 & x64 complains !

VDmod 32bit says : AVI import filter error (unknown) (80040154)
VD x64 says : LoadPlugin : unable to load "C:\Program File (x86)\AviSynth 2.5\plugins\blockbuster.dll"

I tried LoadPlugin, LoadCPlugin and Load_Stdcall_Plugin
If I remove the 32bit plugin, the script is loading fine again in VDx64.

Is there some basic information that I missed when reading this topic ?
Because I wanted to use x64 when possible, but I didn't expected to lose the ability of using 32bit avisynth when needed.
Alf Bundy is offline   Reply With Quote
Old 9th July 2010, 21:47   #513  |  Link
cegy
Registered User
 
Join Date: Dec 2009
Posts: 98
someone should really change the title to x64 as it don't have anything to do with x86 nor is there is any x86 version of it aswelll !!
cegy is offline   Reply With Quote
Old 9th July 2010, 21:56   #514  |  Link
Lyle_JP
Unreasonable User
 
Lyle_JP's Avatar
 
Join Date: Nov 2003
Posts: 216
Quote:
Originally Posted by Alf Bundy View Post
I have a dumb problem : I've just installed Avisynth x64 and all is working fine (preview of my scripts with VDx64 & encoding them through MeGUI x64).

But sometimes I use plugins which don't have a x64 version yet. Unfortunately it seems that I can't use avisynth 32bit anymore.
It's not a dumb problem, it's a dumb feature!

But seriously, x64 avisynth requires x64 plugins. No exceptions.
Lyle_JP is offline   Reply With Quote
Old 9th July 2010, 22:12   #515  |  Link
Alf Bundy
Registered User
 
Alf Bundy's Avatar
 
Join Date: Sep 2009
Location: Belgium
Posts: 58
So it's not a mistake on my side, I can't use 32bit avisynth when x64 version is installed ?

That's good to know. So I won't have a headache figuring what I've done wrong.
And x64 version is easy and fast to uninstal/reinstall anyway, so when I'll need to use a 32bit plugin, I will temporarily uninstall avisynthx64.

Thanks.
Alf Bundy is offline   Reply With Quote
Old 9th July 2010, 22:41   #516  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
Quote:
Originally Posted by cegy View Post
someone should really change the title to x64 as it don't have anything to do with x86 nor is there is any x86 version of it aswelll !!
There's nothing wrong with the title. This thread is about Avisynth for x86-64.

Quote:
Originally Posted by Alf Bundy View Post
So it's not a mistake on my side, I can't use 32bit avisynth when x64 version is installed ?

That's good to know. So I won't have a headache figuring what I've done wrong.
And x64 version is easy and fast to uninstal/reinstall anyway, so when I'll need to use a 32bit plugin, I will temporarily uninstall avisynthx64.

Thanks.
I'm using both versions simultaneously, and it works just fine. Which Avisynth version is loaded depends on whether the program you start is 32 or 64-bit. You just have to make sure your script is only loading 32 or 64-bit plugins and not a mix. Alternatively, you can use try/catch statements to make a script "cross-platform" which I detailed in this post.

Quote:
Originally Posted by Alf Bundy View Post
VDmod 32bit says : AVI import filter error (unknown) (80040154)
This error means that you have failed to install Avisynth 32-bit correctly.

Last edited by Stephen R. Savage; 9th July 2010 at 22:46.
Stephen R. Savage is offline   Reply With Quote
Old 10th July 2010, 09:31   #517  |  Link
kjh7232
Registered User
 
Join Date: Apr 2009
Posts: 3
Quote:
Originally Posted by onesloth View Post
You need to load the 64-bit ffms2.dll with LoadCPlugin() in the beginning of the script.
That works. thx
kjh7232 is offline   Reply With Quote
Old 10th July 2010, 10:12   #518  |  Link
cegy
Registered User
 
Join Date: Dec 2009
Posts: 98
[QUOTE=Stephen R. Savage;1416218]There's nothing wrong with the title. This thread is about Avisynth for x86-64.

sure there is unless you can tell me where the x86 avisynth is for the users who want the x86 ? (the installer/install files are only for x64 this is what i am going on about !!!!)

the only thing on this forum i would class as x86/x64 is "Simple x264 Launcher" http://forum.doom9.org/showthread.php?t=144140
cegy is offline   Reply With Quote
Old 10th July 2010, 10:34   #519  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
@cegy
http://en.wikipedia.org/wiki/X86-64
Gavino is offline   Reply With Quote
Old 10th July 2010, 10:43   #520  |  Link
Alf Bundy
Registered User
 
Alf Bundy's Avatar
 
Join Date: Sep 2009
Location: Belgium
Posts: 58
Quote:
Originally Posted by Stephen R. Savage View Post
This error means that you have failed to install Avisynth 32-bit correctly.
You're right, I did messed up Avisynth 32bit when installing x64 version.

My 64bit script worked fine in VDx64, I was happy, so I tried to drag & drop it in the main window of MeGUI.
But MeGUI told me "cannot find avisynth.dll".
That's where I made a stupid thing : I copied the 64bit dll in my Windows/sysWOW64 folder (thus overwriting the 32bit dll).

In fact it was a problem between Drag & Drop and MeGUI running with admin rights. It just doesn't work.
Instead I have to use the open dialog (CTRL+O) to browse for my 64bit script. This way the script is loaded correctly.

Long story short : I did a fresh clean install of AviSynth 32bit & 64bit, and now they both work simultaneously.
Alf Bundy 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:42.


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