How can I echo shell script in Automator?
To get your shell (bash) script to output to the screen continually so that you can see the progress, you need to launch it from AppleScript. Basically, this is a script that is launching another script. Use the script below to kick of the script that contains your ffmpeg command. You can even pass arguments to your script as you would normally.
For this example, I have a simple bash script that prints out the first command line argument.
#! /bin/bash
# test.sh
echo $1
exit
Next, is the AppleScript code that kicks off the bash script
tell application "Terminal"
do script "<path>/test.sh 'Hello World'; exit"
activate
end tell
Note, that if you have any strings with spaces that you need to pass, they MUST be enclosed in single quotes. Double quotes will cause an error in AppleScript.
When you run the script, it will open a Terminal window and anything that gets output will display on the screen.