Hi,

I have an application that uses the ffmpeg code. (application is in C++)
my input is stream multicast address (udp://225.1.1.1:1234)

Does it supports encrypted multicast stream?

example::


for a regular, unencrypted stream, I uses the ffmpeg functions in my code
as follows:

   av_register_all()
   avformat_network_init();
   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://225.1.1.1:1234", NULL,
opts);

    /* 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
vector)*

1. Does ffmpeg actually supports open multicast ts udp streams?
2. Is it possible to just add to the dictionary, the encryption pass & iv
data
   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?

Thanks
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to