Discussion:
[FFmpeg-user] AES Enc with segmenter
bra vo
2018-11-30 19:12:57 UTC
Permalink
I would like to segment a live mpegts udp stream into hls and there are two
constraints:

1) Subtitles must be copied (dvbsub) to output; (If it can be converted to
webvtt it would be awesome)
2) The segments must be encrypted with AES128 and the playlist should
contains the URI to the key.

Well, the issue is that I can't achieve both at the same time. If I use the
ffmpeg hls muxer, it encrypt the chunks with AES but do not copy subtitles
to the output and throws an error: [webvtt @ 0x561100fa5700] Exactly one
WebVTT stream is needed.

Ok, then let's give the generic segmenter muxer a try. Good, it can copy
the subtitles to the hls output. Question is, how can I encrypt the
segments on the fly and properly add te key URI to the manifest using this
generic segmenter? (Remember it's a live content)

Thanks!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request@
Dennis Mungai
2018-11-30 20:27:40 UTC
Permalink
Go through the output of:

ffmpeg -h muxer=hls

What build of FFmpeg are you using? Note that on this mailing list, only
git head is supported.

-Dennis.
Post by bra vo
I would like to segment a live mpegts udp stream into hls and there are two
1) Subtitles must be copied (dvbsub) to output; (If it can be converted to
webvtt it would be awesome)
2) The segments must be encrypted with AES128 and the playlist should
contains the URI to the key.
Well, the issue is that I can't achieve both at the same time. If I use the
ffmpeg hls muxer, it encrypt the chunks with AES but do not copy subtitles
WebVTT stream is needed.
Ok, then let's give the generic segmenter muxer a try. Good, it can copy
the subtitles to the hls output. Question is, how can I encrypt the
segments on the fly and properly add te key URI to the manifest using this
generic segmenter? (Remember it's a live content)
Thanks!
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request

Loading...