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 30th November 2006, 00:25   #101  |  Link
Bluedan
Registered User
 
Bluedan's Avatar
 
Join Date: Oct 2001
Location: were people always get wet feet
Posts: 328
OK. Squid80s build worked very well now. Great!
__________________
I'm probably misconfused...
Bluedan is offline   Reply With Quote
Old 15th December 2006, 12:46   #102  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Tdeint plugin for avisynth64: http://members.optusnet.com.au/squid_80/tdeint64.zip
The source I used is a little old (before there were asm optimisations) but at least it exists. I'll see if I can update it.
squid_80 is offline   Reply With Quote
Old 1st February 2007, 01:37   #103  |  Link
Bluedan
Registered User
 
Bluedan's Avatar
 
Join Date: Oct 2001
Location: were people always get wet feet
Posts: 328
EEDI2 malfunction?

@squid80

Got the 64bit versions of TDEINT v1.0b4 and EEDI2 v0.92 from the usual place. I renamed EEDI2_imp.dll to EEDI2.dll
Both filter reside in the same plugin folder for the avisynth64.

When trying to run this script in MeGUI, the function EEDI2 wasn't found.

Quote:
DGDecode_mpeg2source("F:\house of flying daggers\hofd.d2v")
edeintted = last.SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=-1,edeint=edeintted)
crop( 2, 76, -2, -76)
LanczosResize(704,288) # Lanczos (Sharp)
When I change lines 2 and 3 to just TDeint(order=-1) it works.
Where is the culprit? Why did you name it ~_imp?

(BTW, which revision is the current x264_x64 now from 03-01-2007?)
__________________
I'm probably misconfused...
Bluedan is offline   Reply With Quote
Old 1st February 2007, 04:56   #104  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
When I try that script, I get an error saying tdeint doesn't have a edeint option. This is because it's based on an old version. The EEDI2 function works fine and the dll is called EEDI2_imp.dll to distinguish it from the non-multithreaded build.
64-bit x264 is a build from somewhere between 614-618, there were no functional changes between them (and only one tiny change up to current r622).
squid_80 is offline   Reply With Quote
Old 1st February 2007, 13:41   #105  |  Link
Bluedan
Registered User
 
Bluedan's Avatar
 
Join Date: Oct 2001
Location: were people always get wet feet
Posts: 328
Quote:
Originally Posted by squid_80 View Post
Tdeint plugin for avisynth64: http://members.optusnet.com.au/squid_80/tdeint64.zip
The source I used is a little old (before there were asm optimisations) but at least it exists. I'll see if I can update it.
OK.

Will you update TDEINT64 then? The TDEINT/EEDI2 deinterlacing method seems to be the best one around AFAIK.
__________________
I'm probably misconfused...
Bluedan is offline   Reply With Quote
Old 1st February 2007, 16:37   #106  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by Bluedan View Post
Will you update TDEINT64 then? The TDEINT/EEDI2 deinterlacing method seems to be the best one around AFAIK.
Probably, but there's a whole stack of inline assembly in the later versions that will take a fair bit of time to wade through. A lot of it appears to be based on frame size (e.g. for i=0 to height {for j=0 to width {do stuff} } ) so I might see if I can do it with softwire.
squid_80 is offline   Reply With Quote
Old 1st February 2007, 22:41   #107  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,436
TDeint/TIVTC still include the C++ versions of every function, though, so if you want you could just strip all that assembly back out and give it a compile. With all the fixes and new modes it's quite worthwhile!
__________________
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 2nd February 2007, 11:49   #108  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
May as well do it right the first time. If I get it right with softwire it might (possible but not likely) make 32-bit faster as well.
squid_80 is offline   Reply With Quote
Old 5th February 2007, 15:24   #109  |  Link
chiklit
The Ultimate Lens
 
chiklit's Avatar
 
