[Libav-user] rtsp transport protocol
Dmitry Adjiev
adjiev.dmitry at gmail.com
Thu Aug 14 20:18:43 CEST 2014
Ah, may be I should pass options to avformat_write_header?
2014-08-14 22:12 GMT+04:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:
> Thanks for your reply! It will output stream :-)
>
>
>
> 2014-08-14 22:08 GMT+04:00 wm4 <nfxjfg at googlemail.com>:
>
> On Thu, 14 Aug 2014 22:00:49 +0400
>> Dmitry Adjiev <adjiev.dmitry at gmail.com> wrote:
>>
>> > This string doesn't work:
>> > av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",
>> > opts, ":", ":");
>> >
>> > This string crashes:
>> > av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",
>> > opts, ":", NULL);
>> >
>> > What I do wrong?
>>
>> You need to pass it as entry in an AVDictionary to
>> avformat_open_input(). (Not very intuitive, I know.)
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
>
> --
> Regards,
> Dmitry
>
--
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140814/1005e6bd/attachment.html>
More information about the Libav-user
mailing list