#1  
09-29-2021, 06:53 PM
KubaVideo KubaVideo is offline
Free Member
 
Join Date: Feb 2020
Posts: 10
Thanked 1 Time in 1 Post
I asked this question in another post but thought it deserved its own thread. I have a collection of home movie files, Video8 captured with ATI AIW 9600 lossless uncompressed AVI at 720x480 resolution. I am now playing with deinterlacing and noise reduction with AviSynth tools like QTGMC and SMDegrain. I anticipate using an MP4 container. . I know that h.264 has been the usual preferred final destination compression codec but what about h.265 or VP9? I know these codecs were primarily designed for streaming HD content but are there any benefits to using them in this setting? Any reason(s) not to use them? I also have a question about encoding software. Right now I am using the codecs that come with VirtualDub2. Anything wrong with this approach? There seems to be plenty of configurable options.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-30-2021, 03:37 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Quote:
deinterlacing and noise reduction with AviSynth tools like QTGMC and SMDegrain.
Be careful when deinterlacing with QTGMC and denoising with Temporal filters with motion compensation based on MVTools like SMDegrain, TemporalDegrain, etc.
QTGMC denoises by itself to rebuild the best progressive frames and it is easy to over-process the videos.
Consider to use QTGMC in lossless mode, where while trying to match the original fileds some of the denoise is reduced, like (SourceMatch=3, NoiseProcess=2) or something like that.

Examples of (basic) restoration here, where some are over-processed in purpose:
https://www.youtube.com/channel/UCMs...h1MmNAs7I8nu4g

Quote:
... but what about h.265
h264 is very common and largely supported now, but, for example, in Italy all TV channels will switch to h265 by the end of the year, even for SD broadcast.
In the past h265 had problems with interlaced material, now solved because it stores the interlaced video as separated fields, but it is not your case.
It requires more power to code/decode, but (theoretically) reduces final size at the same "quality" of h264.

As per today, I would stay in h264 and keep the HuffYUV master for future work, but YMMV.

Edit: concerning the approach, I only use ffmpeg command line to have full control of all parameters, for example:
Code:
ffmpeg.exe -i input.avs -c:v libx264 -aspect 4:3 -crf xx -c:a aac -b:a xxxx output.mp4
Reply With Quote
  #3  
09-30-2021, 08:09 AM
KubaVideo KubaVideo is offline
Free Member
 
Join Date: Feb 2020
Posts: 10
Thanked 1 Time in 1 Post
Quote:
Originally Posted by lollo2 View Post
Be careful when deinterlacing with QTGMC and denoising with Temporal filters with motion compensation based on MVTools like SMDegrain, TemporalDegrain, etc.
QTGMC denoises by itself to rebuild the best progressive frames and it is easy to over-process the videos.
Consider to use QTGMC in lossless mode, where while trying to match the original fileds some of the denoise is reduced, like (SourceMatch=3, NoiseProcess=2) or something like that.
I definitely agree with you here. While I have been thrilled with the deinterlacing results I am getting with QTGMC, adding SMDegrain to my script chain definitely is producing an over-processed look, at least at the settings I have tried. Based on your comment, I will experiment more with the noise reduction offered by QTGMC. So far I have only used: QTGMC (preset="slower"). I am new to all of this so just starting with very basic settings.


Quote:
h264 is very common and largely supported now, but, for example, in Italy all TV channels will switch to h265 by the end of the year, even for SD broadcast.
In the past h265 had problems with interlaced material, now solved because it stores the interlaced video as separated fields, but it is not your case.
It requires more power to code/decode, but (theoretically) reduces final size at the same "quality" of h264.

As per today, I would stay in h264 and keep the HuffYUV master for future work, but YMMV.
Appreciate your perspective. Right now, I am leaning towards h.265 but still comparing output and file sizes. I'm actually not using HuffyYUV but keeping my master files as uncompressed AVI. I know, the file sizes are huge but storage space is cheap. I have my entire collection (about 40 tapes) on an 8 TB HD (with a separate backup drive, of course). I know this is probably a topic best left for a separate thread, but I've seen too many examples where the HuffyYUV codec trips up some AviSynth plug-in. I also worry about long-term support. Again, all of this probably best left for another post.

Quote:
Edit: concerning the approach, I only use ffmpeg command line to have full control of all parameters, for example:
Code:
ffmpeg.exe -i input.avs -c:v libx264 -aspect 4:3 -crf xx -c:a aac -b:a xxxx output.mp4
I have not yet ventured into using ffmpeg in command line although it certainly appeals to the geek in me. Thank you for the example!
Reply With Quote
  #4  
09-30-2021, 08:39 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 676
Thanked 193 Times in 165 Posts
Quote:
Based on your comment, I will experiment more with the noise reduction offered by QTGMC.
Yes, in alternative to reduce QTGMC denoise and use SMDegrain you could also experiment to remove SMDegrain and use full denoise capabilities of QTGMC.

I am still waiting the integration of the excellent TemporalDegrain2 inside QTGMC, but we are not yet there:
https://forum.doom9.org/showthread.p...76#post1952976
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualDub Help - Video Standard & Frame Rate WestRGB Capture, Record, Transfer 0 08-14-2020 12:21 PM
Kodak High Standard color video VHS cassette good? hereandelsewhere Blank Media 6 01-05-2020 11:36 PM
Convert .MTS High Definition files to DVD using MainConcept naripeddi Encode, Convert for discs 13 02-14-2013 12:30 AM
High Definition advice needed - how much footage will fit on a standard DVD?? mrblack Encode, Convert for discs 1 03-07-2011 09:33 AM
Does the AC3 and/or DVD Video standard support mono audio tracks? NJRoadfan Encode, Convert for discs 4 12-12-2010 11:07 PM

Thread Tools



 
All times are GMT -5. The time now is 04:11 AM