Skip to content

Instantly share code, notes, and snippets.

@Oifan
Last active February 8, 2024 23:41
Show Gist options
  • Save Oifan/ae4fe0bef53173ffdaedab0161758419 to your computer and use it in GitHub Desktop.
Save Oifan/ae4fe0bef53173ffdaedab0161758419 to your computer and use it in GitHub Desktop.
MP4 + EIA-608 captions (soft-embedded)
@set F=%~1
@set F=%F:\=/%
@set F=%F::=\\:%
@ffmpeg -f lavfi -i "movie=%F%[out0+subcc]" -map 0:s -c:s webvtt out.vtt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment