Go Back    Forum > Digital Video > Video Project Help > Edit Video, Audio

Reply
 
LinkBack Thread Tools
  #1  
04-08-2022, 05:21 PM
Closecall Closecall is offline
Free Member
 
Join Date: Jan 2022
Posts: 88
Thanked 2 Times in 2 Posts
With the technical knowledge now in 2022, what is the best way (hardware or software, understanding that hardware is the preferred method) to upscale a 480i video (VHS capture), so it looks as good as it possibly can when it is being viewed on modern 4k LED TV's? It is my understanding that VHS captured videos should be deinterlaced prior to upscaling.

It should be known that the videos will be on USB drives and plugged into a TV directly.
I know a preferred method is to leave the video interlaced and burned onto DVD but I prefer flash drives for the main reasons of scratched or broken discs and eventual incompatibility.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
04-09-2022, 12:20 AM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,304
Thanked 543 Times in 501 Posts
There is no need to go all the way to 4k from SD, Anything after HD is a matter of line doubling, deinterlace and upscale to 1440x1080, Your 4K TV will just have to double the lines, no heavy computation therefore no more quality loss.

https://www.youtube.com/@Capturing-Memories/videos
Reply With Quote
  #3  
04-09-2022, 11:59 AM
Closecall Closecall is offline
Free Member
 
Join Date: Jan 2022
Posts: 88
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by latreche34 View Post
There is no need to go all the way to 4k from SD, Anything after HD is a matter of line doubling, deinterlace and upscale to 1440x1080, Your 4K TV will just have to double the lines, no heavy computation therefore no more quality loss.
With that said, what is the best way to go about it? I appreciate the response and the information. I have read that it is often recommended not to upscale above 720p, haven't heard reasons why much though.
Reply With Quote
  #4  
04-09-2022, 08:23 PM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,304
Thanked 543 Times in 501 Posts
It's better not to upscale at all and if you do have to upscale for whatever reason, the only resolution to avoid is 720p, It was a pro mobile camera resolution for sports and news gathering back in the day where progressive frames is needed (30p) for fast moving objects because 1080p was not possible yet, It became one of the standards for over the air broadcasting and quite few native 720p panels and consumer camcorders were made. Not anymore, it is as dead as DV, no 720p panels are being made anymore, Youtube dropped support for 720p and consider it SD now, your HD or 4K TV or monitor will have to re-upscale 720p files to HD or 4K on the fly anyway, so it's a middle man that is no longer needed. So no, don't make that mistake.

https://www.youtube.com/@Capturing-Memories/videos
Reply With Quote
  #5  
04-10-2022, 04:54 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
With that said, what is the best way to go about it?
step 1, deinterlace if needed:
  • if your video is not interlaced, but telecined PAL (the fields are from the same moment in time) you do not deinterlace
  • if your video is not interlaced, but telecined NTSC you do not deinterlace, but apply IVTC with http://avisynth.nl/index.php/TIVTC or http://avisynth.nl/index.php/Decomb
  • if your video is interlaced you deinterlace with QTGMC; QTGMC does denoise and sharpen by default, you may want to play with its parameters
step 2, change color matrix:
  • when uscaling to HD the color matrix must be changed from standard 601 to 709
step 3, change resolution [and add DAR 4:3 flag because captured VHS files do not have it]
  • use nnedi3_rpow2 to upscale by a power of 2 and resize to 1440x1080 (HD resolution)
step4, optional to build a 1920x1080 frame:
  • add 240 black borders on left and right side [and change DAR to 16:9]
A PAL example:
Code:
video_org=AviSource("<your file>")

### mask head switching noise
video_org_masked=video_org.crop(0,0,0,-X).addborders(0,0,0,X) # where X=number of scanlines to mask

### deinterlacing
deinterlaced=video_org_masked.AssumeTFF().QTGMC() # change to BFF if needed

### change color matrix
deinterlaced_cm=deinterlaced.Colormatrix("Rec.601->Rec.709")

### upscale
upscaled=deinterlaced_cm.nnedi3_rpow2(rfactor=2, nns=4, qual=2, cshift="Spline36Resize", fwidth=1440, fheight=1080)
step 5, optional to encode to h.264:
Code:
ffmpeg.exe -i input.avs -c:v libx264 -aspect 4:3 -c:a aac output.mp4
Reply With Quote
The following users thank lollo2 for this useful post: msgohan (04-11-2022), The_Outsider (04-11-2022)
  #6  
04-10-2022, 07:08 PM
Idocinthebox Idocinthebox is offline
Premium Member
 
