Totally agree. For PAL one can almost routinely shift the chroma 2 lines up. In Avisynth use
or for interlaced stuff something likeCode:ChromashiftSP(x,y)
Code:MergeChroma(Crop(0,2,0,0).AddBorders(0,0,0,2))
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 31 to 60 of 78
Thread
-
-
How do I shift the chroma up for interlaced video such as the go fishing clip in this thread?
[Attachment 76859 - Click to enlarge] -
Originally Posted by Sharc
Chromashift has not appeared in any of the "general scripts that have been given here since I've been on the board.
That said, how does one actually determine when you need to apply it?
@Leanoric, beware, the rocket scientists that invented the CromashiftSP filter decided that right would be -X, yes minus X. At least they got the Ys going the right way: + being up and - being down, as per the wiki. -
Lordsmurf said the chroma needs to be addressed before deinterlacing, but chromashiftsp accepts progressive input only?
So chromashiftsp should only be used for video that isnt getting deinterlaced? -
You should find discussions in this forum and/or doom9 I think. Probably a couple of years back, before the HD age.
That said, how does one actually determine when you need to apply it?
You can also see the displacement along edges of deinterlaced pictures. It looks sometimes like halos on one side and fuzzy/smeared edges on the opposite side of an object.
Chroma "displacements" can also happen due to flawed YV12 (4:2:0) interlaced processing e.g. by GUIs and even NLEs as noted in the other thread.
Keep an eye on it.Last edited by Sharc; 8th Feb 2024 at 07:01.
-
Originally Posted by Sharc
What ChromashiftSP numbers would you suggest for it?
In any case, ChromashiftSP only works with Progressive. How does what you suggest (and it appears, Lordsmurf) fit into the Hybrid workflow? -
In Hybrid you can insert custom filters, change the filter order etc.
It's like the brightness pumping of S-video outputs of certain Pannys, crosstalk in cables, loss of details in superbrights an superdarks, banding artifacts of fast vs slower encoder settings: When you are not aware that it exists you may not see it or just live with it. And not everyone likes the idea of redoing all his tapes because he might have missed something .... -
Understood.
How are you zooming in to view the edges?
What are your setting suggestions for ChromashiftSP? -
Yes, chroma (color) shift is not always easy to detect. How high it is depends on the recording & playing (S)VHS recorder and the number of copies of the recording. Theoretically I think the chroma shift should move 2 pixels to the right and down with each copy, at least with PAL devices.
The chroma shift can be corrected in Avisynth or Virtual Dub.
Or even during recording with an external TBC if this is supported.
Here is the description from the instructions for an external TBC:
"When a video is copied several times a tiresome fading of the colours compared with the brightness is noticeable. This is because the PAL system shifts the colours (but only the colours) one line down and somewhat to the right. The colour shift function can shift the colours - seperately from the brightness - upwards and to the the left or right."
I usually correct the chroma shift when creating my working copy in one step at the same time as I cut out the unnecessary parts such as the beginning, end and commercials using the chroma shift filter from JPDSR in Virtual Dub which works in the YUV color space.
https://github.com/jpsdr/Filtres_JPSDR -
A comparison between the original source and a version with chroma shifted 2 pixels up. You tell me who is good and who is not (I know the answer).
with image slider: https://imgsli.com/MjM4Nzc0
here the script I wrote to shift chroma for interlaced source (let me know if you see any error):
Code:video_org=FFmpegSource2("tmp\Go Fishing 2.avi") # separate fields tff video_org_sep_tff=video_org.AssumeTFF().separateFields() # parameters v_shift=2 # shift chroma up video_org_sep_tff_chroma_shift=MergeChroma(video_org_sep_tff,crop(video_org_sep_tff,0,v_shift,0,0).addborders(0,0,0,v_shift)) # shift chroma down #video_org_sep_tff_chroma_shift=MergeChroma(video_org_sep_tff,crop(video_org_sep_tff,0,0,0,-v_shift).addborders(0,v_shift,0,0)) video_rep=video_org_sep_tff_chroma_shift.Weave() return(video_rep)
-
@Leanoric really is after values for Hybrid.
As far as I am concerned, in this case, looking at ChromashiftSP, FlaxenVHS and Lollo's, there's no point in adjusting the colours. What you gain on one side you lose on the other. The tops of the trees verses the waterline, for example. -
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
-
yes
Rarely what? You specifically wrote in post #27 that this video needs chroma shift. If you have no time (3 minutes in this case) to provide facts (but you spend hours to write looooong posts about TBCs) then better say nothing.
Yes, I am your friend
Chroma noise reduction has nothing to do with chroma shift. -
Off topic
You all know that I think "There is nothing Topaz VEAI can do that cannot be matched/beaten by AviSynth/VapourSynth" as well as "A combination of AviSynth//VapourSynth and Topaz VEAI as upscaler or sharpener can produce sometimes excellent results", as we discussed in the famous thread https://forum.videohelp.com/threads/399360-so-where-s-all-the-Topaz-Video-Enhance-AI-discussion with @JoelHruska (if my friend lordsmurf says differently, just ignore him).
This is one example, as shown by @rgr. Thanks to him for his contribution.
I repeated the experiment, using the following AviSynth script:
Code:AssumeTFF() QTGMC(preset="slow", matchpreset="slow", matchpreset2="slow", sourcematch=3, tr1=2, tr2=1, NoiseTR=2, sharpness=0.1) TemporalDegrain2(degrainTR=3) # no sharpening
On the left the result of the above script + Topaz VEAI, on the right the result of above script with the addition of LSFmod(defaults="slow"), so basically is a comparison between LSFmod and Topaz VEAI
video comparison:
comp_last.avi
image comparison:
image slider comparison https://imgsli.com/MjM4ODUw
P.S. #1: this is not a comparison between AviSynth/VapourSynth and Topaz VEAI; to do that, the first workflow should use some of the available tecniques for image improvement (VSGAN and all the others). I used AviSynth just as preparatory step for Topaz VEAI.
P.S. #2: it is clear that the final judgement depends on personal taste; some may prefere a blurred image rather than a "visually better" image where the additional details have been recreated, and could be false, or non existent, or existing in a different shape in the real world. But the pleasure of the "watching" is there. -
@lollo: if the intension was to show that Topaz VEAI can help, then you should have removed around 90% of that post,....
users currently on my ignore list: deadrats, Stears555 -
Yes, I know.
It can help, sometimes, in combination with AVS/VS -
Sorry if I'm being stupid here but I cant work out how to download the chromashift filter.
[Attachment 76906 - Click to enlarge] -
@Leanoric, you're not the only one! QED though; go here:
https://github.com/jpsdr/Filtres_JPSDR/releases/tag/20221120
Download and unzip that 7z file. You'll see a set of folders for x86 and x64; in there is the VDF file with all the filters which will appear in the VDub filters list when you drop it into your plugins folder and start VDub.
I'm using W11 64 so I chose the W7_AVX2 folder.
Drop the resulting file into your Plugins folder.
The single file contains all the individual plugins, which includes Chromashift. It's actually a very nice filter and works in a similar fashion to Flaxen. -
https://github.com/jpsdr/Filtres_JPSDR/releases
under assets download:
filtres_JPSDR_20221120.7z file
unzip this file and copy from the x86 or x64 folder, depends on whether 32bit or 64bit version of virtual dub is used:
Filtres_JPSDR.vdf
into the plugins folder from Virtual Dub
I see Alwyn was faster with his answer... -
I cant get the filters to show up in vdub.
Like Alwyn Im using win11 64, so I chose the W7_AVX2 folder.
Ive copied the vdf file into the plugin folder but it doesnt show up in filters. Ive tried it for both vdub and vdub2. Ive also tried a couple of the other ones but none of them show up in filters when I open vdub.
Im not sure how you can tell what those different versions are, is there another one that I should try? -
Attached is the "Filtres_JPSDR.vdf" I'm using (I had to rename it to ZIP because the forum doesn't accept VDFs as attachments...Baldrick?).
I have put it into my VDub2 Plugins64 folder. Once you've downloaded it, just change the file extension to VDF.
Here it is in my plugins64 folder, and you can see the various JPSDR filters scattered through the overall list.
[Attachment 76915 - Click to enlarge]
Added: looking at your plugins folder, you should have more VDFs in it. Compare it with mine; perhaps do a search for the MPEG264 (which was in the folder when I set up my copy of Vdub2) to find the correct plugins64 folder.Last edited by Alwyn; 10th Feb 2024 at 09:06.
-
Since I was testing my current dev version, here's an example not using Avisynth, but Vapoursynth and some ml based filters (terribly slow, eating 10GB VRAM and output is flickering).
script: https://pastebin.com/EuJsjABb
image compare:
(video attached)
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
Well done, Selur!
This is then a comparison between a full AviSynth/VapourSynth processing (yours) and Topaz VEAI (helped by AviSynth) as in my previous attempt.
The winner is evident (just look to the eyes, even if the background is more "defined" in Topaz)
https://imgsli.com/MjM5MTU3
BTW, it would be nice if you could try some advanced image enhacer we discussed on doom9's forums, this sample seems to be a nice candidate for video enhacement... -
still nothing
Similar Threads
-
proper way to trim and resize 720x480 vhs capture using avisynth
By chsgrits in forum CapturingReplies: 9Last Post: 20th Oct 2023, 02:02 -
Removing noise and dirt from footage & sharpening using Hybrid
By Akuma786 in forum ProgrammingReplies: 24Last Post: 11th Oct 2023, 06:13 -
Trying to Deinterlace VHS, Hybrid says it’s BFF, MeGUI says it’s TFF
By macramore in forum Video ConversionReplies: 9Last Post: 23rd Aug 2023, 12:31 -
Can AviSynth+ script be loaded into Hybrid?
By VideoDoc in forum RestorationReplies: 2Last Post: 9th Oct 2021, 09:27 -
Sharpening during capture in procamp
By Rahneshin in forum CapturingReplies: 9Last Post: 27th May 2021, 19:19