Hacker News new | ask | show | jobs
by kalimoxto 3669 days ago
ffmpeg can do that fairly easily. To adjust the command in the example, you need to to take the srt file and pass it as a second -i input file. There's some helpful guides on how to do that if you search around.

e.g. https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/s...

1 comments

But I don't have a subtitles file. I would need it to read from a stream, not a static file.
Try having it read from a fifo instead.
But how? I've searched the documentation.