I'm believe Sharc gave me the MCDegrainSharp.avsi or a link to it.
Mine is for 32-bit avisynth plus.
It goes in the "plugins+" folder.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 31 to 48 of 48
Thread
-
-
@Sharc
So I made a few changes to your script. I could not find the SmoothLevels on the avisynth website so I used SmoothAdjust instead - seems to do the exact same thing. I also set the QTGMC preset to slower. Otherwise I kept everything as per your script and the result is fantastic I must say. Thanks a lot! See video attached.
Code:AviSource("Beethoven_Klaviersonate-short.avi").trim(5,0).converttoYV16(interlaced=true) assumeTFF() assumefps(25) QTGMC(preset="Slower", EdiThreads=2) crop(12,0,-12,-8) SmoothAdjust_SmoothLevels(16,1.0,235,0,235) bilinearresize(width/2,height).bicubicresize(width,height) MCDegrainSharp() converttoYV12() #now encode x264 using -SAR 12/11 Prefetch(2)
Last edited by Bermuda1; 30th Sep 2024 at 10:01.
-
-
Not as good as installing a DV codec and using AviSource() in my experience
-
-
Just to mention a difference: For no obvious reason your variant (left) denoises more but blurs more than mine (right) of post#29. See for example the plants in the background. The compromise is a matter of personal preference though, not to argue.
Edit: I see you were using a different (blurrier?) source file. That may be the reason for the difference in sharpness/details.Last edited by Sharc; 1st Oct 2024 at 03:20.
-
Where did you see in this thread that ffms2 is better? Did I miss something?
Sure. I just dislike its many versions around, leading different results.
Interesting reading here: https://forum.videohelp.com/threads/382528-How-to-achieve-best-results-decompressing-d...fore-restoring -
Hey Sharc,
It’s the same source file, I just renamed it. Since there are only two differences in our code, I can only imagine it’s either because I used QTGMC “slower” or because SmoothAdjust works different than SmoothLevels. I will try using the “fast” preset that you used. See how it comes out. Will update later. -
So I used QTGMC preset=Fast now. That did not change anything. Still very blurry compared to your version. @Sharc: can you provide the .dll or .avsi file for "SmoothLevels" that you used please? I am curious if its the "SmoothAdjust" that I am using, which is causing the blurry effect.
-
v3.20 is available from here:
http://avisynth.nl/index.php/SmoothAdjust
or here the plugins.
In your script simply use it as SmoothLevels(......). It's included in the .dll
Edit:
Maybe it's my bad and I picked the file which used less horizontal downscaling for the dotcrawl suppression. You can experiment with it.
I think this would explain the mystery. Sorry for the confusion. Try with:
Code:..... bilinearresize(480,height).bicubicresize(width,height) .....
Last edited by Sharc; 1st Oct 2024 at 13:22.
-
I now use SmoothLevels and changed the bilinearresize operation. Still mine is more blurry. What Ratefactor did you use? I had it set to 17.
Edit: reuploaded both the avi and the mp4 using this script:
Code:AviSource("Beethoven_Klaviersonate-short.avi").trim(5,0).converttoYV16(interlaced=true) assumeTFF() assumefps(25) QTGMC(preset="Fast", EdiThreads=2) crop(12,0,-12,-8) SmoothLevels(16,1.0,235,0,235) bilinearresize(480,height).bicubicresize(width,height) MCDegrainSharp() converttoYV12() #now encode x264 using -SAR 12/11 Prefetch(2)
Last edited by Bermuda1; 1st Oct 2024 at 14:07. Reason: Changed Script
-
-
The versions are identical now. The subtle differences are due to the x264 settings. My encoding commandline:
Code:ffmpeg -i script.avs -c:a aac -c:v libx264 -preset slow -level 41 -bf 3 -g 50 -crf 18 -sar 12/11 "out_480.mp4"
Or you could try a different denoiser, for example:
Code:AviSource(......).trim(5,0).converttoYV16(interlaced=true) assumeTFF() assumefps(25) QTGMC(preset="fast") crop(12,0,-12,-8) Smoothlevels(16,1.0,235,0,235) TemporalDegrain2(degrainTR=3) converttoYV12()
Last edited by Sharc; 1st Oct 2024 at 16:12.
-
I tried different versions now. I prefer the 480 downscale width. Using 360 or width/2 is just a bit too blurry / too little detail left. Thanks for the recommendation!
On a side note: I also used FFMPEG instead of Virtual Dub for encoding. However, in order to get SAR 12/11 I had to amend your command line to include "-vf "setsar=sar=12/11"". Not sure why, but simply using -sar 12/11 did not work for me.
Edit:
I used TemporalDegrain2. Nice results, but the encoding now takes ages compared to using MCDegrainSharp.Last edited by Bermuda1; 1st Oct 2024 at 16:51.
-
https://forum.videohelp.com/threads/416050-Audio-Sync-Issue-after-Deinterlacing-and-Co...P4#post2752153
Not as good as installing a DV codec and using AviSource() in my experience
And I trust ffmpeg codecs more than random ones.
Also "ffmpeg/ffms2 defaults to error concealment with DV bitstream errors (there are always some)"
* - I remembered why I don't use LWLibavSource - it didn't see the audio.
Similar Threads
-
Weird audio sync issue with multiAVCHD
By thekoala in forum Authoring (Blu-ray)Replies: 1Last Post: 3rd Jul 2024, 17:34 -
Audio sync issue after downloading TS files
By RKO4321 in forum Video Streaming DownloadingReplies: 15Last Post: 18th Dec 2023, 00:06 -
Audio Sync Issue in Avisynth+
By Forenzik in forum Video ConversionReplies: 31Last Post: 17th Nov 2023, 13:21 -
Sync issue after converting VHS to DVD
By MollyMollz in forum AudioReplies: 7Last Post: 11th Dec 2020, 00:34 -
Screen format issue when converting movie from Telenet Digicorder to MP4
By raverke95 in forum Video ConversionReplies: 9Last Post: 4th Nov 2020, 06:32