Hacker News new | ask | show | jobs
by SlashmanX 1453 days ago
My 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/dev...

[2] - https://github.com/popcorn-official/popcorn-desktop/blob/dev...

[3] - https://github.com/popcorn-official/popcorn-desktop/blob/dev...

1 comments

Isn't it possible to "burn" the subtitles on to the video file somehow, maybe with ffmpeg? So they're there permanently.
Yes but it wouldn't be ideal since you wouldn't be able to turn them on and off, or switch between multiple subtitles.
yes, the container formats such as MP4 and Matroshka support this.

Also, it can be definitely done with ffmpeg.