Join Date: Dec 2005
Location: Baltimore, MD
Posts: 13
Which files do I need to install to get this working? I've installed the main avisynth64 dlls as per the instructions earlier in this thread, but still every program that tries to open an avisynth file either crashes or freezes. Is there something else I need? Or is there a way to get the 32-bit version of avisynth to work on Vista x64? I also have the 64-bit version of ffdshow installed.

Also, if one thing is 64-bit then does everything in the process now need to be 64-bit? Since meGUI, being a .NET app, automatically runs in 64-bit mode does that mean I then must have the 64-bit version of everything it uses? Avisynth, x264, etc.?

Specs:
CPU: Intel Core 2 Duo R6400 (Overclocked - 2.8GHz) | Mobo: EVGA nForce 680i SLI | GPU: XFX nVidia GeForce 8800 GTX 768mb GDDR3 | Memory: 2gb DDR2 PC5400 667MHz Dual Channel | PSU: Antec Neo HE 550w | Sound: SoundBlaster X-Fi Xtrememusic | HDD: 950gb total SATA3 | OS: Windows Vista Ultimate 64-bit
__________________
Beware the cheese.

My site: http://www.lastedit.com

Last edited by chiklit; 5th February 2007 at 15:28.
chiklit is offline   Reply With Quote
Old 5th February 2007, 15:46   #110  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by chiklit View Post
Which files do I need to install to get this working? I've installed the main avisynth64 dlls as per the instructions earlier in this thread, but still every program that tries to open an avisynth file either crashes or freezes. Is there something else I need? Or is there a way to get the 32-bit version of avisynth to work on Vista x64? I also have the 64-bit version of ffdshow installed.
I don't have experience with vista but 32-bit avisynth should work fine as long as the host program is also 32-bit. Crashing or freezing would seem to be a different problem rather than an installation error.
Quote:
Also, if one thing is 64-bit then does everything in the process now need to be 64-bit? Since meGUI, being a .NET app, automatically runs in 64-bit mode does that mean I then must have the 64-bit version of everything it uses? Avisynth, x264, etc.?
Yes 64-bit programs can only use 64-bit dlls (avisynth, plugins, codecs etc.), however MeGUI has a special flag that makes .net run it as a 32-bit app (for exactly that reason). Unless the flag has been left off when it was compiled, which happened once not long ago. When it is running check the image name in task manager, it should have *32 at the end to show that it's a 32-bit process.
squid_80 is offline   Reply With Quote
Old 5th February 2007, 15:56   #111  |  Link
chiklit
The Ultimate Lens
 
chiklit's Avatar
 
Join Date: Dec 2005
Location: Baltimore, MD
Posts: 13
Quote:
Originally Posted by squid_80 View Post
Yes 64-bit programs can only use 64-bit dlls (avisynth, plugins, codecs etc.), however MeGUI has a special flag that makes .net run it as a 32-bit app (for exactly that reason). Unless the flag has been left off when it was compiled, which happened once not long ago. When it is running check the image name in task manager, it should have *32 at the end to show that it's a 32-bit process.
Ah, I guess I must've been thinking of that version. It's running in 32-bit mode now. I wonder what would be causing the crashes then...

With the 32-bit version of avisynth and MPC, when I try to open an avs file in it, it'll sit there at 50% CPU but never play anything. And when I try to open it in the 32bit VirtualDub 1.7.0 I get this error:
Quote:
Avisynth open failure:
Avisynth: script open failed!
Opening it in megui gives this error:
Quote:
The file D:\Captures\Adventure of English.avs cannot be opened.
Please make sure it's a valid AviSynth script and that AviSynth is properly installed.
You can check the validity of your script and AviSynth installation by opening the file in your favorite media player.
If that works, try opening the video in VirtualDub(Mod) as well. If the former works and the latter doesn't, install a YV12 codec.
Error message for your reference: External component has thrown an exception.
The script:
Code:
audio=directshowsource("E:\Captures\Adventure of English T01 DELAY 62ms.wav", video=false, audio=true)
video=DGdecode_mpeg2source("E:\Captures\Adventure of English.d2v")
audiodub(video,audio)
Trim(1246,13907) ++ Trim(14893,31362) ++ Trim(34432,53650) ++ Trim(54575,66708) ++ Trim(67335,87660)
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,full=false,edeint=edeintted)
crop( 6, 30, -16, -38)
Levels(25, 1, 255, 0, 255, coring=false)

LanczosResize(640,416) # Bilinear (Soft)
Trim(52230,52430)
#denoise
__________________
Beware the cheese.

My site: http://www.lastedit.com

Last edited by chiklit; 5th February 2007 at 16:14.
chiklit is offline   Reply With Quote
Old 6th February 2007, 14:20   #112  |  Link
Bluedan
Registered User
 
Bluedan's Avatar
 
Join Date: Oct 2001
Location: were people always get wet feet
Posts: 328
Quote:
Originally Posted by chiklit View Post
I've installed the main avisynth64 dlls as per the instructions earlier in this thread [...]
If you follow these instructions and probably also those in the posts below that one it should work.

I assume you didn't install avisynth 32 bit correctly? Try a fresh reinstall. avisynth 64 bit will only be used if it is called by a 64bit encoder.

It still works fine over here.

BTW: EDEINT won't work currently in 64bit flavour, as I found out recently, see post above!
__________________
I'm probably misconfused...
Bluedan is offline   Reply With Quote
Old 10th February 2007, 11:39   #113  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Something new: MipSmooth for x64. (Don't feed it rgb or you'll get an error about resizers only supporting YUV. Whoops.)
squid_80 is offline   Reply With Quote
Old 22nd February 2007, 15:25   #114  |  Link
tjmitchem
Registered User
 
Join Date: Feb 2007
Posts: 17
Decomb.dll issue

First off, major major thanks to squid_80 for doing all this work

I currently have virtualdub64, avisynth64 and dgdecode64 working well together. Unfortunately, whenever I try to use the decomb64 plugin, virtualdub crashes. According to VS2005 Pro, the crash is happening in decomb.dll.

Is there anyway I can get a debug version of decomb.dll and a pdb file so I can track down where this is happening?

Terry
tjmitchem is offline   Reply With Quote
Old 22nd February 2007, 20:20   #115  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
The source code can be found at http://members.optusnet.com.au/squid_80/sources/

I recommend using yasm r1591, later versions sometimes give errors.
squid_80 is offline   Reply With Quote
Old 27th February 2007, 14:43   #116  |  Link
andersa
Registered User
 
Join Date: Dec 2004
Posts: 6
squid, first of all, thanks for all the great work you've done on 64-bit video handling!

I have just installed Vista x64 and have a slight issue with the xvid64, i.e. I get this error message when attempting to install xvid64: "The INF file you selected does not support this method of installation". Any idea how the INF file can be tweaked to support vista?
andersa is offline   Reply With Quote
Old 28th February 2007, 09:52   #117  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Don't have vista, don't plan on getting it.
Try celtic_druid's exe based installer available here.
squid_80 is offline   Reply With Quote
Old 1st March 2007, 03:01   #118  |  Link
andersa
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks squid. That version works indeed.
andersa is offline   Reply With Quote
Old 9th May 2007, 23:54   #119  |  Link
Bluedan
Registered User
 
Bluedan's Avatar
 
Join Date: Oct 2001
Location: were people always get wet feet
Posts: 328
Well, the usual question: any further developments in the 64bit camp meanwhile?
The usual place is happily still available but no updates for months...

I'm still highly interested in TDEINT64
__________________
I'm probably misconfused...
Bluedan is offline   Reply With Quote
Old 10th May 2007, 17:53   #120  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
It's only been 3 months since I made mipsmooth64
I have an updated build of avisynth64 using 2.5.6's cache which makes it much more comparable in speed to the currently available 32-bit versions, new tdeint64 and motion64 (from clouded's source code) will hopefully be projects for this weekend (if I can fight the temptation to hack into ffmpeg; on my new q6600 it only uses ~50% cpu, even with 4 threads).
squid_80 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 06:32.


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