|
|
| 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. |
 |
| 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.
|
 |
| 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 |
 |
| 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?
|
 |
| 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 |
 |
| 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? |
 |