Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Script Or Batch Help, Apllying a 2 pass filter to many files
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
BigJonMX
  Posted: May 20 2012, 05:24 PM


Newbie


Group: Members
Posts: 1
Member No.: 34900
Joined: 20-May 12



How can i do a batch job on lots of video clips?

So heres what i've been doing...
(i've already been testing with DeShaker to get all the settings i want)

file -> open videofile -> MyVideo001.AVI
videos -> filters -> Tick DeShaker Pass 1 -> ok
file -> queue batch operation -> run video analysis pass
videos -> filters -> Tick DeShaker Pass 2 -> ok
file -> queue batch operation -> save as avi

repeat for vid002, vid003, etc...

This obviously takes a long time to set up for numerous clips.
I tried opening a lot of files and doing a batch Pass 1, but the batch of Pass 2 failed,
so i guess it has to be Pass 1 - analysis, Pass 2 - save.

Any Help please.
 
     Top
isidro
Posted: Sep 24 2012, 04:02 AM


Advanced Member


Group: Members
Posts: 82
Member No.: 7195
Joined: 8-November 03



Unfortunately nobody answered you, your problem is probably that deshaker pass1 generates a LOG file, if you try to deshake a second video you should change LOG file name within deshake or else you will ruin first pass of previous video.

I'm trying to do the same as you, I have in a file a pending VirtualDub.jobs of one video (a preview pass, and second pass), and want to use it as a template for any other video, but can't solve this line: VirtualDub.subset.AddRange(0,19800);

Last number should be the number of frames the video has, I wonder if there is a command to add the whole video as range.


 
     Top
dloneranger
Posted: Sep 24 2012, 05:56 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Just delete the lines that look like this

VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(something);
VirtualDub.video.SetRangeFrames( something );

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
isidro
Posted: Sep 27 2012, 05:48 PM


Advanced Member


Group: Members
Posts: 82
Member No.: 7195
Joined: 8-November 03



Thank you loneranger, easiear was to delete all those references and virtualdub procesess all video by default.

I have a new problem, want to use an optional parameter (filepath), but if parameter is not included, virtualdub abort execution when assigning: flPath= params[1]

Is there a way on a script to assign an empty string for an undefined (not included) parameter?

 
     Top
dloneranger
Posted: Sep 27 2012, 07:30 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Not in a virtualdub script, but you could easily do it from a batch file

something like

set defaultparam=c:\defaultfolder\
if not %2.==. set defaultparam=%2
vdub %1 %defaultparam%


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
isidro
Posted: Sep 28 2012, 06:06 AM


Advanced Member


Group: Members
Posts: 82
Member No.: 7195
Joined: 8-November 03



I thought so, just posted my [wav extraction, both deshakes passes] batch and scripts for all AVIs in folder here:
http://forums.virtualdub.org/index.php?act...t=30#entry91160

Spent two days but I'm happy, it can resume without redoing stuff, and keeps individual LOGs, can make partial tasks too.

Is there a way (within vdub script) to obtain audio samplerate, so as to pass it to lame compressor and make it more flexible?
 
     Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
5 replies since May 20 2012, 05:24 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing