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! |
I've done the three steps what is the next steps? Do I save it or do I somehow run it. Thanks.
|
VirtualDub -> File -> Save as AVI...
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: Code:
#return(video_restored) Code:
#return(video_restored) |
Thanks lollo2 for the detailed steps. I will give it a go.
|
1 Attachment(s)
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?
|
2 Attachment(s)
Also noticed this on the log I'm not sure if relevent.
|
1 Attachment(s)
I aborted the save avi dub virtualdub 1.9.11 after approx. 1 hour and switched to virtualdub 1.10.4 instead this is the new log info. thanks.
|
Quote:
first script: Code:
video_org=AviSource("family holiday 2004 3.avi") Code:
deinterlaced_yv16=AviSource("<the name of the saved video from first script>.avi") Code:
denoised_yv12=AviSource("<the name of the saved video from second script>.avi") |
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.
|
I don't know, it depends on many factors. Just try and be prepared to a long wait :wink2:
|
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. |
2 Attachment(s)
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.
Code:
deinterlaced_yv16=AviSource("C:\Users\Dell\Desktop\part1complete.avi") |
I hate this style of scripting. It's backwards, hard to understand, and needlessly complex.
I can't help you much here. This is line 8 Code:
video_org_crop=video_org.crop(crop_left,crop_top,-crop_right,-crop_bottom) The usual problem is you're trying to access a variable without first declaring it. |
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. It is preference. But I can't stand it. |
1 Attachment(s)
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. |
Thanks Lordsmurf. I will take a look at Avsmod.
|
Quote:
Quote:
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:
autoload is performed: https://forum.videohelp.com/threads/...ns#post2595004. Better to follow jagabo and johnmeyer suggestions! ;) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.