HS is a python script that simplifies re-encoding a video with subtitles irreversibly merged into its frames.

It starts from a video source file and its SubRip text file format (at this moment only srt files are supported) and it will produce a new video file of the same type of the source but with subtitles merged into video track.

It supports AVI, Matroska and MPEG-4 containers.

This script is useful if you have an old video decoder which does not support external srt files or if you prefer that subtitles for your video have to be immutable.

This page is intentionally left blank.

At least until #3 will be resolved.

Once installed, the command syntax is:

hs -o <output_dir> source_dir

where:
  • output_dir is the directory where reencoded video will be placed
  • source_dir is the directory where video file(s) and relatives subititle file(s) has been placed. Please note that the srt file and video file must have the same name otherwhise the script will not consider this video as a source file.

HS has also additional paramteres:

  • -h that shows an inline help
  • -v that displays the underliying command that will be used for reencoding
  • -s that states the size of subtitle text (1 - normal, 4 - blinded, any value inside this range is accepted).

hs -o out/ in/

will encode any video file present in in folder that has an srt file with the same name of video file and will output the new files in out folder.

hs -s 4 -o out/ in/

same as above but the subtitle text will be gigantic.

If something does not work as expected or you think you found a bug on HS, you should open an issue on GitHub.

We regularly check this tracking system and we surely would give you some feedback on your enquiries but keep in mind that:

  • this is an open source project made in our spare time. We do not earn nothing by this project, so you have to wait some times to get an answer. Please do not bother us bouncing the issue!
  • the issue tracker is the only way you have to use to contact us. If you spam us by e-mail or GitHub, you will surely be ignored!