To yes, and this —
I've started doing something similar on the command line with Claude Code that works incredibly well:
claude -p "use ffmpeg to convert myvideo.mov into an h264 video suitable for youtube upload" --dangerously-skip-permissions
Highly recommended! I use --dangerously-skip-permissions because I just want to set it and forget it and dont need to babysit the run.