Skip to content

Instantly share code, notes, and snippets.

@Thinkscape
Created December 10, 2012 20:27
Show Gist options
  • Save Thinkscape/4253143 to your computer and use it in GitHub Desktop.
Save Thinkscape/4253143 to your computer and use it in GitHub Desktop.
Normalize subtitles
find *.srt -exec cp {} {}.convert \; -exec enconv -L pl_PL -x UTF-8 {}.convert \; -exec python /root/subconv.py -w subrip -i {}.convert -o {} \; -exec rm {}.convert \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment