View Full Version : Batch processing of AVS files
2Bdecided
25th October 2007, 10:24
If I have an AVIsynth script of my own, is there a convenient way to run it in batch mode via a GUI?
So the script has an AVISource or DirectShowSource command at the top, but I'd like the filename replaced with filenames I provide via the GUI, one by one. So the script is applied to each file separately in turn.
What can I use?
Cheers,
David.
Ranguvar
26th October 2007, 04:09
I'm a little confused. To "run" the script? As in play it?
What is your end objective?
Zach
26th October 2007, 06:04
He wants to apply a single AVS script to multiple video files without having to hard-code the filename into the script each and everytime. ;)
There are several fudgy ways of doing this, and it's been discussed in several threads. Do a forum search (under this 'Avisynth Usage' subforum) for "batch processing". I just did, and I see several threads that will answer your question. :)
2Bdecided
26th October 2007, 10:37
Thanks. I searched without quotes before and was overwhelmed.
Found this...
http://www.designfoto.nl/ABatchScript.htm
...which does what I want.
Cheers,
David.
Zach
26th October 2007, 10:49
Heh... clicking your link gives me this:
http://img91.imageshack.us/img91/3015/securityqs7.jpg
And being the paranoid person I am, I chose not to proceed any further. :p
But hey, if you're happy and feel they are safe, then I'm glad you found what you are looking for!
Leak
26th October 2007, 11:23
And being the paranoid person I am, I chose not to proceed any further. :p
That's caused by one of the ad banners being served via HTTPS (OMGWTFBBQ?) and some idiot at the ad company using a certificate for one subdomain for a different one that of course doesn't match the certificate.
Absolutely no big deal - you don't need more paranoia, you need more adblocking... :p
np: Luke Vibert - God (Chicago, Detroit, Redruth)
2Bdecided
26th October 2007, 17:05
Under XP/IE6, the choice is "yes" or "no". Click "no", and the ad doesn't appear but the rest of the page does.
Of course this illustrates how unhelpful it can be just to say "Do a forum search ... that will answer your question" when the reality could be "it might answer your question" or even "There are some good answers and bad answers. A search will show you both. I may or may not know which ones are useful and which ones aren't, but I'm not going to tell you."
I know some people just ask questions rather than do their own research, but I've been here five years and (try to) answer far more questions than I ask (though audio is more my thing).
I'm not having a go, just suggesting that often "use the search" isn't the best reply. I thank you for suggesting search terms, since that found me a useful solution.
Cheers,
David.
Zach
27th October 2007, 04:29
Of course this illustrates how unhelpful it can be just to say "Do a forum search ... that will answer your question" when the reality could be "it might answer your question" or even "There are some good answers and bad answers. A search will show you both. I may or may not know which ones are useful and which ones aren't, but I'm not going to tell you."
No, as I told you, I did a forum search in this Avisynth Usage subforum for "batch processing," and the four threads I was thinking about are right there near the top, all of which discuss the query you posed.
I know you think you are special--we all do--and think just because you ask the question for the umpteenth time it will get a better answer, but it won't, hence, why I directed you to the other threads.
And I don't really appreciate your attitude. Sure, if I had done the asshat thing and just said, "Use search, idiot," then yes, you'd have a case. But instead I did the search for you and came back and told you exactly what keywords to use.
What? You're miffed because I didn't go the extra mile and actually copy-and-paste the links for you? Typing in "batch processing" was just too difficult, and therefore my efforts to help you were of no use? Are you seriously that lazy and ungrateful?
*sigh*
:(
foxyshadis
29th October 2007, 11:43
That was rather uncalled for, even if you were having a bad evening, when he actually thanked you for pointing him in the right direction.
2Bdecided
29th October 2007, 11:44
I think I read too much in to your first post. I assumed you were telling me a search would find _good_ solutions that _you_ recommended. In fact I see you didn't say this, just that a search might help.
My annoyance was that it brought up a website that you wouldn't even visit. Not that I care whether you visit it or not - it's just that, as I said, sometimes it's not helpful to get people to search when the results might not be that helpful.
The fact that you wouldn't even consider visiting the website brought up by your search makes me think that this might be one of those occasions.
I'm still grateful you helped me find some software that I can use.
It's not quite user friendly enough to leave in the hands of my wife, so I'll still keeping searching.
Cheers,
David.
EDIT - P.S. - of course I'm special! ;)
Zach
29th October 2007, 11:55
The fact that you wouldn't even consider visiting the website brought up by your search makes me think that this might be one of those occasions.
I suggested you search this forum, not google.
Heck, there's even a sticky on the subject: List of command-line and batch utilities for AVISynth (and a few discussions) (http://forum.doom9.org/showthread.php?t=96451).
But what happens? You write a scathing opinion about how unhelpful I was, and to add insult to injury (this should make your day), *I* get a warning and a ban notice--just for trying to help you.
Life can be cruel and unjust. :(
Zach
29th October 2007, 12:02
That was rather uncalled for, even if you were having a bad evening, when he actually thanked you for pointing him in the right direction.
But then he came back and scolded me for telling him to use search and how unhelpful that is.
So not to sound like a second grader, but he started it; he should get the warning for a Rule 4 violation towards me.
2Bdecided
29th October 2007, 16:50
I suggested you search this forum, not google.That link was from one of the threads in this forum from the search that you pointed me to. That's how this started (oh no - I'm going to turn into a seven year old...) You said "search", I searched, I said "I found this", you said "I wouldn't go there", I wondered what had gone wrong (nothing, I suspect - just a misunderstanding).
Heck, there's even a sticky on the subject: List of command-line and batch utilities for AVISynth (and a few discussions) (http://forum.doom9.org/showthread.php?t=96451).OK, where's the "I'm sorry I must be blind" smiley? To be fair, most of those don't have GUIs, but some do.
But what happens? You write a scathing opinion about how unhelpful I was, and to add insult to injury (this should make your day), *I* get a warning and a ban notice--just for trying to help you.No, that does not make my day, you've not offended me at all, and I hope nothing comes of your warning.
I don't know about rule 4, but I'm sorry if I've messed up Rule 1. I regularly struggle to keep within rule 12b, but that's because I spend most of my time on an audio forum which exists to tell people what's "best"!
Please no offence, I will spend my time searching instead of posting.
Cheers,
David.
foxyshadis
29th October 2007, 19:17
This is not a place for flamewars! If an issue comes up, either drop it, report it, or take it to PM. There's no need to bicker about something so petty. And if you ever disagree with a moderator's action, PM the mod or an admin directly.
Thread totally derailed, so closed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.