[Libav-user] rtsp transport protocol
Dmitry Adjiev
adjiev.dmitry at gmail.com
Thu Aug 14 20:00:49 CEST 2014
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?
2014-08-14 21:51 GMT+04:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:
> Here is debug output:
>
> Output #0, rtsp, to 'rtsp://127.0.0.1:8554/live.sdp':
>
> Stream #0:0: Video: h263, yuv420p, 352x288, q=2-31, 200 kb/s, 15 tbn, 15
> tbc
>
> [rtsp @ 0x2f688c0] Codec for stream 0 does not use global headers but
> container format requires global headers
>
> [tcp @ 0x2f9eb00] Connection to tcp://127.0.0.1:8554?timeout=0 failed:
> Connection refused
>
> Thanks, I'll try
>
>
> 2014-08-14 21:49 GMT+04:00 wm4 <nfxjfg at googlemail.com>:
>
> On Thu, 14 Aug 2014 21:46:57 +0400
>> Dmitry Adjiev <adjiev.dmitry at gmail.com> wrote:
>>
>> > Hello.
>> > I trying to use rtsp muxer.
>> > By default it has lowertransport tcp, how can I set it to udp?
>>
>> I thought it as udp by default? But you can set the "rtsp_transport"
>> AVOption to "udp".
>> _______________________________________________
>> 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/f4749a24/attachment.html>
More information about the Libav-user
mailing list