Help with simple virtualdub Mod script?
Can anyone explain how I can get virtualdub mod to run via the command line, open a file called C:\TEST\video.avs and save the audio before exiting please?
I`ve searched various internet sites and it`s begin to bug me :x The reason is that I have found an easy way I can convert 29.970 avi files to PAL. I`ve written a prog I use to convert avi`s to mpeg2 files and would like to add the ability to convert the 29.970 ones too. Doing it manually I have an avisynth script which tells Virtualdub mod to stretch the audio from 29.970 fps to 25 and to assume a framerate of 25fps. The audio can then be encoded via Besweet and the video using FreeEnc or QuEnc. It works for me, its my first try, but I can`t seem to automate it using VirtualDubs scripting language. Any help is gratefully received :) Dave |
Have you tried asking at the Unofficial VirtualDub Support Forums? They will surely know if it's possible.
http://virtualdub.everwicked.com/index.php |
Re: Help with simple virtualdub Mod script?
Quote:
As for the scripting language, normal VDub has the command 'saveWAV'. im not sure if its ported to VDM as they have changed the audio part of the program substantially. the help file does not mention it, so you would have to use normal VDub. for a doc on the scripting language used in *normal* VDub go here i also vagely recall a program called avs2wav ---> www.google.com good luck! |
Re: Help with simple virtualdub Mod script?
Quote:
This is a VirtualDubMod Script created by Centella forum member. You need to call it with this line, using full path to virtualdubmod executable and yourjob.jobs files and also inside the script. Code:
virtualdub /s"yourjob.jobs" /x Quote:
Quote:
I don't test the VDM script and don't know how it works with multilanguage avi files, but maybe it take first audio track. If you go to KDVD it would be great that you keep ac3 5.1 audio if avi has it. Think about this and play with the Centella basic script and VDM to find the different ways. |
That did the same as my trial scripts, they just say "can`t open script".
I`ll have to find another way to convert the 29.970 films :oops: Dave PS Thanks for the help! |
Quote:
2 - That script was tested by his writer, Centella, and it worked. Check your paths or try with another source. Edited: 05/09/2004 21:05 I tested it and works perfect. Did you see the double back slashes, isn't it? |
|
Hi. I wasn`t double posting, when I couldn`t get the script to run I decided to ask if it could be done in another way, not virtualdub specific.
I still can`t get it working though, and I copied the script via copy and paste to make sure it was intact as written. Then again my avisynth doesn`t load 99% of filters, I don`t know why as my XP Pro SP2 is bog standard but maybe the script is failing because of the same cause. Apologies if I was wrong to post as a new topic elsewhere though :oops: |
I have a perl script that generates a job file for virtualdubmod and an other one for virtualdub from a directory containing avi files.
I can post both scripts or just an example of generated file if you want. |
I repeat you, I tested script posted by me, and it works perfect.
Did you use double back slashes in your paths? Did you see any message when run de script? |
I'm not sure a script for vdub can work like it for vdubmod. The opposite is impossible (this, I'm sure, because I tested it :-))
You script is for vdub Pro. |
Quote:
|
Trying to answer the posts here, here goes....
Yes I did notice the slashes, as I said I copied it exactly using copy and paste so I have no idea why it isn`t working. I have had problems with avisynth too where it would work but not load most of the external plugins so perhaps there is something off with my system though it appears fine. I do appreciate all the help, I will try again with the script but can`t do that for a few days now. Thankyou for the help, and to DialHot - yes if you could post an example or the perl I would be pleased, it will give me an idea where I might be messing up as I`ve read the help files, etcetera. If I still have problems I will have to find another way but I`m hoping Virtualdub will do it fine - it should have worked already :? |
@Pro
Yes : syntax has changed betwseen V1.4 and V1.5 :-( My script was okay for both version before 1.5.10 and now I need two script ! This is an example for two movies for Vdub 1.5.10 Code:
// $job "Job 1" Code:
// $job "Job 1" Note2 : the "//" lines MUST BY TYPED AS THIS ! Of course modify the name of the files. |
Thanks Phil, I tested VDM 1.5.10.1 just before read your post, and you are right. Thanks.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.