I'm an artist looking for automating some processes. Unfortunately, I'm too far from coding to wrap my head around even this seemingly elementary problem. I'm crying for professional's help with this task:
I need to create a service via Automator that will re-encode video files with FFMPEG. It should basically do what I'm doing manually when executу in Terminal a line like this:
ffmpeg —i FILE_NAME.EXTENSION -vf "vflip,hflip" -an FILE_NAME_converted.MP4
When this script is wrapped into the service FILE_NAME must be substituted with the file the service is applied to. How can I use such variables in AppleScript of Shell-script? I would highly appreciate any advice or even step-by-step instruction. Thank you!