Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ffmpeg \
-i "$1.mp4" \
-c:v libx264 \
-crf 23 \
-c:a aac \
-movflags faststart \
-maxrate 2M \
-bufsize 2M \
"$dest/$1.mp4"
curl \
--form subrip_file=@"$1.srt" \
-o "$dest/$1.vtt" \
'https://atelier.u-sub.net/srt2vtt/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment