Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd November 2007, 18:43 | #1 | Link |
Registered User
Join Date: Nov 2007
Posts: 27
|
Determine video stream saving in the script
Hi, cannot someone tell me: can I determine (or even - have some influence) on file videofile saving in my script. For example I have script like this:
Code:
AVISource("some.avi") # # Make necessary transformations of avi-file # |
23rd November 2007, 18:51 | #2 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
short answer: No
Not from within the script at least unless you use a special filter that can interact with the program that opened the AviScript and I'm not aware of such a special filter.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
25th November 2007, 15:28 | #4 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
you can avtomate virtualdub throught the use of vdub.exe (dunno if that was there in virtualdubmod era thought).
example windows .bat, save audio: Code:
rem purpose - to extract audio to separate file where it can be procesed further @ECHO OFF echo ------------------------------------ vdub extract audio to pcm title extract audio to pcm %1 echo VirtualDub.Open(VirtualDub.params[0]); > "%~dp1%~n1.script" echo VirtualDub.SaveWAV(VirtualDub.params[1]); >> "%~dp1%~n1.script" @vdub /i "%~dp1%~n1.script" "%~dp1%~n1%~x1" "%~dp1%~n1.wav" del "%~dp1%~n1.script" |
Thread Tools | Search this Thread |
Display Modes | |
|
|