Jump to content

load files one by one?


javip
 Share

Recommended Posts

i use mythtv to capture video on my linux box. then i transfer the capped mpeg2s to my windows box since thats where i do all my video editing.

after cutting out all the commercials i use dgindex to create d2v files that can be loaded into various other video editing applications for editing.

my question is this. is there way for autoit to load files into dgindex one at a time so i can create a separate d2v file for every cut mpg?

it a LONG and boring process to do this one by one. i know how to pass commands to windows and open applications using autoit but do not know how it would load files like i want it to.

it would go like-

file/open in dgindex

autoit looks for the first mpg in set folder

loads it then tells dgindex to save the project.

then autoit loads the next mpg in set folder and repeats the process.

i have all my mpgs named incrementally. 01.mpg - 50.mpg to make it easier for me to remember which one i'm working on.

:P

any help would be appreciated.

Link to comment
Share on other sites

Hi, I know this probably isn't the answer your looking for .. but

Ever thought of using AVISynth with the DGIndex plugin?

Would be an easier way then trying to use autoit to do it.

Cheers

thanks for the reply.

i love avisynth and use it for EVERYTHING i possibly can. i'll go look into that dgindex plugin see what it can offer for my problem.

fyi: here's the script i use to load the d2v into vdubmod once dgindex is done. audiograph plug lets me see where in a black frame there's

silence so i can cut a commercial change.

LoadPlugin("C:\avisynth\MPAsource.dll")
LoadPlugin("C:\avisynth\DGDecode.dll")
LoadPlugin("C:\avisynth\TomsMoComp.dll")
LoadPlugin("C:\avisynth\audgraph.dll")
A = MPASource("__aud__")
V = mpeg2source("__vid__")
AudioDub(V, A)
TomsMoComp(1,5,1)
crop(10,4,0,0)
LanczosResize(640,480)


LoadPlugin("C:\avisynth\audgraph.dll")
ConvertToRGB()
audiograph(last,2)
Edited by pixeldotz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...