3 ms·
Awh this brings me back. I was a large contributor to the desktop version of this incarnation of PT, focusing on the ability to play on external applications a
by SlashmanX 4y ago
Awh this brings me back. I was a large contributor to the desktop version of this incarnation of PT, focusing on the ability to play on external applications and Chromecasts and also adding TV Shows. I remember having such a eureka moment when I finally figured out how to get subtitles working when streaming live to a Chromecast
- john2x 4y ago> get subtitles working when streaming live to a Chromecast Teach me your ways, sensei.
- SlashmanX 4y agoMy code still exists in the desktop source[1] but essentially what you need to do is convert an srt to vtt [2] file and start a local http server that will serve the VTT file [3] and point the Chromecast to that [1] - https://github.com/popcorn-official/popcorn-desktop/blob/development/src/app/lib/device/chromecast.js#L98 https://github.com/popcorn-official/popcorn-desktop/blob/dev... [2] - https://github.com/popcorn-official/popcorn-desktop/blob/development/src/app/lib/subtitle/generic.js#L138 https://github.com/popcorn-official/popcorn-desktop/blob/dev... [3] - https://github.com/popcorn-official/popcorn-desktop/blob/development/src/app/lib/subtitle/server.js https://github.com/popcorn-official/popcorn-desktop/blob/dev...
- stef25 4y agoIsn't it possible to "burn" the subtitles on to the video file somehow, maybe with ffmpeg? So they're there permanently.
- mperdemata 4y agoyes, the container formats such as MP4 and Matroshka support this. Also, it can be definitely done with ffmpeg.
- worble 4y agoYes but it wouldn't be ideal since you wouldn't be able to turn them on and off, or switch between multiple subtitles.
- cuu508 4y agoNot Popcorn Time, but I've had great experience using Airflow (airflow.app) for streaming video to Chromecast. Among other things, it handles subtitles quite well.
- seam_carver 4y agoYes, a great app, it does OCR on subtitles that are stored as images and converts to a Chromecast compatible text format so it is incredibly powerful.