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
| #!/usr/bin/env bash | |
| # Script to convert ASS files to SRT using ffmpeg | |
| # Usage: ./convert_ass_to_srt_fixed.sh | |
| echo "Converting ASS files to SRT..." | |
| # Check if ffmpeg is available | |
| if ! command -v ffmpeg &>/dev/null; then | |
| echo "Error: ffmpeg is not installed or not in PATH" |