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

Reply
 
LinkBack Thread Tools Search this Thread
  #41  
09-08-2025, 09:40 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Okay, you are not using Hybrid, you are using vsViewer on it's own.
Open the file with Hybrid, open the Vapoursynth Preview.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #42  
09-08-2025, 09:45 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
Okay, you are not using Hybrid, you are using vsViewer on it's own.
Open the file with Hybrid, open the Vapoursynth Preview.
What do You mean by file? The modified vpy script with directories to my computer from You?
Reply With Quote
  #43  
09-08-2025, 10:33 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Yes, if you want to use that as source.
Reply With Quote
  #44  
09-08-2025, 11:12 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
It's ok but the output file has kind of blurred kind of motion effect. I am trying to recreate manually setting the filters in Hybrid and there also is a blurry effect. Which filter can cause such problem ?
Reply With Quote
  #45  
09-08-2025, 11:20 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Probably, mclean
Reply With Quote
  #46  
09-08-2025, 11:27 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
Probably, mclean
Is there any filter similar but not causing that bluring effect?
Reply With Quote
  #47  
09-08-2025, 11:48 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Best simply apply the filters one by one check the Vapoursynth Preview to see what they do.
The point of Hybrids tons of option is to allow adjusting filters&co to your needs.
Due to the input quality of your source, with conventional filtering, you will either have to live with blocking, artifacts, noise, or some blurring to hide those.

-- merged --

Personally, I would apply different filters per scene. i.e. using RediuceFlicker and SmallDeflicker can help a lot in the zoomed out view, but if one applies them to the close-ups you end up with artifacts, like this:


Cu Selur

-- merged --

Here's something to try:
  • Start Hybrid
  • Load the sample.avi
  • Set 'Filtering->(De-)Interlace/Telecine->Overwrite input scan type to' to 'top field first'
  • Enable 'Filtering->Compare view' (lower right corner)
  • Enable 'Filtering->Syncth auto refresh' (lower right corner)
  • Open the 'Vapoursynth Preview' and keep it open so that you see what happens (lower right corner)
  • Enable 'Filtering->Vapoursynth->Color->Misc->ChromaShiftSP' and set 'X' to '-3'
  • Enable 'Filtering->Vapoursynth->Sharpen->aWartpSharp2' and set 'Depth' to '8' and enable 'Chroma'
  • Enable "Filtering->Vapoursynth->Misc->UI->Show 'Apply only to'"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker' and set 'Strength' to '3' and enable 'aggressive'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker' and set 'Preset' to 'aggressive' and enable 'CNR' and 'ZSmooth'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"

Now, try different filters under 'Filtering->Vapoursynth->DeGrain' and 'Filtering->Vapoursynth->DeNoise' and play with their settings.
Reply With Quote
  #48  
09-15-2025, 06:54 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
Here's something to try:
  • Start Hybrid
  • Load the sample.avi
  • Set 'Filtering->(De-)Interlace/Telecine->Overwrite input scan type to' to 'top field first'
  • Enable 'Filtering->Compare view' (lower right corner)
  • Enable 'Filtering->Syncth auto refresh' (lower right corner)
  • Open the 'Vapoursynth Preview' and keep it open so that you see what happens (lower right corner)
  • Enable 'Filtering->Vapoursynth->Color->Misc->ChromaShiftSP' and set 'X' to '-3'
  • Enable 'Filtering->Vapoursynth->Sharpen->aWartpSharp2' and set 'Depth' to '8' and enable 'Chroma'
  • Enable "Filtering->Vapoursynth->Misc->UI->Show 'Apply only to'"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker' and set 'Strength' to '3' and enable 'aggressive'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker' and set 'Preset' to 'aggressive' and enable 'CNR' and 'ZSmooth'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"

Now, try different filters under 'Filtering->Vapoursynth->DeGrain' and 'Filtering->Vapoursynth->DeNoise' and play with their settings.
Thanks but when applying [30- 535] in range I have error:
Failed to evaluate the script:
Python exception: ReplaceFramesSimple: Index out of bounds in mappings at line 1, column 6

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 3378, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 3379, in vapoursynth._vpy_evaluate
File "C:\Users\tesar\AppData\Local\Temp\tempPreviewVapo ursynthFile13_51_06_827.vpy", line 69, in
clip = core.remap.Rfs(baseclip=clip, sourceclip=core.rdfl.ReduceFlicker(clip=clip, strength=3, aggressive=1), mappings="[30- 535]")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
File "src/cython/vapoursynth.pyx", line 3114, in vapoursynth.Function.__call__
vapoursynth.Error: ReplaceFramesSimple: Index out of bounds in mappings at line 1, column 6
Reply With Quote
  #49  
