|
|
| mousey |
| Posted: Jun 2 2004, 03:20 PM |
 |
|
Unregistered

|
I'm trying to get VirtualDubMod to remove an audio channel from a dual audio file, but the problem is I have to do this for every file, and I didn't like the idea of manually doing it 174 times.
What I've done is let VDM create a job file which would process an mkv file, remove the first audio stream, and do a direct stream copy.
It works fine that way, but when I modified the job file to another filename, I realised that the "VirtualDub.subset.AddRange(0,????);" part of the script would needed to be changed to the final frame of each file.
Is there a way in VDM to specify the final frame number in a file?
I've tried doing this
**** declare EOF; EOF = VirtualDub.video.GetRange(3); VirtualDub.subset.AddRange(0,EOF); ****
but the output file contains nothing in it. Any help would be appreciated.  |
 |
| phaeron |
| Posted: Jun 3 2004, 06:39 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
You cannot retrieve the frame count from a script, but you don't have to. Simply delete the subset instead (VirtualDub.subset.Delete(), I think). |
 |
| mousey |
| Posted: Jun 3 2004, 08:07 AM |
 |
|
Unregistered

|
thanks for the help, all i had to do was delete the two lines
| CODE | VirtualDub.subset.Clear(); VirtualDub.subset.AddRange(0,???);
| |
 |
|