Thank you for your answer. We are using a custom player and we need to have the option to show or not the subtitles.
If the subtitles must not be encrypted, as stated by Apple, I am thinking in encode video and audio with encryption in one ts file and do the same (without encryption) in another ts file. After that, I think it's possible to bring them together thru m3u8 file. ps: I am sorry to be overposting the answers but I am using hotmail and I can't put it below. ________________________________ De: ffmpeg-user <[email protected]> em nome de Ted Park <[email protected]> Enviado: segunda-feira, 11 de fevereiro de 2019 13:57 Para: FFmpeg user questions Assunto: Re: [FFmpeg-user] How to encrypt hls output format with dvbsub subtitles > On Feb 11, 2019, at 7:57 AM, Sergio A S de Aguiar <[email protected]> > wrote: > > Is any way to make encryption work, with the dvbsub subtitles format (maybe > some way to make it work using hls format, not segment)? Burning the subtitles into the video would be the only way with his. If you didn’t have to use the original dvbsub, it might be possible to use our to convert it to vtt or ttml format, but you would lose typesetting and, although it’s not forbidden in the rfc, Apple says streams that are not video or audio “must not” be encrypted. (The primary author submits the specification drafts as an employee of Apple) > As, in the input stream, the subtitles are in dvbsub format, I can't use hls > output format and I am using segment output format. If you didn’t have to stay within hls, you could keep the subtitle in the ts (which is what is happening right now) but it would be up to you to implement the de/encryption and presentation of the subtitles. So I guess it depends on how the his stream is going to be used eventually, in the final project. Is it going to be played in a html page? Is there going to be a custom player? Do you really need it to be selectable, or encrypted? _______________________________________________ ffmpeg-user mailing list [email protected] https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C19d5cab3816641e8666e08d69039b985%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636854974930671535&sdata=%2F%2F3%2BuMQjKg5GCQh522KkcwHQviLrYNCPaLf5X%2FxIrTo%3D&reserved=0 To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
