10-11-2004, 03:14 AM
|
Free Member
|
|
Join Date: Apr 2004
Location: Lima, Peru
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi everyone
I have an mpeg2 interlaced source...
so, I thought that maybe using SmoothDeinterlace my problem would be solved.
But, when I loaded my AVS script on Tmpgenc, avisynth warned me that SmoothDeinterlace only works with YUY2 and RGB32 sources.
So then, I added:
ConvertToYUY2(interlaced=true)
and finally, my script was accepted. however, when I finished the encoding I noticed that the left half of the video was VIOLET, and the other half was correct.
After that, I tried:
ConvertToRGB32(interlaced=true)
And what I got was almost the same result... just that it wasnt the half, but just an small section of the video all colored in violet.
I dont get why this is happening. Im not a total noobie, but this is out of my tiny knowledge.
plzzzzzzz!!!
PS: sorry for my english, if everyone could understand spanish it would be much easier to me.
[/code]
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
10-11-2004, 03:23 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
We used to have this problem once. This is due to an instruction that I do not remember at the moment that need to works in YV12 !
(I will remember the line if you post your complete script).
That means that you have a real incompatibility in your scripts between filters that need to be in YV12 and others that need to be in YUY2.
you will have to choose beween dropping the YV12 filter or using and other deinterlacer (there are a lot that work in YV12).
|
10-11-2004, 06:34 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That half violet screen issue "IMHO"!!! results from a usage of "Asharp()" in YUY2 colorspace!
Second:
If you dont want to result your strems in a 50fps "bobbed" state, then Smoothdeiterlace() is NOT the first choice! Youd look for "Kerneldeint()" on neuron2.net or if you want it quick'n dirty "try" Fielddeinterlace(full=false, blend=false) ... or blend=true. (Blend=false means no blendings/ghostings but blend=true means no jitter at all)
So the best would be if you post your TOTAL actual script where your problems do base on.
|
10-11-2004, 01:10 PM
|
Free Member
|
|
Join Date: Apr 2004
Location: Lima, Peru
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks!! :P
yeah, I was using Asharp filter.
the script I did wasnt the big thing, just loading the source, then "Smoothdeiterlace"ing, and finally "asharp.
I've read somewhere that the best desinterlacing filter was Smoothdeiterlace.
Actually, I don't understand whats ASHARP is for... now Im going to look for it. than, maybe I can delete that line from my script.
|
10-11-2004, 01:21 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Don't delete anything.
Post your script here and somebody will tell you what is the better solution.
|
10-11-2004, 02:16 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by shgr
the script I did wasnt the big thing, just loading the source, then "Smoothdeiterlace"ing, and finally "asharp.
I've read somewhere that the best desinterlacing filter was Smoothdeiterlace.
Actually, I don't understand whats ASHARP is for... now Im going to look for it. than, maybe I can delete that line from my script.
|
You dont know whats asharp for???
Do you order something new in a restaurant you've never eat before without reading the card at least?
Asharp -- "nomen est omen" does sharpen .... but in an adaptive way so only edges will be sharpened by using threshold.
So do follow mine and Prodaters advice and post your script
|
10-12-2004, 03:31 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by incredible
Do you order something new in a restaurant you've never eat before without reading the card at least?
|
I do
When I'm in a chinese or japonese restaurant and don't understand the name of somethign of the card, I order it
|
10-12-2004, 03:44 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
YEP!
"no risk - no fun" .... isnt it ?
Do you remember that nice -old shool- hip hop song from 1988 "go see the doctor" from Kool Moe dee ?
http://www.discogs.com/artist/Kool+Moe+Dee
|
10-12-2004, 09:11 AM
|
Free Member
|
|
Join Date: Apr 2004
Location: Lima, Peru
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dont be surprised:
Code:
LoadPlugin("C:\AVSFilters\MPEG2Dec3dg.dll")
LoadPlugin("C:\AVSFilters\asharp.dll")
LoadPlugin("C:\AVSFilters\SmoothDeinterlacer.dll")
Mpeg2Source("C:\abc\final.d2v")
ConvertToRGB32(interlaced=true)
SmoothDeinterlace(doublerate=true, TFF=true, Blend=true)
asharp(1, 4)
so, just that... there was undot.. and other filters... but I just tried with this.
actually, I knew the concept of ASHARP; the name reveals itself. its just that there are so many filters which do the same job.
|
10-12-2004, 10:23 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Try this script:
Code:
LoadPlugin("C:\AVSFilters\MPEG2Dec3dg.dll")
LoadPlugin("C:\AVSFilters\asharp.dll")
LoadPlugin("C:\AVSFilters\KernelDeint.dll")
Mpeg2Source("C:\abc\final.d2v")
KernelDeint(order=1,sharp=true,threshold=5)
asharp(1, 4)
You'll find KernelDeint at http://www.avisynth.org/warpenterprises . Download the newer version, IIRC there's two links for it there. You'll also have to determine the correct field order, but it's top field first (order=1) in almost all DVD sources.
|
10-12-2004, 09:52 PM
|
Free Member
|
|
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Boulder,
The version in the link you suggested is 1.5.0. Here -> http://gast3.ssw.uni-linz.ac.at/~kp/...th/KernelDeint we can find a version 1.5.1.
Do you know if this is an official compile of KernelDeint, and what are the changes from the previous version?
Just one more question... I have been reading that KernelDeint is considered one of the best deiterlacers out there (if you want to keep the same fps as the source). Comparing KernelDeint and FieldDeinterlace, the final result will be that different?
|
10-13-2004, 12:51 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by muaddib
|
Actually both can be found via avisynth.org That's why I told to get the newer version.
Quote:
Do you know if this is an official compile of KernelDeint, and what are the changes from the previous version?
|
Some MMX optimizations, a couple of bugs fixed and KernelBob() was added to the plugin itself so no functions for that needed anymore. Generally recommended to get v1.5.1 as it's faster and works better.
Quote:
Just one more question... I have been reading that KernelDeint is considered one of the best deiterlacers out there (if you want to keep the same fps as the source). Comparing KernelDeint and FieldDeinterlace, the final result will be that different?
|
KernelDeint is an area-based deinterlacer so it deinterlaces only those areas that have combing (determined with the threshold parameter). FieldDeinterlace deinterlaces the whole frame. KernelDeint will produce a slightly sharper image and keeps more detail.
|
10-13-2004, 02:57 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You should also test "tdeint()" a new deinterlacer with modes for 25fps and 50fps(bobbed) output. It might become the best deinterlacer actually available as some tests till now have been shown.
|
10-13-2004, 03:02 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That's true, it's a good one. It's just damn slow due to the amount of calculations involved in its technique
|
10-13-2004, 11:48 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm trying to deinterlace some interlaced music video clips and made some tests with these three deinterlacers.
KernalDeint and TDeint seems to produce an image a little more sharp (I don't stop to compare them deeply), but IMHO they have a big negative point compared to FieldDeinterlace that is they produces much more jerkiness.
I think the smoothnes FieldDeinterlace seems to produces is due to the blending of the fields. But IMHO I prefer the blending ghost then the jerkiness.
What do you think?
Is there a way to get rid of the "blending ghosts" and the jerkness at the same time, or do I really have to choose one?
|
10-13-2004, 01:02 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's one or the other, either you blend or interpolate.
You could try with sharp=false for a less sharp kernel. TDeint also has some parameters which might help with jerkiness, and TomsMoComp is not bad either, try it without the vertical filter (TomsMoComp(x,5,0) that is).
|
10-13-2004, 01:18 PM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
muaddib,
I don't know exactly what kind of material you have, but maybe one option would be a conversion from 60i to 24p? Music videos are probably pure interlaced 29.97fps streams, which could be turned into 23.976fps monsters. There's a sticky thread about it at the optimal scripts forum.
|
10-14-2004, 01:21 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Boulder
It's one or the other, either you blend or interpolate.
|
In this case I will stay with "blend".
I really don't like jerk playback, even if it is a light jerk...
Quote:
You could try with sharp=false for a less sharp kernel.
|
I tried, but it didn't make much difference.
Quote:
TDeint also has some parameters which might help with jerkiness,
|
I played a lot with the parameters. I'm not sure if I made the best choices for lowering the jerkiness, but I had no lucky here too.
Quote:
and TomsMoComp is not bad either, try it without the vertical filter (TomsMoComp(x,5,0) that is).
|
Same situation here...
|
10-14-2004, 01:37 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Boulder
I don't know exactly what kind of material you have,
|
Some are pure ntsc interlaced 29.97fps, but I also have many that are pal interlaced 25fps.
Quote:
but maybe one option would be a conversion from 60i to 24p? Music videos are probably pure interlaced 29.97fps streams, which could be turned into 23.976fps monsters. There's a sticky thread about it at the optimal scripts forum.
|
Yes... I will try that with the 29.97 material, but is there something similar for 25fps
There is one interesting thing… with the 29.97 material, dvd2avi reports them as 100% ntsc interlaced, but there are some of them that I can do a simple IVTC (telecide.decimate), and it will result in a perfect 23.976 stream. By perfect I mean a completely smooth playback. The problem is that there are the ones that will result in a jerk playback. So I always have to try/encode them and check if it’s ok or not. I’m getting tired of these tests. and I have many (many!) clips to encode.
Also there are some 25fps reported as interlaced, but they are not! There is absolutely no comb effect in the entire stream.
|
10-14-2004, 01:50 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well, DVD2AVI doesn't really know much..you must trust your eyes at all times.
One way to figure whether a clip is truly interlaced is to use a script that only loads the source and then SeparateFields(). View this clip in VirtualDub and see if there are any changes in the fields of the same frame. If there's constant movement, not just two duplicate frames with the other shifted a bit up or down, the clip should be truly interlaced.
With PAL sources you'll just have to deinterlace or encode as interlaced.
Shouldn't telecining result in a pattern of 3 progressive frames, then 2 combed when the source is loaded to VDub?
|
All times are GMT -5. The time now is 07:57 PM — vBulletin © Jelsoft Enterprises Ltd
|