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. |
30th May 2018, 18:11 | #1 | Link |
Registered User
Join Date: Apr 2008
Location: California, USA
Posts: 127
|
DOS command in Avisynth
I need to execute a ffmpeg command (it has a lot of parameters) from within my Avisynth script. Is this possible?
If not, then one alternative is for my script to call a BAT file by passing a variable. My failed syntax attempt was: Code:
LoadPlugin("CALL_25.dll") Call("test.bat", "MyVariable") |
30th May 2018, 18:56 | #2 | Link |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I don't know whether such a plugin exists, but writing it would be very simple. You'd simply call the program on CreateFilter and wait for it to exit; with no need to initialize any plugin.
Edit: same question was asked here
__________________
FrameRateConverter | AvisynthShader | AvsFilterNet | Natural Grounding Player with Yin Media Encoder, 432hz Player, Powerliminals Player and Audio Video Muxer Last edited by MysteryX; 30th May 2018 at 18:58. |
30th May 2018, 21:03 | #3 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I think this is what you want https://forum.doom9.org/showthread.p...32#post1593132
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
31st May 2018, 09:44 | #5 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
There is also RT_call(), but CallCmd() is more flexible.
Best avoid [EDIT: original] Call() plug, as it does have some problems.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 1st June 2018 at 18:01. |
Tags |
avisynth, call, dos |
|
|