05-07-2018, 12:59 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Hello,
Been a long time.
My LD player LD-S2 shifts chroma a bit. In order for 3D filter to work perfectly, this has to be corrected. I'm able to delay chroma using Allen Avionics VAR-256 device. My workflow is to split S-Video into luma and chroma channels, run the chroma channel through Allen Avionics VAR-256 device and then plug luma and chroma channels into Extron YCV 100 to get composite output. This is not a problem.
My problem is to find the optimal delay value. I don't know how to scientifically eye the correct value. Thus, I was curious if I send a few test samples including Snell&Wilcox with various values, will some be able to advise me which delay value should be optimal? Thanks in advance.
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
07-10-2018, 08:09 AM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Lordsmurf, do you think you can help?
|
07-10-2018, 09:14 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
Test capture, then plugin into Avisynth. Eyeball it there, figure out values. To help, you can also offset it.
That's not something I've really dealt with very often. Usually, it;s due to the device embedding the error in a tape. And it can still mostly be fixed, even after tape embedding. The magic of Avisynth.
|
07-10-2018, 09:18 AM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
But how do you do it in AVISynth? Care to send me the script samples?
Also the end result must be Composite video fed into motion adaptive 3D comb filter. That’s why I can’t be correcting in AVISynth. Only eyeballing it. But do let me know the script.
|
07-10-2018, 02:54 PM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,323 Times in 991 Posts
|
|
I don't think anyone can give you a working script without a sample of the problem you're asking about. What do you mean by "chroma delay"? Do you mean chroma ghosting from blended-field processing? Chroma ghosting from preceding or following frames? Chroma bleeding or displacement?
|
07-10-2018, 03:01 PM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 559
Thanked 121 Times in 105 Posts
|
|
avisource
assumetff()
separatefields()
A=Last
B=A.Greyscale()
Overlay(B,A,X=0,Y=-2,Mode="Chroma") # change X or Y or both values
weave()
That's how you do in avisynth for interlaced video
If you want to fix the chroma automagically (not so magic actually, many errors but haven't tried in a long time) try the plugin AutoChromaFix
|
The following users thank themaster1 for this useful post:
lordsmurf (07-20-2018)
|
07-10-2018, 05:11 PM
|
|
Premium Member
|
|
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,323 Times in 991 Posts
|
|
How do you know the video is interlaced? What if it's telecine? We still don't know what the poster means by "chroma delay".
|
07-10-2018, 07:44 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Sanlyn, I believe it is called bleeding.
The explanation:
This is the example of Y/C delay error: https://mediaarea.net/_/img/QCTools/image60.jpg
This is corrected: https://mediaarea.net/_/img/QCTools/image61.jpg
I am attaching 4 screenshots. Take a look at Snail&Wilcox screen shots one run with 99 nano seconds delay (AvionicsDelay99.PNG) and the other one run without (NoDelay.PNG).
Take a look at the bottom right center where it says 1.5. You can see that the image that was run with chroma delay has full chroma resolution. This is not the case when it was run with no delay. However, I am not certain 99 nano seconds is the optimal value.
themaster1, this script is for correcting delay, right? Not to eyeballing delay, right? I will need to correct delay in hardware and to eyeball it in AVISynth. The reason is, I split luma and chroma, then correct chroma, and then I need to comb them to run through motion adaptive 3D comb filter. The input to the comb filter should have chroma corrected.
2 more screenshots. TestPattern1NotCorrected.jpg and TestPattern2Corrected.jpg.
Last edited by metaleonid; 07-10-2018 at 08:12 PM.
|
07-20-2018, 11:37 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
@sanlyn: I think metaleonid knows enough that it's not a case of simple telecine. So that the assumption I'll go on for now.
@metaleonid: If it truly is a chroma delay, then an Avisynth script to correct it is what you'll do. What themater1 provided will probably work fine. If I'm deciphering it correct, the -2 value is the temporal offset. Probably -2 frames, but read the filter documentation. Or ask themaster1 for clarification.
If it is -2 frames, and you need timecode, then break out the pencil for some basic algebra. The frames are either base25 or base29.97(then rounded), and 2 frames is about 1/12th or 1/15th of seconds (base60). You may be able to find a dummy calculator online, but I prefer the math.
I'm not sure what timebase S&W is using there, assuming base60 standard seconds.
|
07-20-2018, 04:45 PM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 559
Thanked 121 Times in 105 Posts
|
|
The script i gave you is to fix chroma shift manually (move chroma up ,down, right,left basically) not sure if that was what you were looking for. (you have to eyeball and change X=,Y= values according to your needs)
Autochromafix can do that automatically. Last time i checked it wasn't bad, but not 100% safe and very slow
|
07-20-2018, 05:47 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
Quote:
Originally Posted by themaster1
The script i gave you is to fix chroma shift manually (move chroma up ,down, right,left basically) not sure if that was what you were looking for.
|
Unless I'm reading it wrong, he wants temporal offset.
I guess it's time for him to re-explain his needs, as I'm no longer sure either.
|
07-20-2018, 11:23 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Hello,
I’d like to fix it but not in the AVISynth. My workflow is:
S-Video out with breakout cable where chroma channel goes through a delay line. Then luma and chroma channels go to Extron VYC-100 which combs them together. Now I get composite signal with the correct sync between luma and chroma. The composite signal is then going to a capture card with motion adaptive 3D comb filter. The motion adaptive 3D comb filter is the reason why I want to fix the delay before analog to digital transfer because for the filter to work properly luma and chroma must be in sync. If I do it in AVISynth, the signal is already incorrectly transferred to digital which is unfixable.
What I want to do is to eyeball he delay and adjust it it.
|
07-21-2018, 03:51 AM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 559
Thanked 121 Times in 105 Posts
|
|
It's not an issue to fix the chroma shifts after analog>digital convertion especially if you use a lossless codec.
You're working with a good source material (laserdisc) so the shift should be constant throughout, unlike old vhs recordings that i work with sometimes; so it's a piece of cake i'd say.
A 3D comb filter only work on chroma artefacts, it fix cross-colour interference or colour bleeding and don't take Luma into account or it's spacial position relative to chroma.
That's my 2 euro's cents
|
07-21-2018, 09:00 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
No, I wasn't able to bring full chroma resolution back. Also I am including 4 more screenshots from Video Standard LD player. There are 2 samples. The player Pioneer CLD-D703 exhibits no delay or very minimal one which is not worth correcting. The player Pioneer Elite LD-S2 exhibits delay such that to the right of red vertical bars there is a tiny black line on the right edge. Please take a look.
|
07-22-2018, 03:58 AM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 559
Thanked 121 Times in 105 Posts
|
|
i don't see the black line on the right, i need glasses perhaps.
|
07-22-2018, 03:31 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
The "black lines" are internal sharpening (edge contrast) from the player. Common trick.
|
07-22-2018, 07:51 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Quote:
Originally Posted by lordsmurf
The "black lines" are internal sharpening (edge contrast) from the player. Common trick.
|
Fair enough. But the black lines on LD-S2 screen shots are only to the right of red bars. On CLD-D703 screen shots it is symmetrical on both sides.
|
07-22-2018, 07:58 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
Black is usually paired with white. So black on right, white on left.
But some can be black and black.
You're probably running into the sharpening of the Laserdisc players. Most consumer stuff does that. LD was only consumer, so I'm not at all surprised by it. Whether it's good or bad is debatable.
Sharpening doesn't really have much to do with chroma.
LD is one of the few areas of video where I never dabbled directly, always supported others. I'd been offered players and discs many times in past years, sometimes even for free, but circumstances at the time made me decline. Even now, honestly, I'm not sure if it's something I'd want to mess with. I'd rather give an LD to somebody like you, if ever I wanted one processed.
|
07-22-2018, 08:00 PM
|
|
Free Member
|
|
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 501
Thanked 19 Times in 17 Posts
|
|
Ok, but how would you explain that in my 1st screen shots cyan bars on snell and wilcox appeared only when I delayed chroma by 98 ns?
|
07-22-2018, 08:02 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 14,233
Thanked 2,585 Times in 2,197 Posts
|
|
Quote:
Originally Posted by metaleonid
Ok, but how would you explain that in my 1st screen shots cyan bars on snell and wilcox appeared only when I delayed chroma by 98 ns?
|
I'm not sure what you mean, nor what I'm looking at.
|
Thread Tools |
Search this Thread |
|
|
All times are GMT -5. The time now is 01:04 PM
|