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

Reply
 
LinkBack Thread Tools
  #1  
11-18-2022, 04:48 AM
nickytbhp nickytbhp is offline
Free Member
 
Join Date: Nov 2022
Posts: 9
Thanked 0 Times in 0 Posts
Hello,
This forum helped me capture my miniDV again in raw format. My professional converter used Scenalyzer to get DV Avi type 2 file (single file). 720x576, 25fps, PAL.
Now, my next steps are:
1. De-interlacing with QTGMC along with 25fps to 50fps conversion (Hybrid).
2. Need to reduce Noise but not sure which filter and what settings?
3. Would like to refine more but not sure which filters are good. I have Topaz Video AI and DAVINCI Resolve.
4. Will Hybrid and Resolve take this avi file or need to re encode to another codec and Container?
5. What is the best software to change container only? Avidemux?
6. What is the best software to re encode in case needed? Avidemux?

Looking for info from experts and if possible link to guides which has settings for specific tasks.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-18-2022, 10:30 AM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,289
Thanked 540 Times in 499 Posts
I know for sure other members here have more experience than me in DV post processing but I would import the file into vdub2 and output as AVI 4:2:2 (yuv2) HuffYUV, so like this it becomes a lossless like AVI file and you can do what ever you want with it, Though it is not really lossless since it was converted from 4:2:0 to 4:2:2. The files will be huge even with HufYUV lossless compression but they should be just temporary files for post processing purposes.

https://www.youtube.com/@Capturing-Memories/videos
Reply With Quote
The following users thank latreche34 for this useful post: lordsmurf (11-20-2022), nickytbhp (11-18-2022)
  #3  
11-18-2022, 07:45 PM
BarryTheCrab BarryTheCrab is offline
Free Member
 
Join Date: Jul 2017
Location: Gillette Stadium
Posts: 364
Thanked 73 Times in 63 Posts
I recently got a batch of DV tapes and had not actually done DV for quite some time, and only my own tapes.
My big issue was, or is...as I am still tweaking my workflow...DV1 does not seem to play well with my VirtualDub or Hybrid, or Avidemux. Freeze crash error, no ingest.
I have been forced to take my WinDV transfers, as well as my PowerDirector transfers, and run them through PowerDirector AGAIN to render as DV type 2.
Only THEN can I get success with those programs and if needed QTGMC.
I think Scenalyzer will give me the correct file type and I can skip a boatload of processing.
QUESTION: How destructive is a convert from DV1 to DV2?
I hope this question, and my comments get some input that helps the topic.

Last edited by BarryTheCrab; 11-18-2022 at 08:32 PM. Reason: anti-hijack, clarify
Reply With Quote
The following users thank BarryTheCrab for this useful post: nickytbhp (11-18-2022)
  #4  
11-18-2022, 08:47 PM
nickytbhp nickytbhp is offline
Free Member
 
Join Date: Nov 2022
Posts: 9
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by BarryTheCrab View Post
I recently got a batch of DV tapes and had not actually done DV for quite some time, and only my own tapes.
My big issue was, or is...as I am still tweaking my workflow...DV1 does not seem to play well with my VirtualDub or Hybrid, or Avidemux. Freeze crash error, no ingest.
I have been forced to take my WinDV transfers, as well as my PowerDirector transfers, and run them through PowerDirector AGAIN to render as DV type 2.
Only THEN can I get success with those programs and if needed QTGMC.
I think Scenalyzer will give me the correct file type and I can skip a boatload of processing.
QUESTION: How destructive is a convert from DV1 to DV2?
I hope this question, and my comments get some input that helps the topic.
That’s critical info. Thanks. Luckily I asked for type 2 and scenalyzer from professional converter after lots of research here.
Sorry, but I am no expert to answer your question. Hope experts will pitch in.
Reply With Quote
  #5  
11-18-2022, 08:54 PM
Hushpower Hushpower is online now
Free Member
 
