Web proxy written in Python that combines two mp4 and srt files into a QuickTime video stream with a subtitle track.
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit c9c7a6a Sep 16, 2013
Permalink
Failed to load latest commit information.
.gitignore Initial commit Sep 2, 2013
LICENSE Initial commit Sep 2, 2013
README.md Updated README Sep 16, 2013
qtsrt.py Added qtsrt code Sep 2, 2013

README.md

quicktime-srt-webproxy

Web proxy written in Python that combines two mp4 and srt files into a QuickTime video stream with a subtitle track.

How to use

  1. Start the server (run qtsrt.py).
  2. Open http://your-server-ip:8000?mp4=mp4-file-url&srt=srt-file-url in a video player such as QuickTime or an iOS MPMoviePlayerController (don't forget to urlencode the mp4 and srt urls).

For more information

  • Checkout my blog post about this project.
  • If you want to learn more about how QuickTime files are structured, please take a look at the QuickTime File Format Specification.
  • Feel free to contact me if you need help understanding this code.