[Libav-user] Does ffmpeg can open encrypted multicast stream (multicast TS over udp)?
selfuser at gmail.com
Tue May 15 10:40:41 EEST 2018
I have an application that uses the ffmpeg code. (application is in C++)
my input is stream multicast address (udp://220.127.116.11:1234)
Does it supports encrypted multicast stream?
for a regular, unencrypted stream, I uses the ffmpeg functions in my code
m_AvFormatCtx = avformat_alloc_context(); // member holds format context
av_dict_set(&opts, "timeout", 15, 0);
/* open input file, and allocate format context */
res = avformat_open_input(&m_AvFormatCtx, "udp://18.104.22.168:1234", NULL,
/* retrieve stream information */
res = avformat_find_stream_info(m_AvFormatCtx, NULL);
etc.. : my work on the stream is done here...
If I have an input that is *encrypted (AES, and I have the pass and initial
1. Does ffmpeg actually supports open multicast ts udp streams?
2. Is it possible to just add to the dictionary, the encryption pass & iv
and continue using my code? (for example)
av_dict_set(&opts, "pass", "abcdefghijklmnop", 0);
av_dict_set(&opts, "iv", "abcdefghijklmnop", 0);
3. If I could not use the dictionary sets functions, How can I open
encrypted multicast streams?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user