Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools
  #21  
04-21-2024, 09:00 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,682
Thanked 2,467 Times in 2,098 Posts
Quote:
Originally Posted by keaton View Post
Shocking that something basic like ChromaShift is not available in modern Avisynth.
It's not the same, but ChromaShiftSP() is x64. I've used it, but it does behave differently. As always, verify everything, before and after processing. It's a fiddly .avsi script, not a .dll filter.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
04-22-2024, 12:45 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
For Avisynth latest version should be
https://github.com/realfinder/AVS-St...ceBorders.avsi
which is part of
https://github.com/realfinder/AVS-Stuff/tree/master
Reply With Quote
  #23  
04-22-2024, 08:10 AM
Gary34 Gary34 is offline
Free Member
 
Join Date: Feb 2023
Location: Oklahoma
Posts: 203
Thanked 39 Times in 36 Posts
Quote:
UPDATE. my system is x64 so it doesnt run x32 colorshift dll.. now trying to find x64 version. i hope there is one.
Use the 32 bit original version of Avisynth on your 64 bit computer. https://www.digitalfaq.com/forum/video-restore/10178-started-avisynth-avspmod.html Most plugins are 32 bit. The 64 bit version of Avisynth has some advantages because it allows you to use more than 4 gb of ram so it’s faster for some complex scripts like QTGMC.
Reply With Quote
The following users thank Gary34 for this useful post: oddmykyta (04-22-2024)
  #24  
04-22-2024, 02:57 PM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
already digged for that. the problem is that the system automatically installs the matching (x64) version of AviSynth. If you could provide me some manual method doing that u would have saved me. thx in advance
Reply With Quote
  #25  
04-22-2024, 03:59 PM
Gary34 Gary34 is offline
Free Member
 
Join Date: Feb 2023
Location: Oklahoma
Posts: 203
Thanked 39 Times in 36 Posts
I’m not sure then.
Reply With Quote
  #26  
04-22-2024, 06:38 PM
keaton keaton is offline
Premium Member
 
Join Date: Jan 2017
Location: USA
Posts: 192
Thanked 90 Times in 64 Posts
Quote:
Originally Posted by oddmykyta View Post
already digged for that. the problem is that the system automatically installs the matching (x64) version of AviSynth. If you could provide me some manual method doing that u would have saved me. thx in advance
I downloaded AviSynth_260.exe from https://sourceforge.net/projects/avi...Synth%202.6.0/ and the file size is identical to the installer I used almost 7 years ago for my XP 32-bit machines, so this should be the identical installer I used.
Reply With Quote
  #27  
04-22-2024, 06:42 PM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
Just as i did. It is identical. But as i mentioned it automatically registers your installation to a matching OS version. I guess i will end up using ur advice about virtual machines, and just install the win7 x32. Thanks though.
Reply With Quote
  #28  
04-23-2024, 11:36 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
Not sure whether it helps, using Vapoursynth with QTGMC, Crop, BalanceBorders and EdgeFixer
image: ttps://ibb.co/4RSF9QP
(did no additional denoising, color corrections, etc. )
The parameters I used for BalanceBorders and EdgeFixer should be similar to those used in Avisynth.

Cu Selur
Reply With Quote
The following users thank Selur for this useful post: oddmykyta (04-23-2024)
  #29  
04-23-2024, 02:07 PM
Gary34 Gary34 is offline
Free Member
 
Join Date: Feb 2023
Location: Oklahoma
Posts: 203
Thanked 39 Times in 36 Posts
Hybrid works well in windows 10
Reply With Quote
  #30  
Yesterday, 11:17 AM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
unfortunately it just adds up more noise. Its works on the standing environment like static shots. by any camera movement the strange noises are created. But thank you for your help.

One more question. Is it possible to remake an earlier provided code by keaton in Hybrid? Asking since chromashift filter is included to Hybrid. If yes i would be happy to know hof exactly. I couldnt find out the right way to go with overlayering and so on.

Code (by keaton) is attached.

Thanks in advance.


Attached Files
File Type: txt avs.txt (2.1 KB, 4 downloads)
Reply With Quote
  #31  
Yesterday, 11:33 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
You would need to write a custom section, since Hybrid has no options for the overlay mixing that is done in the script.

Cu Selur
Reply With Quote
  #32  
Yesterday, 11:37 AM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
So basically i should get 2 videos that have to be overlayed, apply the needed filter for them in Hybrid, and then do the overlaying using avisynth? Thx
Reply With Quote
  #33  
Yesterday, 11:45 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
No.
You would have to either do this part of the Avisynth script in a custom section in Hybrid (if you use Vapoursynth conver this to Vapoursynth beforehand)
Code:
# Shift original clip chroma (both U and V channels) right 14 columns, then keep only the right most
# 26 columns (the 14 with the color issue and the 12 black columns to the right of that), fill the
# remaining columns to the left of that as black
b=ChromaShift(C=14).crop(694,0,0,0).addborders(694,0,0,0)

# Make a copy of the original clip with the right most 26 columns cropped off
c=a.crop(0,0,-26,0)

