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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th May 2018, 18:11   #1  |  Link
Forensic
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")
I am open to any suggestions. Thank you.
Forensic is offline   Reply With Quote
Old 30th May 2018, 18:56   #2  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
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

Last edited by MysteryX; 30th May 2018 at 18:58.
MysteryX is offline   Reply With Quote
Old 30th May 2018, 21:03   #3  |  Link
ChaosKing
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
ChaosKing is offline   Reply With Quote
Old 31st May 2018, 00:49   #4  |  Link
Forensic
Registered User
 
Join Date: Apr 2008
Location: California, USA
Posts: 127
Thank you both. That is exactly what I needed.
Forensic is offline   Reply With Quote
Old 31st May 2018, 09:44   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
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.
StainlessS is offline   Reply With Quote
Reply

Tags
avisynth, call, dos

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.