<div dir="ltr">Hi,<div><br></div><div>I have an application that uses the ffmpeg code. (application is in C++)</div><div>my input is stream multicast address (udp://<a href="http://225.1.1.1:1234">225.1.1.1:1234</a>)</div><div><br></div><div>Does it supports encrypted multicast stream?</div><div><br></div><div>example::</div><div><br></div><div><br></div><div>for a regular, unencrypted stream, I uses the ffmpeg functions in my code as follows:</div><div><br></div><div>   av_register_all()<br></div><div>   avformat_network_init();<br></div><div>   m_AvFormatCtx = avformat_alloc_context(); // member holds format context<br></div><div><br></div><div>   av_dict_set(&opts, "timeout", 15, 0); <br></div><div><div><br></div><div>    /* open input file, and allocate format context */<br></div><div>    res = avformat_open_input(&m_AvFormatCtx, "udp://<a href="http://225.1.1.1:1234">225.1.1.1:1234</a>", NULL, opts);</div></div><div><div><br></div><div><div>    /* retrieve stream information */</div><div>    res = avformat_find_stream_info(m_AvFormatCtx, NULL);</div></div></div><div><br></div><div>    etc.. : my work on the stream is done here...</div><div><br></div><div>If I have an input that is <u>encrypted (AES, and I have the pass and initial vector)</u></div><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">1. Does ffmpeg actually supports open multicast ts udp streams? </span>

<br></div><div>2. Is it possible to just add to the dictionary, the encryption pass & iv data<br></div><div>   and continue using my code? (for example)</div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">    av_dict_set(&opts, "pass", "abcdefghijklmnop", 0); </span>

<br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">   </span>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">av_dict_set(&opts, "iv", "abcdefghijklmnop", 0); </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span></span>


<br></div><div><br></div><div><br></div><div>3. If I could not use the dictionary sets functions, How can I open encrypted multicast streams?</div><div><br></div><div>Thanks</div><div> </div><div><br></div></div>