Join Date: Apr 2020
Posts: 705
Thanked 132 Times in 125 Posts
Quote:
I think Scenalyzer will give me the correct file type and I can skip a boatload of processing.
You can choose either type 1 or 2 for Scenalyzer capture.

Quote:
QUESTION: How destructive is a convert from DV1 to DV2?
I think, not much. I use DVDate to change from type 1 to 2:

https://paulglagla.com/en/dvdate-2/

While it does take a little while to convert, there's hardly any CPU activity so I doubt that there's any encoding going on.

Last edited by Hushpower; 11-18-2022 at 09:15 PM. Reason: Spelling
Reply With Quote
The following users thank Hushpower for this useful post: BarryTheCrab (01-15-2023), nickytbhp (11-18-2022)
  #6  
11-18-2022, 11:23 PM
Hushpower Hushpower is online now
Free Member
 
Join Date: Apr 2020
Posts: 705
Thanked 132 Times in 125 Posts
Quote:
Originally Posted by Latreche
I would import the file into vdub2 and output as AVI 4:2:2 (yuv2) HuffYUV, so like this it becomes a lossless like AVI file and you can do what ever you want with it
Why can't you just process it in Virtual Dub and/or AVISynth as a DV AVI? Is the 420>422 change for processing actually necessary?
Reply With Quote
The following users thank Hushpower for this useful post: nickytbhp (11-20-2022)
  #7  
11-19-2022, 08:16 AM
dpalomaki dpalomaki is offline
Free Member
 
Join Date: Feb 2014
Location: VA
Posts: 1,700
Thanked 370 Times in 326 Posts
The main reason for converting 420 to 422 would be for subsequent processing such as color correction, filtering, and graphics effects. Processing in 422 reduces artifacts resulting from the lower color resolution. Note that these artifacts may or may not be significant for your purposes. If converting directly to a SD 422 distribution format with cuts only editing it may not be worth it.
Reply With Quote
The following users thank dpalomaki for this useful post: nickytbhp (11-20-2022)
  #8  
11-19-2022, 08:32 AM
BarryTheCrab BarryTheCrab is offline
Free Member
 
Join Date: Jul 2017
Location: Gillette Stadium
Posts: 364
Thanked 73 Times in 63 Posts
I can confirm the DVtype2 files open in both Avidemux and VirtualDub.
Staxrip recode also ingested the files, and it has QTGMC native!
Reply With Quote
The following users thank BarryTheCrab for this useful post: nickytbhp (11-20-2022)
  #9  
11-19-2022, 11:37 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
The main reason for converting 420 to 422 would be for subsequent processing such as color correction, filtering, and graphics effects. Processing in 422 reduces artifacts resulting from the lower color resolution.
A conversion from 4:2:0 to 4:2:2 will not bring back any additional chroma lost details (and many AviSynth filters works on YV12 colorspace in any case). A more sofisticated processing like "chroma reconstruction based on luma" would be necessary. An example here (not really appropriate, but just as indication): https://forum.doom9.org/showthread.php?t=173005

Quote:
I would import the file into vdub2 and output as AVI 4:2:2 (yuv2) HuffYUV, so like this it becomes a lossless like AVI file and you can do what ever you want with it
There is no advantage doing that, and a useless additional big file is created. A DV video can be directly imported in AviSynth.

Quote:
I can confirm the DVtype2 files open in both Avidemux and VirtualDub.
Staxrip recode also ingested the files, and it has QTGMC native!
It may be a little be more difficult if you are not familiar, but you do not need any GUI like Avidemux or Staxrip for restoration. Only Avisynth (script) and ffmpeg (command line)