09-15-2025, 10:28 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Sorry, forgot to mention:
Enable 'Filtering->(De-)Interlace/Telecine->QTGMC Vapoursynth->Bob' without this the frame count is halved and thus the range would need to be "[15-267]"

Cu Selur
Reply With Quote
  #50  
09-16-2025, 11:06 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
Sorry, forgot to mention:
Enable 'Filtering->(De-)Interlace/Telecine->QTGMC Vapoursynth->Bob' without this the frame count is halved and thus the range would need to be "[15-267]"

Cu Selur
Thanks. With the same settings I managed to clean some another capture of the same cassete but captured with JVC VCR with line TBC. Image is significantly cleaner and Hybrid has easier task with cleaning the picture with just one filter mcleaner. Sample 1 is the original unfiltered capture, sample2 is filtered using Your settings and mcleaner modified. I think the results are better then with Sharp non TBC VCR. What do You think?


Attached Files
File Type: avi sample1.avi (92.26 MB, 6 downloads)
File Type: avi sample2.avi (96.55 MB, 6 downloads)
Reply With Quote
  #51  
09-16-2025, 11:17 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Use what ever you like, with filtering it's always down to what one personally prefers.
Chroma shift is not correct for sample 2.


Attached Images
File Type: jpg compare.jpg (48.8 KB, 7 downloads)
Reply With Quote
  #52  
09-16-2025, 11:24 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
Use what ever you like, with filtering it's always down to what one personally prefers.
Chroma shift is not correct for sample 2.
Chroma shift is from previous capture and is -3,I think. How should it be set?
Reply With Quote
  #53  
09-16-2025, 11:27 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
try without it,..
Reply With Quote
  #54  
09-30-2025, 11:51 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
try without it,..
I have uploaded final mp4 sample file. It's interlaced because it's for archival purposes not for youtube. I have cleaned audio. I know it's not perfect. What do You think?


Attached Files
File Type: mp4 sample.mp4 (94.75 MB, 19 downloads)
Reply With Quote
  #55  
09-30-2025, 12:27 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 15,476
Thanked 2,834 Times in 2,403 Posts
Hmm.

Video:
- Temporal NR seems too aggressive.
- Something with the interlace seems off. NR can harm interlace. Resize by anything other than 4-pixel increments can cause wrong field swapping.
- The luma/chroma are acceptable.
- I don't like all the in-image wiggles. Not sure if this is from lack of line TBC, nth gen VHS, broadcast, NR processing, or what. It's distracting, like the video was invaded by amoeba, and it breathes.

Audio:
- Perhaps less muffled, which isn't really that hard to do restore-wise.

I've not participated much in this thread. selur was guiding you through Hybrid, so I let the master do his work.

- 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
The following users thank lordsmurf for this useful post: araset (10-01-2025)
  #56  
09-30-2025, 04:16 PM
timtape timtape is offline
Free Member
 
Join Date: Sep 2020
Location: Perth, Western Australia
Posts: 914
Thanked 180 Times in 166 Posts
Quote:
Originally Posted by araset View Post
I have cleaned audio. I know it's not perfect. What do You think?
The audio is now heavily broadband denoised, making for a very unnatural sound. Very "robotic" sound. Much of the quieter crowd sound is now wiped out. Only the big applause after a finished point remains. But with all that heavy denoising the "beep, beep" sounds are still there at times.
If this was video, not audio, the darker picture details would now be wiped out.

Listen for not only the removed sound but also the sound we are trying to preserve. We're trying to do as little damage as possible to the wanted audio.

The proper way is to filter out only these tones and preserve as much possible the rest of the audio. This means using filters that are very selective. Sometimes that's possible. Sometimes it isnt.

As one example Izotope RX Elements contains a DeHum tool.

Here's a YT demo

https://www.youtube.com/watch?v=iDRQXJmC6Eg&t=12s

It's important to use the right tools but also to know how to use them, including knowing their limitations.

Having said that, most likely the original tape playback was poor. I suspect there's much clearer audio on that tape, waiting to be captured well. Audio capture is one of my specialties. Feel free to send me the original tape and I will capture the linear audio track at near to its best, for the cost of postage. PM me if interested.

Last edited by timtape; 09-30-2025 at 05:04 PM.
Reply With Quote
The following users thank timtape for this useful post: araset (10-01-2025)
  #57  
10-01-2025, 08:55 AM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by lordsmurf View Post
Hmm.

