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. |
1st February 2008, 15:15 | #1 | Link |
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. |
1st February 2008, 15:26 | #2 | Link |
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!) |
1st February 2008, 19:12 | #4 | Link |
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!) |
1st February 2008, 19:13 | #5 | Link |
Derek Prestegard IRL
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 :) |
3rd February 2008, 17:02 | #7 | Link |
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() Code:
AVISource("x.avi") yuy2=nnedi2(fields=-2) ConvertToYV12(yuy2) LSF() ConvertToYUY2() .MergeChroma(yuy2) SeparateFields() SelectEvery(4,0,3) Weave() yup. |
3rd February 2008, 18:38 | #8 | Link |
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!) |
Thread Tools | Search this Thread |
Display Modes | |
|
|