[FFmpeg-user] Subtitle file from m3u8
Moritz Barsnick
barsnick at gmx.net
Sun Mar 18 20:59:53 EET 2018
On Sat, Mar 17, 2018 at 22:33:42 +0100, Carl Eugen Hoyos wrote:
> > But I can't find a way to download the subtitle file within the command.
> > Could you suggest me any possibilities to achieve that, even further - to
> > embed the subtitle to the video?
>
> Afaik, mpegts does not support any type of text subtitles.
Indeed, no, you need an additional tool to create image subtitles from
text. Alas, I also recall issues with ffmpeg muxing MPEG-TS with
dvb_subtitles (e.g. once you have created them from text) - AFAIR
nothing was able to play them.
If you want to embed the given text subtitle stream (which was webvtt,
just for info), I recommend remuxing to mp4 or the likes.
> Not necessarily related:
> Is there really no scripts that downloads the ts files from a hls stream
> and concatenates them?
There is, youtube-dl. It even supports decrypting (some) in the
process. (It's easy to write a "playlist downloader" and some con"cat"
magic, but that can't decrypt out of the box, and yt-dl already
exists.)
Moritz
More information about the ffmpeg-user
mailing list