Link to home
Start Free TrialLog in
Avatar of Howard_
Howard_

asked on

Help with Shell Scripting on Mac OSX

Hello there experts, I hope you can help me!

Coming from a windows background I am having difficulty knowing how to run a shell script on Mac OSX.

The equivalent .bat file contains:

for %%X in (%*) do ffmpeg -i "%%X" -c:v libx264 -pix_fmt yuv420p -preset veryslow -tune fastdecode -profile:v main -coder 0 -g 6 -crf 24 -flags -loop "%%X.mp4"
pause

And is a script to convert all .mov files in the folder to .mp4 files.

Would appreciate some advice on what I need to do - and please bear in mind I am new to Mac.

Many thanks!!!

Howard_
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of skullnobrains
skullnobrains

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial