Skip to content

Instantly share code, notes, and snippets.

View danilevy1212's full-sized avatar

Daniel Levy Moreno danilevy1212

View GitHub Profile
@danilevy1212
danilevy1212 / ass_to_srt.sh
Created January 23, 2026 15:36
Convert .ass to .srt
#!/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"