![]() |
1 Attachment(s)
Quote:
Attached is a new copy of fixRipsP2, the same copy I have in my Avisynth plugins. Works for me. Meanwhile, the script you posted above has logic errors. For example, you don't run vInverse before deinterlacing, you ruin it after deinterlacing. You're also making the mistake of applying Santiag to an interlaced video. Santiag is an anti-aliasing plugin, it requires non-interlaced video. And so on..... Here is a new copy of your test script. It has a new copy of FixRipsP2 in it: Code:
AviSource("D:\test2.avi")Back to work on the project. But people are arriving to take me out for my birthday dinner, so I'll be interrupted again. Shucks. Oh, well, I'll be back later. I'm getting pretty hungry anyway. |
In that case, happy birthday to you :dunce:
About that function, I still get the same error with the attached FixRipsP2 aswell as with the one in the code you pasted :question: |
2 Attachment(s)
Quote:
Despite all the interruptions, I finally managed to get a filtered and color-corrected version of Test2Proper.avi, attached as "Test2Proper_All_Scenes_720p50.mp4". I think it looks better , but it will never be fixed 100%. I tried a number of tricks with Avisynth and VirtualDub, and since you have NeatVideo i used it in low-power tweak mode on the last two shots in the clip. I found NV inappropriate in most scenes, where it made trees look like giant sponges. I will have to clean up my messy copies of the 10 scripts I used for the 10 scenes. You might not want to use everything I tried, but when I post the scripts later they might give you some useful ideas. I wish I'd had time tom do more with the second sample. Perhaps I can get to it. It's likely not possible for all readers to download all 535MB of the huffyuv capture I worked with, so I have attached a smaller mop4 encoded version of it (of course the mp4 isn't lossless but it might give readers a better idea of what the troubles are). Attached as "Test2Proper_encoded_capture.mp4". I wish it had been captured with better control of input levels. A few days ago, Turner Classic Movies showed some restorations of formerly lost classic films. You should see the shambles and damage in those sources: images with half the frames torn away, long segments with still photos where frames were missing, etc. Filtering details to come later. Quote:
. |
7 Attachment(s)
Hopefully this demo post will give you a few ideas.
The original lossless ProperTest.avi sample tghat was attached to post #10 (http://www.digitalfaq.com/forum/vide...html#post61393) has 15 camera shots which I broke down into 10 segments. Because each segment had different filter needs, I processed the segments separately. To do that I used 2 scripts for each segment: Script "A" was mostly experimentation or trial and error, followed by Script "B" that tweaked the results and applied VirtualDub filters if needed. The scripts have similarities, but none is exactly like the others. The result on my PC was 20 small scripts and 10 small video segments, which I assembled into a single clip and upsampled to 960x720. The finished video was attached earlier in Post #23 as Test2Proper_All_Scenes_720p50.mp4. An h264 lossy encode of the original lossless sample was attached as Test2Proper_encoded_capture.mp4. There's nothing unusual about this workflow. VHS can be maddeningly variable second by second -- and a duped tape like this one is even worse. So segment-by-segment is rather routine for damaged media. If the way highly paid restoration shops do it is OK with pros and owners, it should be OK with us. It wouldn't be practical to post the text of 20 scripts and several VirtualDub settings. So I pasted all of the scripts in their proper order into an attached text file called "Scripts.txt". Each segment is identified in the scripts with a unique number and name. Virtualdub .vcf files and NeatVideo settings also use names that match the segments -- these are attached as "VirtualDub_vcf.zip" and "NeatVideo_dnp_nfp.zip". Unfortunately there is no real NeatVideo equivalent in VirtualDub but some people have used Smart Smoother HiQuality 2.11 by Klaus Post (SmoothHiQ.vdf, which comes with its own html help file from http://www.digitalfaq.com/forum/atta...smootherhiqzip). Thumbnails of the 15 camera shots are shown below with the segment numbers 1 thru 10 in which they appear in the final video: http://www.digitalfaq.com/forum/atta...1&d=1558051254 http://www.digitalfaq.com/forum/atta...1&d=1558051260 One coding trick that I found years ago but which I haven't used in a while was used here. Users might notice with very noisy video that the first and last frames in a cut don't get all of the filtration that other frames get. This is common with temporal filters, which work on multiple frames to analyze data and recognize noise. The first few or last few frames get short-changed, sometimes looking untouched. The old trick used in some of the attached scripts borrows a few leading and trailing frames and adds them to the start or end of the clip, thus "priming" temporal filters for better cleaning of first and last frames. At the end of the script, the added frames are removed. Here is a portion of the script for Segment #06 that shows how it can be done with a short clip that has 32 frames numbered 0 thru 31: Code:
AviSource("D:\forum\faq\glazuna\F2\Test2Proper.avi")(Below) The noisy image below is frame 0 of the segment without adding any duplicate or priming frames to the beginning of the clip: http://www.digitalfaq.com/forum/atta...1&d=1558051354 http://www.digitalfaq.com/forum/atta...1&d=1558051407 (Above) The same frame 0 with better filtering after adding and then removing "priming' frames. Hope this helps users who think using one filter for an entire video in one shot is the way advanced owners do it. Advanced users have a very different workflow. Sometimes it's more difficult than shown, sometimes it's easier. It depends on the source and your expectations. How to keep the audio from "blanking out" on replaced frames: The secret is saving the audio as a separate clip and re-sync at the end of the script. Example: Code:
vid=AviSource("D:\forum\faq\glazuna\F2\Test2_Part05_A.avi") |
Thank you so much for your help sanlyn, I also found out the reason I recieved the colorspace error with FixRips. It was due to mismatch in versions of DePan.dll and DePanEstimate.dll.
Once I've downloaded both from this website https://avisynth.org.ru/depan/depan.html It started working fine! Since this was the most problematic part of the tape, I will continue using your technique for that music video, which is 4 minutes long. For others I will try to minimize the effort as it is after all around 13 of them and it is literally impossible for me to invest so much time especially as other parts aren't that bad to need special treatments. Color correction will be done in AE as it is much faster to cut scenes and adjust saturations, ligthness and contrast with instant visual checks. I will let you know If I stumble on another difficulty, but I think I have it mostly covered now. The first music video will premiere sunday 7PM CEST, so check it out then :) |
Quote:
Quote:
Quote:
|
https://www.youtube.com/watch?v=FiHv2ZJDxuw
Here is the first video, I think apart from some scenes having a bit of too much blue, it turned out really well. I tried to compensate the blue color a bit, but it would show up as white spots instantly when trying to desaturize and lighten it. I had to compensate for cyan a lot as it was all purple-ish on the same scenes where there was still some blue left (especially where guys stand in formation) |
Quote:
|
Quote:
|
Quote:
The following was sent to me via PM: Quote:
|
Quote:
|
Quote:
|
https://www.youtube.com/watch?v=tgA_...v5ftxxw03c010c
Another video, this time scene by scene was adjusted in avisynth. Firstly with yuv's autowhite, then the levels of saturation,contrast and brightness were tweaked to get more detail in shadows but not to overbrighten the surrounding areas. I think it turned out quite nicely as before it was all greenish and yellow, it is much more natural looking. |
And here is the original video I asked to get assistance on, now fully finished.
I have learned a lot. Thank you Sanlyn again for your time. https://www.youtube.com/watch?v=cjSH5y2pG-k |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.