Quote:
Now, my next steps are:
1. De-interlacing with QTGMC along with 25fps to 50fps conversion (Hybrid).
2. Need to reduce Noise but not sure which filter and what settings?
3. Would like to refine more but not sure which filters are good. I have Topaz Video AI and DAVINCI Resolve.
4. Will Hybrid and Resolve take this avi file or need to re encode to another codec and Container?
5. What is the best software to change container only? Avidemux?
6. What is the best software to re encode in case needed? Avidemux?
1. OK. Choose the best options in QTGMC for an optimal result. Hybrid will help you, but you can build your own specific and optimized script.
2. The best denoiser are the temporal or spatial/temporal filters. TemporalDegrain2, MCTemporalDenoise, SMDegrain, KNLMeansCL. QTGMC itself is a (less accurate) denoiser.
3. Topaz VEAI is not really appropriate for SD DV videos, but you can give it a try using it just as an upscaler (no deinterlacing, no denoising). DAVINCI Resolve is excellent for color correction.
4. Yes, as long as the right codecs are installed
5. There is no sense in changing container unrelated to a compression (i.e. to h264 or h265)
6. All the existing GUI do not reencode on their own, but use ffmpeg. If you are not comfortable with a command line, choose whatever you like more

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
The following users thank lollo2 for this useful post: nickytbhp (11-20-2022)
  #10  
11-19-2022, 06:34 PM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,289
Thanked 540 Times in 499 Posts
Quote:
Originally Posted by Hushpower View Post
Why can't you just process it in Virtual Dub and/or AVISynth as a DV AVI? Is the 420>422 change for processing actually necessary?
Yes, Not my word but it was suggested to me few years ago that the coding works more efficiently out of 4:2:2, Not that it brings any additional chroma info, The math just works better. Dpalomaki worded it better than me. If in doubt ask some coding members over at videohelp, There are quite few bright folks out there.
Reply With Quote
The following users thank latreche34 for this useful post: nickytbhp (11-20-2022)
  #11  
11-19-2022, 07:36 PM
nickytbhp nickytbhp is offline
Free Member
 
Join Date: Nov 2022
Posts: 9
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by lollo2 View Post
It may be a little be more difficult if you are not familiar, but you do not need any GUI like Avidemux or Staxrip for restoration. Only Avisynth (script) and ffmpeg (command line)

1. OK. Choose the best options in QTGMC for an optimal result. Hybrid will help you, but you can build your own specific and optimized script.
2. The best denoiser are the temporal or spatial/temporal filters. TemporalDegrain2, MCTemporalDenoise, SMDegrain, KNLMeansCL. QTGMC itself is a (less accurate) denoiser.
3. Topaz VEAI is not really appropriate for SD DV videos, but you can give it a try using it just as an upscaler (no deinterlacing, no denoising). DAVINCI Resolve is excellent for color correction.
4. Yes, as long as the right codecs are installed
5. There is no sense in changing container unrelated to a compression (i.e. to h264 or h265)
6. All the existing GUI do not reencode on their own, but use ffmpeg. If you are not comfortable with a command line, choose whatever you like more
Thanks for the response.

1. QTGMC (Vapoursynth) in Hybrid, I normally use bob (which doubles fps). That's it. Should I use other settings also which might result in better output? Any link to settings guide?
2. Are there any optimal settings guide for these filters?
3. I somewhere read in this forum that right sequence is colour correction->denoise, degrain ->deinterlace -> encode to final format. is this correct?
Reply With Quote
  #12  
11-20-2022, 03:40 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
1. QTGMC (Vapoursynth) in Hybrid, I normally use bob (which doubles fps). That's it. Should I use other settings also which might result in better output? Any link to settings guide?
The guide for QTGMC parameters is inside its doc: http://avisynth.nl/index.php/QTGMC.

The setting for a better output does not exist, it depends on your source. For a "natural" look I often use
Code:
QTGMC(preset="slow", matchpreset="slow", matchpreset2="slow", sourcematch=3, tr1=2, tr2=1, NoiseTR=2, sharpness=0.1)
Quote:
2. Are there any optimal settings guide for these filters?
No. For temporal filtering the most important parameter is the temporal radius, i.e. the number of frames across which the image is analysed to remove non constant/random noise. Higher is better, but more time consuming.
Be careful when denoising after QTGMC to do not introduce a "plastic look" by removing too much noise and details

