Thanks Lollo2. I'm really relieved that the script is now working. I was beginning to think I would never find out what I was doing wrong.
I never mentioned to you that my os was windows 7. At the time I didn't think it was relevant. I'm sure if I had you would have figured it out.
I will go and try your steps. I will read about ffmpeg, I don't know that much about, yet!
this will create a new file with the restored video. Be careful that the size of the created file will be at least as the original file (the double if you deinterlace). Just for test you can use the trim commands in VirtualDub to save only a portion: https://www.weethet.nl/english/video_cutavis.php
At some point in time you may want to compare the original video and restored. You can do it inside your avs script http://www.digitalfaq.com/forum/vide...html#post85085 using the following; return command is disabled and replaced with stackhorizontal command:
If the script with the comparison is to heavy to run, you have to create the output file (or a portion of it, and then you can compare a trimmed version of the input with the generated segment). Let me know if you need indications for that.
The following users thank lollo2 for this useful post:
DG1965 (07-16-2022)
Just in the process of the virtualdub save as AVI . I see what you mean lollo2 regarding the new projected file size being twice the size 163mb compared to the original 89mb. The estimated time for I assume completion is 2 hours 50 mins and counting. Is this normal for a 10 second clip?
The estimated time for I assume completion is 2 hours 50 mins and counting. Is this normal for a 10 second clip?
Your script is heavy. To accelerate, you can split the operations in 3 different scripts: the first to deinterlace, the second to denoise, the third to sharpen. But each time you have to save the output of each script with VirtualDub, which will be loaded in the next script.
Thanks lollo2 you are fantastic. I'm a scripting disaster. I had to abort both attempts as the estimated times were going above 5 hours for a 10 second clip. I knew I must be doing something wrong. What would be the expected avi save/dub timescale for a 10 second clip? I thought maybe a couple of minutes probably naively.
Deinterlace is very fast in the x64, which is a main reason I process in multi steps. 64 first, 32 next.
The scripts are very heavy, lots of operations. But sometimes that's what it takes, to get results you want. Multipass is the key.
I look forward to seeing your before/after.
I've not had much time to follow this thread closely, and I'm glad lollo2 is helping you out. He and I sometimes disagree on workflow hardware, but his Avisynth work is usually quite good. I don't think he'll steer you wrong.
Just wanted to inject some words of encouragement for you. This seems to be progressing nicely.
Thanks Lordsmurf. Lollo2 has been amazing and very, very patient! Thank you for the encouragement. I'm sure everyone has been in the same place as me, you spend all weekend and evenings trying to make it work and for weeks nothing goes right. I finally got a script to load, that in itself has given me a really major boost. I definitely couldn't have got this far without everyone's help.
My Dell M6800 is 64x but I'm probably not competent enough yet to change things about, as everything is set up for 32bit.
I was able to upload the first script into virtualdub and saved it as "part1complete.avi" but I've got this error message on the attached script for part2? Thanks.
Thanks Lordsmurf. I thought that I could just copy the script into notepad and it would load. With a bit of fiddling I got the first script going but everything I've tried with part2 ends this way. Is scripting always this temperamental ? Thanks
It's hard to undo variable style scripts, it's messy and complex. You have to redeclare variables.
I also don't like to manually import everything, and so you have to do that again, or else it defaults to the default (which is what I use).
selur agrees with me, as did sanlyn.
johnmeyer is one of the few folks I know that likes the backwards scripting.
I say "backwards" because you sort of back into the operations after outlining and declaring everything. As opposed to using scripting without load and declare. For some complex operations, it's needed. For others, like cropping, it's just needless.
Thank you Lordsmurf. When I read your answer I realise how little I know. I'm not sure if I'm making a simple task complicated or scripting is really complex. I've seen a lot of scripts similar to the attached script, which are constructed in a different way. I didn't know how virtualdub would know how to find the plugins without a path. Is this one of the way you script? Sorry if I sound ignorant. Thanks.
VirtualDub doesn't find anything. Avisynth scripts, and then creates a virtual video file. That virtual file is used by VirtaulDub like any other video file. So it's all about the Avisynth scripts.
You're skipping a step here.
Use AvsPmod to preview and script at the same time. I never waste time scripting, saving, opening in VirtualDub, etc.
No ignorant, Avisynth has a learning curve.
I just don't have lots of extra time to dive deep into something like this right now.
I was able to upload the first script into virtualdub and saved it as "part1complete.avi" but I've got this error message on the attached script for part2?
Remove or comment the lines video_org_crop=video_org.crop(crop_left,crop_top,-crop_right,-crop_bottom) in script 2 and 3. It was a bad cut & paste from my side, sorry.
Quote:
I hate this style of scripting. It's backwards, hard to understand, and needlessly complex.
I understand and accept that you are not an expert of AviSynth in general and AviSynth scripts in particular , but that style is direct and easy to
understand and to follow. In addition it allows to avoid errors where implicit "last" reference to video is bad managed. One example here: https://forum.videohelp.com/threads/...-s#post2662924, many others on videohelp and doom9 forums.
Quote:
I also don't like to manually import everything, and so you have to do that again, or else it defaults to the default (which is what I use).
selur agrees with me, as did sanlyn.
johnmeyer is one of the few folks I know that likes the backwards scripting.
Same as before. And it's strange that you dislike the specific DLLs loading approach, because you experienced the probems it causes when a generic
autoload is performed: https://forum.videohelp.com/threads/...ns#post2595004.
Better to follow jagabo and johnmeyer suggestions!
A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
The following users thank lollo2 for this useful post:
DG1965 (07-24-2022)