<div dir="ltr">Ah, may be I should pass options to avformat_write_header?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-14 22:12 GMT+04:00 Dmitry Adjiev <span dir="ltr"><<a href="mailto:adjiev.dmitry@gmail.com" target="_blank">adjiev.dmitry@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your reply! It will output stream :-)<br><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2014-08-14 22:08 GMT+04:00 wm4 <span dir="ltr"><<a href="mailto:nfxjfg@googlemail.com" target="_blank">nfxjfg@googlemail.com</a>></span>:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, 14 Aug 2014 22:00:49 +0400<br>
Dmitry Adjiev <<a href="mailto:adjiev.dmitry@gmail.com" target="_blank">adjiev.dmitry@gmail.com</a>> wrote:<br>
<br>
> This string doesn't work:<br>
> av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",<br>
> opts, ":", ":");<br>
><br>
> This string crashes:<br>
> av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",<br>
> opts, ":", NULL);<br>
><br>
> What I do wrong?<br>
<br>
</div>You need to pass it as entry in an AVDictionary to<br>
avformat_open_input(). (Not very intuitive, I know.)<br>
<div><div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Regards,<br>Dmitry
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Dmitry
</div>