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 Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st February 2008, 15:15   #1  |  Link
yup
Registered User
 
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
Sharpener for YUY2 source

Hi folk!
Please advice sharpener for YUY2 source (analog capture). I try use FFT3D and not very satisfy. I search filter in space domain (not frequency) like LSF but for YUY2.
With kind regards yup.
yup is offline   Reply With Quote
Old 1st February 2008, 15:26   #2  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
For progressive content:

yuy2clip = last
yuy2clip .ConvertToYV12()
LSF(...)
ConvertToYUY2() .MergeChroma(yuy2clip)
__________________
- 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!)
Didée is offline   Reply With Quote
Old 1st February 2008, 18:45   #3  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Won't the color conversion decrease the quality, if only a little bit?
Or am I totally wrong on this?
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 1st February 2008, 19:12   #4  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
1) There is zero impact on quality. YUY2<-->YV12 does not affect luma at all. Chroma is affected by the conversion, so note that the original not-converted chroma is copied back at the end.

2) The posted code is superfluous for LS/F, since LS/F already does exactly that when the input is YUY2.


@ yup: what's the actual problem? Finding a sharpener that supports YUY2, or finding a sharpener that gives a "nice looking" result?
__________________
- 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!)
Didée is offline   Reply With Quote
Old 1st February 2008, 19:13   #5  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
[edit]
Didee beat me to the punch
[/edit]

Note that he's merging the original chroma back in.

I wonder, does LSF primarily operate on the luma plane?

I haven't got much experience with it...

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 1st February 2008, 20:04   #6  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Ah, okay. Thanks for the explanation.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 3rd February 2008, 17:02   #7  |  Link
yup
Registered User
 
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
Thanks to all!
Didée recomend filter which work only luma plane, tomorrow I testing it, also my source interlaced, 2 approach,
first
Code:
AVISource("x.avi")
source=last
yuy2=SeparateFields(source)
ConvertToYV12(source, interlaced=true)
SeaparateFields()
LSF()
ConvertToYUY2() .MergeChroma(yuy2)
Weave()
second
Code:
AVISource("x.avi")
yuy2=nnedi2(fields=-2)
ConvertToYV12(yuy2)
LSF()
ConvertToYUY2() .MergeChroma(yuy2)
SeparateFields()
SelectEvery(4,0,3)
Weave()
Please advise which approach better, my source preliminary filtered MVDEgrain2 or MVDEgrain3.
yup.
yup is offline   Reply With Quote
Old 3rd February 2008, 18:38   #8  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
That's how rumours are born. "Didée recomend filter which..." -- Nope. I did not recommend anything. Just tried to focus your vague question.

In the OP you mention YUY2 and spatial-domain filtering ... but nothing about progressive/interlaced.

Now we know it's interlaced, which makes the point about YUY2 rather unimportant. The more important question is "how to sharpen an interlaced source" ...

... and there we are again, digging up the basic question of spatial filtering of interlaced sources for the x-th time. Chewing the cud.
__________________
- 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!)
Didée 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:53.


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