DOS GURU assistance needed for above script, [EDIT: Oops CLI GURU, if Groucho2004 is watching {I dont wanna be bitch slapped again}
]
this BAT batch template, need to detect and return ERRORLEVEL from ffmpeg call
Code:
BAT_TMPT=("""
"C:\BIN\ffmpeg.exe" -i "___AVS___" "___OUT_FILE___.MP4"
Pause REM Comment out if required (Precede Pause with REM)
""")
I just cannot remember anything about that stuff, any suggestions ?
Could synthesize error by using either RT_FileDelete(AVI) or RT_FileDelete(AVS) immediately before RT_Call line.
EDIT: Above not so much necessary as I forgot that RT_Call can only return SUCCESS status whether process started, and
not any return value from that process (we can only return a single item to avisynth, not 2 or more).
I shall try to find a way to access returned value, and try to complete RT_Stats mods and publish v2.0 RT_Stats soon.
Would still be helpful though if someone can post above ERRORLEVEL solution.