# Overlay the copy of the original (c) on top of the Chroma Shifted copy (b) with full opacity
Overlay(b,c,0,0,opacity=1.0)
Of feed this (properly adjusted) to Hybrid.
The rest of the script can be done in Hybrid.

=> I doubt you will be able to do this all in Hybrid, since you know to little about Hybrid, Avisynth and Vapoursynth.

Cu Selur
Reply With Quote
  #34  
Yesterday, 11:49 AM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
thank you. lets see.

im here to learn tho..

Last edited by oddmykyta; Yesterday at 11:49 AM. Reason: 1
Reply With Quote
  #35  
Yesterday, 12:24 PM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
Since you want to learn,... you can do the following in Hybrid to achieve:
Code:
# Shift original clip chroma (both U and V channels) right 14 columns, then keep only the right most
# 26 columns (the 14 with the color issue and the 12 black columns to the right of that), fill the
# remaining columns to the left of that as black
b=ChromaShift(C=14).crop(694,0,0,0).addborders(694,0,0,0)

# Make a copy of the original clip with the right most 26 columns cropped off
c=a.crop(0,0,-26,0)

# Overlay the copy of the original (c) on top of the Chroma Shifted copy (b) with full opacity
Overlay(b,c,0,0,opacity=1.0)
(this basically an alternative to BalancedBorders)
in Vapoursynth:
  • Start Hybrid
  • Load Source
  • enable "FilteringVapoursynth->Custom->Insert before DeCross", enable the edit section and enter:
    Code:
    import chromashift
    import havsfunc
    b = chromashift.ChromaShift(clip=clip, shift_right=14).std.Crop(left=694).std.AddBorders(left=694)
    c = clip.std.Crop(right=26)
    clip = havsfunc.Overlay(b,c,0,0,opacity=1)
Setting Level, Tweak and Letterbox to mimic the rest of the script should be easy.

Cu Selur
Reply With Quote
  #36  
Yesterday, 12:27 PM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by Selur View Post
Since you want to learn,... you can do the following in Hybrid to achieve:
Code:
# Shift original clip chroma (both U and V channels) right 14 columns, then keep only the right most
# 26 columns (the 14 with the color issue and the 12 black columns to the right of that), fill the
# remaining columns to the left of that as black
b=ChromaShift(C=14).crop(694,0,0,0).addborders(694,0,0,0)

# Make a copy of the original clip with the right most 26 columns cropped off
c=a.crop(0,0,-26,0)

# Overlay the copy of the original (c) on top of the Chroma Shifted copy (b) with full opacity
Overlay(b,c,0,0,opacity=1.0)
(this basically an alternative to BalancedBorders)
in Vapoursynth:
  • Start Hybrid
  • Load Source
  • enable "FilteringVapoursynth->Custom->Insert before DeCross", enable the edit section and enter:
    Code:
    import chromashift
    import havsfunc
    b = chromashift.ChromaShift(clip=clip, shift_right=14).std.Crop(left=694).std.AddBorders(left=694)
    c = clip.std.Crop(right=26)
    clip = havsfunc.Overlay(b,c,0,0,opacity=1)
Setting Level, Tweak and Letterbox to mimic the rest of the script should be easy.

Cu Selur
Thank you. Will try this out and tell about results.
Reply With Quote
  #37  
Yesterday, 02:33 PM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
Didn´t expect that message again.
Since chromashift is built-in filter, im now not sure about next step.


Attached Images
File Type: jpg image_2024-05-04_21-30-30.jpg (98.9 KB, 3 downloads)
Reply With Quote
  #38  
Yesterday, 02:49 PM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
Ahh,.. I know what the reason is.
I'm using a newer version with some changes, the 'import' doesn't know where to find the script.
(newer version by default already loads the script folder)
=> I'll package my dev version and send you a link in ~15min.

Cu Selur
Reply With Quote
  #39  
Yesterday, 02:50 PM
oddmykyta oddmykyta is offline
Free Member
 
Join Date: Apr 2024
Posts: 21
Thanked 2 Times in 2 Posts
Thank you man, much appreciated
Reply With Quote
  #40  
Yesterday, 03:03 PM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 84
Thanked 21 Times in 19 Posts
Send you a link via pm.
Have fun, going to bed now.

Cu Selur
Reply With Quote
The following users thank Selur for this useful post: oddmykyta (Yesterday)
Reply




Tags
capture defect line error, editing, mask, overscan

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mitsubishi HS-HD2000U Top of Screen Has Colored Diagonal Lines invictus005 Capture, Record, Transfer 5 12-16-2019 12:08 AM
Panasonic ES10 as passthru adds colored flicker at top of image? Firewing Capture, Record, Transfer 10 12-01-2019 12:36 PM
How to remove horizontal lines caused by damaged tape? spanak Restore, Filter, Improve Quality 14 06-04-2018 04:41 AM
U-matic tape colored square glitches? HanSoloBerger Capture, Record, Transfer 1 10-05-2017 09:50 AM
How can i remove black bar from side of mpg?? Konfusion Restore, Filter, Improve Quality 12 11-27-2007 05:04 AM




 
All times are GMT -5. The time now is 04:49 PM