Join Date: Oct 2021
Posts: 12
Thanked 0 Times in 0 Posts
I use Topaz Video Enhance AI. It uses artificial intelligence to upscale the video. It works very well. There are several different AI models to try. It has models that work with interlaced as well as progressive video sources. I recommend you clean up the audio with Goldweave and do any color, contrast and other filtering before hand. I use Davinci Resolve Studio but you can use any program you are familiar with. I then render the video uncompressed then run it through Video Enhance AI. I am using Windows 11 a Mitsubishi HS HD2000U Svideo to a Diamond VC500 one touch capturing the video and My onboard Realtek for audio with Virtualdub64 using Utvideo 4:2:2 codec.
Reply With Quote
  #7  
04-10-2022, 07:22 PM
thestarswitcher thestarswitcher is offline
Free Member
 
Join Date: Dec 2017
Posts: 95
Thanked 5 Times in 5 Posts
Quote:
Originally Posted by lollo2 View Post
step 2, change color matrix:[LIST][*]when uscaling to HD the color matrix must be changed from standard 601 to 709
Very helpful! I haven't been doing this for whatever reason, will advise.

Quote:
  • use nnedi3_rpow2 to upscale by a power of 2 and resize to 1440x1080 (HD resolution)
I use LanczosResize() or Spline36Resize() in these instances; what makes you prefer nnedi3? I'm interested in hearing your thoughts.

Quote:
step 5, optional to encode to h.264:
Code:
ffmpeg.exe -i input.avs -c:v libx264 -aspect 4:3 -c:a aac output.mp4
We can render entire Avisynth scripts outside of Virtualdub or Hybrid...?
Reply With Quote
  #8  
04-10-2022, 07:51 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,654
Thanked 2,461 Times in 2,093 Posts
Quote:
Originally Posted by Idocinthebox View Post
I use Topaz Video Enhance AI. It uses artificial intelligence to upscale the video. It works very well. There are several different AI models to try. It has models that work with interlaced as well as progressive video sources.
That's terrible advice. Topaz isn't AI whatsoever. all marketing BS, and it creates lots of artifacts. The interlaced mode is beyond awful. You're essentially sticking video in a meat grinder.

Much longer discussion here: https://forum.videohelp.com/showthread.php?t=399360

Quote:
Diamond VC500 one touch capturing the video
Where/when did you get that VC500? Far too many reports of bad AGC in recent years.

Quote:
and My onboard Realtek for audio
- Most USB cards don't also external audio, it won't lock, desync.
- Onboard Realtek are very hit-or-miss, tinny, scratchy audio. Which specific board is it? I've seen a few good onboard Realtek, but mostly bad.

- 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
  #9  
04-10-2022, 09:44 PM
Idocinthebox Idocinthebox is offline
Premium Member
 
Join Date: Oct 2021
Posts: 12
Thanked 0 Times in 0 Posts
Topaz does a great job I really see no artifacts. Artifacts will be created if you use the wrong ai model.

I have read the agc complaints but my 7nit does not seem to have issues.
Reply With Quote
  #10  
04-10-2022, 10:11 PM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,304
Thanked 543 Times in 501 Posts
Quote:
Originally Posted by Idocinthebox View Post
Topaz does a great job I really see no artifacts. Artifacts will be created if you use the wrong ai model.

I have read the agc complaints but my 7nit does not seem to have issues.
Could you post some samples? I would assume Topaz would have a hell of a time predicting noisy VHS, HD and film are good candidates for Topaz, But sooner or later it will be mainstream if it proves itself.
Reply With Quote
  #11  
04-11-2022, 12:06 AM
traal traal is offline
Free Member
 
Join Date: Jan 2016
Posts: 398
Thanked 75 Times in 68 Posts
Topaz with aggressive settings creates interesting but unnatural results with VHS sources.

With less aggressive settings, it just sharpens the video a little, not worth the effort.

Maybe someday it will be useful for VHS upscaling.

So don't upscale, just use QTMC to deinterlace to 60p, and use the "grain" tuning in Handbrake to prevent macroblocking.
Reply With Quote
  #12  
04-11-2022, 02:45 AM
Closecall Closecall is offline
Free Member
 
Join Date: Jan 2022
Posts: 88
Thanked 2 Times in 2 Posts
I had bad luck with Topaz software myself. Given it is a nice and simple process to get a deinterlaced video, it was not worth the quality loss I saw personally every time I tried it.

Has anyone ever tried out a Framemeister unit? I have seen some videos of it recently and show some promise of being able to deinterlace and upscale.
Reply With Quote
  #13  
04-11-2022, 05:32 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
I use Topaz Video Enhance AI. It uses artificial intelligence to upscale the video. It works very well.
There is nothing that Topaz AI can do that cannot be beaten by AviSynth / VapourSynth (quote lollo2 and Selur)

Quote:
I use LanczosResize() or Spline36Resize() in these instances; what makes you prefer nnedi3? I'm interested in hearing your thoughts.
nnedi3 features (slightly) better upascale results, but most important sharpen less. I generally do the sharpening after the upscale (because it is weaker than the other way), so I prefer the more "neutral" upscale.

