Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th September 2023, 15:04   #41  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 117
I mean I don't know how I can get a better result compared to the following results.

Quote:
Originally Posted by ingoldie View Post
ingoldie is offline   Reply With Quote
Old 30th September 2023, 15:52   #42  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by ingoldie View Post
By the way, the results without denoise filter I use

Result without denoising
https://www.mediafire.com/file/voxhx...ising.avi/file

Result without denoising 2
https://www.mediafire.com/file/dda1u...ing_2.avi/file
I don't see the difference between your sample without denoised and my script. Your samples were lost details and you blame denoised as the reason for lost detail?? check here:

Last edited by kedautinh12; 30th September 2023 at 15:55.
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 16:01   #43  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 117
Does the denoised frame belong to result of

Quote:
Originally Posted by kedautinh12 View Post
Code:
SMDegrain(6, 400, prefilter=6, ContraSharp=true, RefineMotion=true, plane=4, limits=false, DCTFlicker=false)
or

Quote:
Originally Posted by kedautinh12 View Post
Code:
TemporalDegrain2(postFFT=4, fftThreads=2)

Last edited by ingoldie; 30th September 2023 at 16:04.
ingoldie is offline   Reply With Quote
Old 30th September 2023, 16:11   #44  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
SMDegrain(6, 400, prefilter=6, ContraSharp=true, RefineMotion=true, plane=4, limits=false, DCTFlicker=false)
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 16:15   #45  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 117
Can you send both frames?
ingoldie is offline   Reply With Quote
Old 30th September 2023, 16:29   #46  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by ingoldie View Post
Do you mean the following files in the first post?
You don't need to denoised if you use a deinterlaced filter before upscale
Scripts I used with original sample before upscale
Code:
tfm(cthresh=10)
lanczos4resize(1024,768)
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 16:31   #47  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by ingoldie View Post
Can you send both frames?
I compare between frame 2 for the image
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 16:34   #48  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 117
Have you tried to open two files via the same AvsPmod and view them sequentially(one by one, not side by side but on top of each other) to see all the difference between "Results without denoising" and denoised results ("SMDegrain Result", "TemporalDegrain2 Result 2")
ingoldie is offline   Reply With Quote
Old 30th September 2023, 16:51   #49  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by ingoldie View Post
Have you tried to open two files via the same AvsPmod and view them sequentially(one by one, not side by side but on top of each other) to see all the difference between "Results without denoising" and denoised results ("SMDegrain Result", "TemporalDegrain2 Result 2")
As I told deformities cause video to be interlaced, you need to use deinterlaced filters before upscaling. Use my scripts with original video to fix that:
Code:
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 17:20   #50  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
I think we need to denoise before sharpening so I think this script is better for original1:
Code:
converttoyuv420
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
TemporalDegrain2(postFFT=4, ppSCD1=1, thSCD2=20, fftThreads=2) # denoised
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
Video: https://drive.google.com/file/d/1c3t...usp=drive_link

Last edited by kedautinh12; 1st October 2023 at 12:22.
kedautinh12 is offline   Reply With Quote
Old 30th September 2023, 17:44   #51  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
With original2, I think we can use this script for a good result:
Code:
converttoyuv420
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
YAHR3() # dehaloing
TemporalDegrain2(postFFT=4, fftThreads=2) # denoised
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
Video: https://drive.google.com/file/d/19v8...ew?usp=sharing

Last edited by kedautinh12; 1st October 2023 at 06:12.
kedautinh12 is offline   Reply With Quote
Old 1st October 2023, 01:14   #52  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 688
Quote:
Originally Posted by kedautinh12 View Post
With original2, I think we can use this script for a good result:
Code:
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
YAHR3() # dehaloing
TemporalDegrain2(postFFT=4, fftThreads=2) # denoised
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
Video: https://drive.google.com/file/d/19v8...ew?usp=sharing
Looking very fresh! Good job!
anton_foy is offline   Reply With Quote
Old 1st October 2023, 06:05   #53  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by ingoldie View Post
I mean I don't know how I can get a better result compared to the following results.
After comparing, your result is dirty than my script but the details look the same

Last edited by kedautinh12; 1st October 2023 at 12:35.
kedautinh12 is offline   Reply With Quote
Old 1st October 2023, 12:18   #54  |  Link
EHarlen
Registered User
 
Join Date: Oct 2014
Posts: 34
I can't find YAHR3 and ex_unsharp
EHarlen is offline   Reply With Quote
Old 1st October 2023, 13:24   #55  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,156
YAHR3: https://pastebin.com/LUErwWR8
iirc. ex_unsharp is a script from Dogway
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 1st October 2023, 13:29   #56  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 960
real.finder YAHRmods
https://raw.githubusercontent.com/re...p/YAHRmod.avsi

Dogway's ex_unsharp
https://github.com/Dogway/Avisynth-S...enersPack.avsi
__________________
Live and let live
gispos is offline   Reply With Quote
Old 1st October 2023, 14:11   #57  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 960
I just don't know where there is a SmootUV 64bit dll. I can only find a SmoothUV2 from Asd-g.
real.finder's Zs_RF_Shared.avsi requires the old SmoothUV version. No idea if the new version is compatible.
__________________
Live and let live
gispos is offline   Reply With Quote
Old 1st October 2023, 14:27   #58  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Quote:
Originally Posted by gispos View Post
I just don't know where there is a SmootUV 64bit dll. I can only find a SmoothUV2 from Asd-g.
real.finder's Zs_RF_Shared.avsi requires the old SmoothUV version. No idea if the new version is compatible.
Download ver 2.1.1, you can use beside latest smoothuv ver (change name SmoothUV2.dll to SmoothUV.dll from 2.1.1 cause avoid same name with SmoothUV2.dll from latest ver) cause ver 2.1.1 have name of function is only smoothuv()
https://github.com/Asd-g/AviSynth-Sm...ases/tag/2.1.1
kedautinh12 is offline   Reply With Quote
Old 2nd October 2023, 11:41   #59  |  Link
EHarlen
Registered User
 
Join Date: Oct 2014
Posts: 34
Quote:
Originally Posted by kedautinh12 View Post
I think we need to denoise before sharpening so I think this script is better for original1:
Code:
converttoyuv420
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
TemporalDegrain2(postFFT=4, ppSCD1=1, thSCD2=20, fftThreads=2) # denoised
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
Video: https://drive.google.com/file/d/1c3t...usp=drive_link
Quote:
Originally Posted by kedautinh12 View Post
With original2, I think we can use this script for a good result:
Code:
converttoyuv420
tfm(cthresh=10) # deinterlaced before upscale
lanczos4resize(1024,768)
YAHR3() # dehaloing
TemporalDegrain2(postFFT=4, fftThreads=2) # denoised
ex_unsharp(0.3,Fc=width()/1.5,safe=true) # Remove some of the dreamy look
ex_unsharp(1.0,Fc=width()*2.0,safe=true) # Extra fine sharpness
Video: https://drive.google.com/file/d/19v8...ew?usp=sharing

What editor/encoder and codec did you use for encoding?
EHarlen is offline   Reply With Quote
Old 2nd October 2023, 11:53   #60  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,044
Megui with ffms2, x264, qaac, mkvmerge(mkvtoolnix)
kedautinh12 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.