Video:
- Temporal NR seems too aggressive.
- Something with the interlace seems off. NR can harm interlace. Resize by anything other than 4-pixel increments can cause wrong field swapping.
- The luma/chroma are acceptable.
- I don't like all the in-image wiggles. Not sure if this is from lack of line TBC, nth gen VHS, broadcast, NR processing, or what. It's distracting, like the video was invaded by amoeba, and it breathes.

Audio:
- Perhaps less muffled, which isn't really that hard to do restore-wise.

I've not participated much in this thread. selur was guiding you through Hybrid, so I let the master do his work.
Yes this wiggle is distracting. Is any way to maybe prevent it?
Reply With Quote
  #58  
10-01-2025, 10:04 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Quote:
I have uploaded final mp4 sample file. It's interlaced because it's for archival purposes not for youtube. I have cleaned audio. I know it's not perfect. What do You think?
personally, I would try some strong denoising with a luma or edge mask to reduce the noise in the field lines.
Reply With Quote
  #59  
10-01-2025, 03:18 PM
araset araset is offline
Free Member
 
Join Date: Jul 2023
Posts: 94
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Selur View Post
personally, I would try some strong denoising with a luma or edge mask to reduce the noise in the field lines.
Do You have any suggestions?
Reply With Quote
  #60  
10-02-2025, 07:18 AM
Selur Selur is offline
Free Member
 
Join Date: Feb 2022
Posts: 173
Thanked 48 Times in 42 Posts
Haven't tried anything, but Spotless with a radius of three and a luma mask to only filter stuff 150+ (expanded by one pixel) might work,...
=> argh, won't work since the ball would be filtered too and disappear in some cases

Try:
  • Start Hybrid
  • Load the sample.avi
  • Set 'Filtering->(De-)Interlace/Telecine->Overwrite input scan type to' to 'top field first'
  • Enable 'Filtering->(De-)Interlace/Telecine->QTGMC Vapoursynth->Bob'
  • Enable 'Filtering->Compare view' (lower right corner)
  • Enable 'Filtering->Synch auto refresh' (lower right corner)
  • Open the 'Vapoursynth Preview' and keep it open so that you see what happens (lower right corner)
  • Enable "Filtering->Vapoursynth->Misc->UI->Show 'Masked'-controls"
  • Enable 'Filtering->Vapoursynth->Sharpen->aWartpSharp2' and set 'Depth' to '16' and enable 'Chroma'
  • Enable 'Filtering->Vapoursynth->Sharpen->aWartpSharp2->Masked'
  • Set 'Filtering->Vapoursynth->Sharpen->aWartpSharp2->Masked', Mask to 'LimitMask' and Limit to '110' (invert is enabled)
  • Enable "Filtering->Vapoursynth->Misc->UI->Show 'Apply only to'-controls"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker' and set 'Strength' to '3' and enable 'aggressive'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->ReduceFlicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker' and set 'Preset' to 'aggressive' and enable 'CNR' and 'ZSmooth'
  • Enable 'Filtering->Vapoursynth->Frame->Stabilize->SmallDeflicker->ApplyOnlyTo', enable 'Range' and set it to "[30- 535]"
  • Enable 'Filtering->Vapoursynth->MCTemporalDenoise'
  • Set 'Filtering->Vapoursynth->MCTemporalDenoise->Setting' to 'very high'
  • Set 'Filtering->Vapoursynth->Sharpen->aWartpSharp2->Masked' , Mask to 'LimitMask' and Limit to '150', disable 'invert'.
Note the 'Range' restrictions are there to not filter close-ups that strong, so if the part you filter has no close-ups these restrictions are not needed.

Cu Selur

Ps.: Attached a sample encode.
PPs.: Yes, one can do more to filter this clip, but that is open for personal preferences.


Attached Files
File Type: mkv denoised_lines.mkv (3.46 MB, 8 downloads)

Last edited by Selur; 10-02-2025 at 08:14 AM.
Reply With Quote
The following users thank Selur for this useful post: araset (10-03-2025)
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to improve dark video? Denicio Restore, Filter, Improve Quality 3 05-03-2021 05:48 PM
How can I improve quality of this video? LAZYWRITER Restore, Filter, Improve Quality 0 10-07-2020 12:02 PM
What filters in VirtualDub 1.9xx to improve video? BarryTheCrab Restore, Filter, Improve Quality 11 08-30-2019 04:38 AM
Help improve video with Avisynth? rks84093 Restore, Filter, Improve Quality 8 01-09-2019 11:28 PM
Improve quality of digital 8 video klassal Restore, Filter, Improve Quality 3 12-10-2009 02:11 AM




 
All times are GMT -5. The time now is 09:33 AM