executefile multiple parameters

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
macroman
Pro Scripter
Posts: 93
Joined: Mon Jun 02, 2014 5:32 am

executefile multiple parameters

Post by macroman » Mon May 09, 2016 11:38 pm

Hello all, I can't seem to get this to load, please help:

ExecuteFile>%ffmpeg%, -i "%Temp%" -crf "22" -c:a "copy" -pix_fmt "yuv420p" -an -vf "crop=iw-128:ih-64:32:16,scale=1280:720" -r "29.97" -ss %sstart% -t "00:02:00" "C:\upload\%loop%-test.mp4"

I figured it's my comma between: -64:32:16,scale=1

how do I pass the comma as well?

User avatar
JRL
Automation Wizard
Posts: 3531
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: executefile multiple parameters

Post by JRL » Tue May 10, 2016 1:41 am

Newer versions have a built in variable "comma" older versions (and all versions) can do:

Code: Select all

Let>comma=,
ExecuteFile>%ffmpeg%, -i "%Temp%" -crf "22" -c:a "copy" -pix_fmt "yuv420p" -an -vf "crop=iw-128:ih-64:32:16%comma%scale=1280:720" -r "29.97" -ss %sstart% -t 

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts