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 <[email protected]>: > 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 <[email protected]>: > > On Thu, 14 Aug 2014 21:46:57 +0400 >> Dmitry Adjiev <[email protected]> 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 >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> > > > > -- > Regards, > Dmitry > -- Regards, Dmitry
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