Quote:
We can render entire Avisynth scripts outside of Virtualdub or Hybrid...?
I generally use a command line to have full control of the x264 parameters; however Hybrid is an excellent GUI, so you can easily use it.

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
  #14  
04-11-2022, 07:28 AM
Idocinthebox Idocinthebox is offline
Premium Member
 
Join Date: Oct 2021
Posts: 12
Thanked 0 Times in 0 Posts
The difference between traditional upscaled and ai upscaled is they sythesize pixels that are not there. This can create artifacts. I usually clean up as much as I can in low res then feed that to Topaz. My Mitsubishi HS HD200 has TBC and filters so it outputs a significantly cleaner capture. I can deinterlace before in resolve or avsynth. Tender to non interlaced,no compressed avi or other format then feed that to Topaz. I will upload samples.
Reply With Quote
  #15  
04-11-2022, 09:04 AM
hodgey hodgey is online now
Free Member
 
Join Date: Dec 2017
Location: Norway
Posts: 1,683
Thanked 450 Times in 386 Posts
Quote:
Originally Posted by lollo2 View Post
nnedi3 features (slightly) better upascale results, but most important sharpen less. I generally do the sharpening after the upscale (because it is weaker than the other way), so I prefer the more "neutral" upscale.
.
I also find nnedi3 a decent middle ground. It's a more sophisticated upscaler than Lanczos and spline methods, using a neural network to try to connect lines/edges which helps reduce the jaggedness you tend to get on lines with the simpler methods. It won't match the best an AI upscaler like topaz could accomplish on a good source with the right models/tuning, but doesn't risk giving the weird artifacts like the fancier AI ones can sometimes do. It's also what QTGMC uses internally to scale stuff.

There are probably cases where the simpler methods could end up working better though if the starting footage is very bad.
Reply With Quote
The following users thank hodgey for this useful post: msgohan (04-11-2022)
  #16  
04-11-2022, 10:22 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
I usually clean up as much as I can in low res then feed that to Topaz
In this experiment i feed Topaz with an AviSynth filtered source (a low res vhs capture), and compare versus the same AviSynth filtered source upscaled with nnedi3: https://www.youtube.com/watch?v=LW6XWp9e5ws

In this experiment I leave Topaz doing the full filtering and compare versus the Avisynth flow: https://www.youtube.com/watch?v=vmHJyF_XxT0

In both cases AviSynth is better.

Additional comparison (Topaz oversharpen): https://imgsli.com/MTAzNTg4

Some discussions we had in the past:
https://forum.videohelp.com/threads/...-AI-discussion (go through all pages to find nice samples)
https://forum.videohelp.com/threads/...Topaz-products
https://forum.doom9.org/showthread.php?t=183124

A common agreement we reached, was that the best approach is trying to use both AviSynth/VapourSynth and Topaz VEAI to obtain the best results. Topaz does not help in most of the cases. However, is worth a try for a quick a decent result .

Edit: we are talking about upscaling on VHS captures here!

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN

Last edited by lollo2; 04-11-2022 at 10:41 AM.
Reply With Quote
The following users thank lollo2 for this useful post: hodgey (04-11-2022), msgohan (04-11-2022)
  #17  
04-11-2022, 03:18 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Quote:
Originally Posted by Closecall View Post
Has anyone ever tried out a Framemeister unit? I have seen some videos of it recently and show some promise of being able to deinterlace and upscale.
Scalers for video games, like the Framemeister, have opposite goals compared to standard video content. For example, nearest-neighbour scaling can look excellent with 2D pixel art games. It looks horrendous with video.

On the flip side, if we want to run QTGMC to deinterlace, we may be willing to wait and let it run at 5 frames per second. Gamers want deinterlacing that gets frames through their entire display chain at a latency of less than half a frame, and are willing to accept ugly results for this benefit.

If you want to look at outboard scaling, the target demo we match with would be closer to home theater enthusiasts.
https://www.avsforum.com/forums/video-processors.37/

Last edited by msgohan; 04-11-2022 at 03:32 PM.
Reply With Quote
The following users thank msgohan for this useful post: lollo2 (04-11-2022)
Reply




Tags
capture, deinterlace, technical, upscale, vhs

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upscaling VHS before or after capture, which is best? BIGMEDIADINO Capture, Record, Transfer 3 10-23-2020 12:51 PM
Need help encoding DV to BD compliant 480i BFF Danfun64 Encode, Convert for discs 3 11-11-2019 08:21 PM
VHS upscaling to HD? waloshin Capture, Record, Transfer 5 06-10-2019 03:16 PM
Device to capture 480i in 720p? x77x Capture, Record, Transfer 13 07-23-2017 01:19 PM
Wanted to buy Blu-ray player for upscaling VHS Giana Capture, Record, Transfer 2 01-08-2013 11:59 PM




 
All times are GMT -5. The time now is 06:07 PM