In addition you can also do some sharpening after a denoise, but again be careful to do not introduce/enhace the halos.

Quote:
3. I somewhere read in this forum that right sequence is colour correction->denoise, degrain ->deinterlace -> encode to final format. is this correct?
No. The correct sequence is deinterlace -> denoise/degrain -> color correction -> encode. Color correction can be the first operation, according to your source, the filtering you use and your preference. I often do so. Do not forget the level correction, needed if at some point you use a filtering working on the RGB colorspace and maybe needed at the end accordingto your display options.

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
The following users thank lollo2 for this useful post: nickytbhp (11-20-2022)
  #13  
11-20-2022, 09:19 PM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,633
Thanked 2,458 Times in 2,090 Posts
Quote:
Originally Posted by nickytbhp View Post
HNow, my next steps are:
1. De-interlacing with QTGMC along with 25fps to 50fps conversion (Hybrid).
2. Need to reduce Noise but not sure which filter and what settings?
3. Would like to refine more but not sure which filters are good. I have Topaz Video AI and DAVINCI Resolve.
4. Will Hybrid and Resolve take this avi file or need to re encode to another codec and Container?
5. What is the best software to change container only? Avidemux?
6. What is the best software to re encode in case needed? Avidemux?

Looking for info from experts and if possible link to guides which has settings for specific tasks.
1. Yes, QTGMC best, and Hybrid makes it easier than Avisynth or Vapoursynth directly. But note that 50p vs 25p is not merely something you choose on preference, nor even quality, but output factors. Contrary to popular misconception, 50p is not better than 25p, and it does not lose 50% of the date. Some temporal data is lost (not half), and 50p can incur artifacts. So you need to test, do not assume.

2. Be careful. Do not turn video plastic from aggressive filtering. Remove noise, not detail.

3. Filters are based on needs, not random non-reasons. DaVinci is for color, worthless otherwise. Topaz is worthless altogether, and is wholly inferior (especially for SD sources, and even more especially for VHS) to Avisynth. Do not use Topaz if you seek quality, it adds artifacts, oversharpens, messy stuff.

5. You often don't just "change container". From what to what? Source, destination. And no, usually not Avidemux.

6. Again, what to what? Source, destination? For some things, yes Avidemux. For others, Hybrid. For some, MainConcept or other payware. It just depends.

Also, adding to above replies...

Filter 4:2:0 to 4:2:2, when possible, hoping it 's not too damaged. There are filters for Avisynth and VirtualDub both. Hybrid may even has some integrated, don't recall offhand.

Correct, needs to be stated again: deinterlace > NR > color correction > encode
In rarer situations, order may change. But usually those who think they found the exception really have not.

For QTGMC, preset=Slow softens. I usually start with Faster, and slow down if needed. Rarely do I exceed Medium. I think lollo2 here is overriding Slow with switches, but I'd still want to doublecheck the syntax. I'd rather switch everything, not use a preset, if switching.

@Hushpower, the variable is the DV codec, and all of the software codecs massively suck. Even bad hardware codecs are often better.

Avidemux really often very little for restoring. VirtualDub and Hybrid are the GUI tools for this. Even more detailed is from scripting. Sometimes scripting is the only way to restore, as Hybrid doesn't include everything, just popular options. And Hybrid doesn't necessarily order the commands as needed, just started ordering.

- 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: nickytbhp (11-20-2022)
  #14  
11-21-2022, 05:10 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Quote:
Contrary to popular misconception, 50p is not better than 25p, and it does not lose 50% of the date. Some temporal data is lost (not half), and 50p can incur artifacts.
No way. We discussed about it several times. In general, if you deinterlace, there is little sense to throw away half of the frames, losing half of the motion (when there is motion). Of course, everything must be experimented with own material, rather then rely on generic guidelines.

Quote:
I think lollo2 here is overriding Slow with switches,
The opposite. I do a reinforcement of the "slow preset" behavior to a more intense processing, to limit noise reduction and sharpening and to match the original look of the source (difficult to achieve). The "slow preset" alone tends to denoise and sharpen too much for my taste, especially because I generally use a denoiser and a sharpener right after.

