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. |
11th April 2007, 00:25 | #25 | Link | |
Registered User
Join Date: Jan 2002
Location: Los Angeles, CA USA
Posts: 132
|
Quote:
If Parity = "Top Field First" then yadif works incorrectly. If Parity = "Assumed Top Field First" then yadif works correctly. |
|
11th April 2007, 03:44 | #26 | Link |
Registered User
Join Date: Sep 2005
Location: Vancouver
Posts: 600
|
I see why... Yadif is using "IsTFF" instead of the GetParity function. Looking at the source for the Info filter it seems that Is_FF is only set by the Assume_FF function (that's how Info checks whether it is "_ Field First" or "Assumed _ Field First"). So everything that isn't explicitly set with Assume returns as BFF.
Last edited by ChiDragon; 11th April 2007 at 03:50. Reason: got it backwards |
11th April 2007, 04:52 | #27 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Thanks. Open source is good thing
(Mplayer uses "TFF" and "parity" different way than avisynth. It is source of this mess.)
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
11th April 2007, 13:25 | #29 | Link | ||
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
Quote:
__________________
now playing: [artist] - [track] ([album]) |
||
11th April 2007, 17:45 | #31 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Released Yadif version 0.4:
Finally (!) fixed bug with wrong used parity for TFF without AssumeTFF. Removed limitation on frames pitches equality. about avisynth.css file: place it to upper level folder of plugins dir, for example to "C:\Avisynth 2.5\" (Field parity is still strange thing in Avisynth. For example, why FlipVertical does not change it automatically?)
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
11th April 2007, 18:25 | #32 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Some speed test with PAL DVD source, null encoder codec:
avs2avi.exe yadif.avs -o n -c null Tomsmocomp(-1,5,0) - 59.32 fps LealKernelDeint(1) - 51.80 fps Yadif() - 40.30 fps TDeint() - 16.40 fps (AthlonXP 2040MHz, SDR Dimm)
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
12th April 2007, 04:34 | #34 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
script:
Code:
load_stdcall_plugin("yadif.dll") mpeg2source("g:\vts_06_1.d2v") yadif() source - (PAL DVD 720x576, 25) It is not encoding example. It is speed test.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
12th April 2007, 15:10 | #35 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
LoadPlugin results in "Not a valid Avisynth 2.5 Plugin" error message. Load_Stdcall_Plugin works fine.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
12th April 2007, 16:31 | #36 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
Notice the tiny c in Mug Funky's loadcplugin
And thanks, Fizick, I really have to donate for this and MVTools as soon as my paycheck arrives.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
12th April 2007, 18:50 | #37 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
(May be I am wrong) Avisynth support 4 types of plugins:
1. Regular plugins. Use LoadPlugin(...) 2. VirtualDub plugins. Use LoadVirtualDubPlugin(...) 3. Vfapi plugins. Use LoadVFapiPlugin(...) 4. Avisynth_C plugins with two subtypes: 4.1 Original Kevin Atkinson C-interface plugin. (It use C language calling syntax internally). Use LoadCPlugin(...) (note C symbol in word!) You must firsly load Avisynth_C interface by LoadPlugin("avisynth_c.dll"). 4.2 Updated (new) C-interface plugin. (It use stdcall calling syntax internally). Use Load_Stdcall_plugin(...) or LoadCPlugin(...). Such plugins are not need in avisynth_c.dll anymore (since v2.5.6? avisynth has core function LoadCPlugin). So, If you need in some old Avisynth_C plugin, for example SmartDecimate, you must firstly load Avisynth_C.dll. This Avisynth_C.dll has function LoadCPlugin which will override core Avisynth function with the same name LoadCPlugin. In this case, LoadCPlugin command will load old-style C-plugin only. Load_Stdcall_plugin will NOT overrided, and may be used in any case with new C-plugins (like Yadif). (In my opinion, it is not very good. LoadCPlugin word could be removed fom core or reserved for old-style C-plugins only. But we have what we have now). Advice for users: use Load_stdcall_plugin(...) for new C-plugins, and LoadCPlugin(...) for old C-plugins. Advice for developers of C-plugins: use stdcall type, new avisynth_c.h header and avisynth.lib library provided with avisynth 2.5.7. It works. Tested and approved
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
12th April 2007, 19:23 | #38 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Fizick, did you ever think of porting this to Avidemux, too?
Avidemux has a new Plugin interface now for 'External' filters, but I didn't see any of them yet. Yadif would be a nice one to have
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
13th April 2007, 00:08 | #40 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
It's slooooooooooooooooooooooooooooow and I can't get satisfactory quality out of it...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|