![]() |
DeepEnhancer - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: DeepEnhancer (/thread-4061.html) |
RE: DeepEnhancer - Dan64 - 10.04.2025 L4cache proposed a patch to fix the problem: #1120 I ported the patch to R68 (see attachment). I tested it and is working, finally the CRASH in vspipe are gone! Dan RE: DeepEnhancer - zspeciman - 10.04.2025 Similar to DeepEnhancer, I recall I saw this script years ago by videoFred that also had very impressive output https://www.youtube.com/watch?v=j2JlZdeoMNk more info here: https://forum.doom9.org/showthread.php?t=144271 RE: DeepEnhancer - Selur - 10.04.2025 Quote: I tested it and is working, finally the CRASH in vspipe are gone!Newer dev Hybrid versions add os.environ['TLLM_LOG_LEVEL'] = 'error' I like videoFreds scripts, but I doubt you will be able to reproduce his results without lots of work and understanding of video and Avisynth. (to me that has nothing to do with DeepEnhancer) Cu Selur RE: DeepEnhancer - djilayeden - 11.04.2025 Hi zspeciman and Selur, I just wanted to sincerely thank you both for discussing Fred’s scripts, especially in the following thread: https://forum.doom9.org/showthread.php?t=174298 I've been waiting for years for the release of his full 2017 script, but unfortunately, there hasn’t been any official update since then. I tried to recreate it myself based on the steps he described, but without much success. Here's the version I managed to put together: # Load the source video Best regards, Hi zspeciman and Selur, I just wanted to say something that moves me every single time I watch it: 👉 https://www.youtube.com/watch?v=j2JlZdeoMNk The result is absolutely incredible. The clarity, the motion smoothness, the overall aesthetic — it’s all simply breathtaking. It genuinely brings tears to my eyes, like watching history come alive with an almost surreal realism. Do you happen to know if this was achieved solely using Fred’s script? Or were there other tools, filters, or enhancements involved? I’ve tried to reproduce something close based on his public notes, but unfortunately, I haven't been able to match this level. Any insights or suggestions would mean a lot. Thank you both for keeping this legacy alive. Best regards, RE: DeepEnhancer - Selur - 11.04.2025 He, probably use specially adjusted values, since his source is already a really nice capture (no halo, color shift, strong distortions,...) it's hard to reproduce the same result with less proper captured content. ![]() (Sadly there is no TemporalRepair port for Vapoursynth) RE: DeepEnhancer - Dan64 - 12.04.2025 Assuming that you are able to download from YouTube the clip: film restoring 1967 2 videofred.mp4 You should obtain a clip with: color space: YUV420P8, bit depth: 8, resolution: 2560x954, frame rate: 18fps In this post I attached the following files: - film_restoring_videofred_simple.zip: contains 1) a simplified version of FRED script using VapourSynth: film_restoring_videofred_simple.vpy 2) the restored clip using the provided VapourSynth script : film_restoring_videofred_simple.mp4 - Fred_Avisynth_dll.zip: contains the Avisynth dll for ColorYUV and Autolevels Unfortunately it is missing in VapourSynth a true replacement for these filters and is necessary to use them since most of the "magic" is performed by these filters. I put them in the folder "./Hybrid/64bit/Fred" fell free to put the dll where you want, but you need to adjust the path in the Vapoursynth script. In Hybrid there are better cleaning filters, in this case I used RealESRGAN x2plus with TensorRT enabled (the first time it will take about 5min to generate the RT file cache) The result is very near to the one provided by FREAD on YouTube (see film_restoring_videofred_simple.mp4) I hope that this helps Dan RE: DeepEnhancer - Dan64 - 12.04.2025 In the case there is interest in replicating the script I uploaded to archive.org the clip: film-restoring-1967-2-videofred I tried to use the avs scripts provided by the author, more precisely this one: 01_C_Film_Restoring_Blending_Cleaning_Only.avs I was able to obtain the following picture while in the clip provided on YouTube the resolution/quality is better So it seems the restored clip was obtained using different settings. In any case it is necessary to admit that AVS is still superior respect to Vapoursynth regarding the color/stabilization filters. Vapoursynth has the advantage to support AI filters, but it could useful if Vapoursynth will be able to expand the support to AVS filters. The list of AVS filters whitelisted in avisynth_compat.cpp is still limited. For example are missing: AutoLevels and ColorYUV2. Dan RE: DeepEnhancer - Selur - 12.04.2025 I didn't see a link to the source. What is your source? Are you using the left side of the youtube clip as source? If you do, I would not be surprised that you can't reproduce the effect. Cu Selur RE: DeepEnhancer - djilayeden - 12.04.2025 Hi Dan, What a fantastic result again—you always work your magic, Mr. Dan! ✨ Thank you so much for the test using the film_restoring_videofred_simple.vpy script and for providing the restored clip. Your VapourSynth adaptation really captures the essence of the original Avisynth version (01_C_Film_Restoring_Blending_Cleaning_Only.avs). That said, this script goes back to 2012—since then, Fred actually developed a newer, unpublished version around 2017, where he shared the processing steps in this post: 🔗 https://forum.doom9.org/showthread.php?t=174298 According to Fred, the improved chain was: RemoveDirtSMC() GamMac() (wonderful filter—thanks to Stainlesss!) DePanStabilize() Tweak() (6x, separate hues using starthue and endhue) RgbAdjust() McDegrainSharp() Special sharpening sequence: UnsharpMask(radius=3) blur UnsharpMask(radius=2) blur Sharpen() (final pass) Also, I've attached a screenshot (from one of Fred’s videos) showing the plugins used in his Avisynth setup for reference. Thanks again for your generous help and for breathing new life into these old scripts! Best regards, Also, here's an excellent source video available up to 2K in Fred Vimeo showcasing results: 🔗 https://vimeo.com/202913632 RE: DeepEnhancer - Dan64 - 12.04.2025 (12.04.2025, 12:43)Selur Wrote: I didn't see a link to the source. The only source is the clip on YouTube, and yes, I'm using the left side of the clip. Dan |