A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Reply With Quote
The following users thank lollo2 for this useful post: lordsmurf (11-21-2022), nickytbhp (11-21-2022)
  #15  
11-21-2022, 05:35 AM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,633
Thanked 2,458 Times in 2,090 Posts
It just fully depends on multiple factors. I'm just stating that the dogma of "throwing away 50% of motion data" is not accurate, and 50/59.94 is not always better. To get there, data is interpolated. (This isn't at all the same as 4:1:1 DV tossing out 50% of color data, by contrast.)

The Slow just softens too much. I don't want false soft, nor false sharp. But trying to get there can be source based. It's why start with Faster, and go from there.

- 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: nickytbhp (11-21-2022)
  #16  
11-22-2022, 12:15 AM
nickytbhp nickytbhp is offline
Free Member
 
Join Date: Nov 2022
Posts: 9
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by lollo2 View Post
The guide for QTGMC parameters is inside its doc: http://avisynth.nl/index.php/QTGMC.

The setting for a better output does not exist, it depends on your source. For a "natural" look I often use
Code:
QTGMC(preset="slow", matchpreset="slow", matchpreset2="slow", sourcematch=3, tr1=2, tr2=1, NoiseTR=2, sharpness=0.1)


No. For temporal filtering the most important parameter is the temporal radius, i.e. the number of frames across which the image is analysed to remove non constant/random noise. Higher is better, but more time consuming.
Be careful when denoising after QTGMC to do not introduce a "plastic look" by removing too much noise and details

In addition you can also do some sharpening after a denoise, but again be careful to do not introduce/enhace the halos.



No. The correct sequence is deinterlace -> denoise/degrain -> color correction -> encode. Color correction can be the first operation, according to your source, the filtering you use and your preference. I often do so. Do not forget the level correction, needed if at some point you use a filtering working on the RGB colorspace and maybe needed at the end accordingto your display options.
Now, I have DV Avi type 2. When we do deinterlace (QTGMC), Hybrid re encodes to mp4 container with selected codec (x264, x265, prores etc. are listed in Hybrid). I guess this does some compression (quality of Video goes down to some extent) and might affect next operation like color correction (Davinci Resolve).

If this is true, which codec should I select so that quality is not compromised? It would be great if this codec is accepted in Resolve and Final Cut pro like softwares.
Reply With Quote
  #17  
11-22-2022, 03:55 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
Have a look here for the supported codecs in Resolve:
https://www.digitalfaq.com/forum/vid...i-resolve.html

You need to export the AviSynth processing and send them to Resolve in uncompressed avi format or a lossless format, to avoid degradation. Prores (almost lossless under certain conditions) or h264 with very low CRF (<10/14) can be used.

Selur can help you through the outputs of his tool

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

Last edited by lollo2; 11-22-2022 at 04:08 AM.
Reply With Quote
The following users thank lollo2 for this useful post: nickytbhp (11-22-2022)
  #18  
11-25-2022, 11:34 AM
Selur Selur is online now
Free Member
 
Join Date: Feb 2022
Posts: 75
Thanked 19 Times in 17 Posts
In regard to (near-)lossless formats. Hybrid supports:
  • lossless H.264
  • lossless H.265
  • lossless VP9
  • lossless AV1
  • FFvHuff (lossless)
  • UT Video (lossless)
  • ProRes
  • DNxHD
  • PNG image sequence
at least one of these should be supported by any modern NLE.

Cu Selur
Reply With Quote
The following users thank Selur for this useful post: lordsmurf (11-25-2022)
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Steps after capturing VHS: edit video, filters? Saporo Restore, Filter, Improve Quality 3 03-05-2019 10:43 AM
Certain proc-amp and exernal TBC, to restore video? lordsmurf Restore, Filter, Improve Quality 0 12-20-2010 12:55 PM




 
All times are GMT -5. The time now is 06:25 AM