Skip to content

Instantly share code, notes, and snippets.

@RANUX
Created February 10, 2019 06:13
Show Gist options
  • Select an option

  • Save RANUX/07c8a2815687e7f5c542f1566d5d7f8b to your computer and use it in GitHub Desktop.

Select an option

Save RANUX/07c8a2815687e7f5c542f1566d5d7f8b to your computer and use it in GitHub Desktop.
Convert *.vtt to *.srt with ffmpeg and bash
#!/bin/bash
for filename in *.vtt; do
fname="${filename%.*}"
ffmpeg -i "$filename" "$fname.srt"
done
@inarighas
Copy link
Copy Markdown

Thank you πŸ‘

@LochanLoch
Copy link
Copy Markdown

dito :-)

@teststrana
Copy link
Copy Markdown

Thank you πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment