Trying to use this filter here:Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") MPEGSource("f:\duck.mpg") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") VFan(yuy,0,1,"pass",32,gyplus=8,gyminus=8) ConvertToYUY2()
http://www.avisynth.org/warpenterprises#fanfilter
Trying to do what it shows at the top of page 3 in the Word DOC that comes in the zip file with the filters. It's just super-barebones and doesn't tell you much AT ALL, in terms of usage for writing the scripts.
Just really at a loss for what to fix where. Help!?
I get this:
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 18 of 18
Thread
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
There is a thread on DOOM9.ORG forum covering this filter (in either AVISYNTH USAGE of AVISYNTH DEVELOPMENT). There is some additional info on usage and parameters. I haven't used the filter though, so I can't add to their knowledge - I've just been passively observing.
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
The thread says nothing about the scripting.
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Sorry to butt in, because I'm no Avisynth guru. Usually the script should go this way:
LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll")
LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll")
MPEGSource("f:\duck.mpg")
ConvertToYUY2()
VFan(yuy,0,1,"pass",32,gyplus=8,gyminus=8)
I have no idea what VFAN does, but ConvertToYUY2 should precede it.
Just tryin' to help.. -
The first argument to almost any AVISynth call usually refers to a clip reference, which you are not using in this case. I have not tried this myself, but either of these might work...
Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") MPEGSource("f:\duck.mpg") VFan(0,1,"pass",32,gyplus=8,gyminus=8) ConvertToYUY2()
Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") clip = MPEGSource("f:\duck.mpg") VFan(clip,0,1,"pass",32,gyplus=8,gyminus=8) ConvertToYUY2(clip)
Dan -
You need a heading for your YUY parameter. Something like:
(COLORSPACE="YUY",...) It is a string, so it has to be in quotes. If you can't find out what to call it, look at the source file (if it is available).ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
Change your YUY argument to YUY2. Don't use quotes. I believe this argument is passed from another process.
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
Well, "yuy" is not something I wrote. Did you glance at the DOC file in the ZIP file for the filter? That's the only line he wrote, for an example. None of the preceeding code was written.
VFan(yuy,0,1,"pass",32,gyplus=8,gyminus=8 )
That's the only thing that was pre-written.
The rest is what I had to write, guessing mostly.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Originally Posted by tdanWant my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Yes, I saw that. I also looked at the source code and found that "yuy" should have been "yuy2" (no mentions of yuy but plenty of yuy2). Maybe the script shown has a typo.
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
Alright SLK001, I tried it:
YUY2
Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") MPEGSource("f:\duck.mpg") VFan(yuy2,0,1,"pass",32,gyplus=8,gyminus=8) ConvertToYUY2()
"YUY2"
Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") MPEGSource("f:\duck.mpg") VFan("yuy2",0,1,"pass",32,gyplus=8,gyminus=8) ConvertToYUY2()
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Apparently, you don't have to specify the colorspace value - I guess that it is passed from AVISynth. Also, this newer version seems to require a clip name. This script works (doesn't crash):
v1=mpeg2source("d:\Experiment\CHHTEST.D2V")
VFan(0,1000,"pass",32,gyplus=8,gyminus=8)
ConvertToYUY2()ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
I'm not sure what version of AVIsynth you have, but the filter might
have been designed for a previous version of AVIsynth, and you have
an older (or newer) version.. could be one reason for the error message, or..
..It might be that your source is not YUY2 color space formatted.
If memory serves me, dvd sources are YV12 color space formatted, and
the filter is only disigned for YUY2.
.
I would think that if the filter is YUY2 based, or expecting to
work inside YUY2 space, then the ConvertToYUY2() should be
on the earlier line:
v1=mpeg2source("d:\Experiment\CHHTEST.D2V")
ConvertToYUY2()
VFan( 0,1000,"pass",32,gyplus=8,gyminus=8 )
.. my syntax may be off, could be..
v1=mpeg2source("d:\Experiment\CHHTEST.D2V")
v1.ConvertToYUY2()
v1.VFan( 0,1000,"pass",32,gyplus=8,gyminus=8 )
@ LS
Did you resolve the error issue ??
-vhelp 3364 -
From the Fanfilter documentation:
"RGB32, RGB24, YUY2 and YV12 formats are supported. However, RGB formats may need slightly different tolerance values to those of YUY2 and YV12. Incase of RGB all 3 thresholds may be required while for YUY2 and YV12 formats just Y may be enough in many cases( there are cases where V tolerances were required). "
In that case, don't add the ConverttoYUY2 line.
Also, place the fanfilter dll in another directory - OTHER than the AviSynth plugin dir. You're running AviSynth 2.55, correct ?
Why aren't you using DGMpgdec for the .MPG file ? -
I'm using AVISYNTH 2.55 and I just randomly picked a MPEG reader. I've not resolved it yet, will have to wait until Sunday at this point.
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
I looked at the source code and the following should work (the filter requires YV12, YUY2 or RGB):
Code:LoadPlugin("c:\program files\avisynth2\plugins\MPEGDecoder.dll") LoadPlugin("c:\program files\avisynth2\plugins\fanfilter.dll") MPEGSource("f:\duck.mpg") VFan(0,1,"pass",32,gyplus=8,gyminus=8)
Did you glance at the DOC file in the ZIP file for the filter? That's the only line he wrote, for an example. None of the preceeding code was written.
VFan(yuy,0,1,"pass",32,gyplus=8,gyminus=8 ) -
My bad. I got it to work last night, but I posted the wrong code. Here is something that is working:
Code:v1=mpeg2source("d:\Experiment\CHHTEST.D2V") VFan(v1,0,1000,opt="pass",gyplus=8,gyminus=8) ConvertToYUY2()
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W
Similar Threads
-
Avisynth filter RemoveDirt not doing anything
By ThePhoenix in forum Newbie / General discussionsReplies: 10Last Post: 4th Mar 2012, 18:40 -
Lav filter and avisynth
By Creed in forum Newbie / General discussionsReplies: 7Last Post: 15th Dec 2011, 16:10 -
Need Avisynth filter
By fubuki81 in forum RestorationReplies: 5Last Post: 30th Sep 2008, 13:04 -
Logoaway filter for AviSynth?
By DRP in forum Video ConversionReplies: 2Last Post: 8th Aug 2008, 04:30 -
I'd like to understand How to use avisynth/AvsEdit
By Hittz in forum Video ConversionReplies: 5Last Post: 9th Sep 2007, 21:25