Created
November 17, 2025 20:15
-
-
Save seamonkey420/3d7e82335500b599b7700bca629a48e3 to your computer and use it in GitHub Desktop.
extract subtitles via ffmpeg and macos terminal, use in automator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for f in "$@"; do | |
| /opt/homebrew/bin/ffmpeg -y -hwaccel videotoolbox -v warning -hide_banner -i "$f" -map 0:s:0 "$f".srt | |
| done |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
create an automator quick action.
insert "Get Selected Finder Items"
insert "Run Shell Script"
paste code in to shell
-i use homebrew to install ffmpeg and in turn code reflects ffmpeg location