简体   繁体   English

Gstreamer 管道下沉到 rtspclientsink 建议

[英]Gstreamer pipeline Sinking to rtspclientsink advise

I am trying to Sink a public HTTP stream (MJPEG) to "rtsp-simple-server" using Gstreamer rtspclientsink.我正在尝试使用 Gstreamer rtspclientsink 将公共 HTTP 流(MJPEG)接收到“rtsp-simple-server”。

The following command works using fakesink.以下命令使用 fakesink 工作。 But um unable to get the rtspclientsink to work.但是无法让 rtspclientsink 工作。 Note this public stream is an example.请注意,此公共流是一个示例。

FakeSink假水槽

gst-launch-1.0 souphttpsrc location="http://192.82.150.11:8083/mjpg/1/video.mjpg" ! jpegparse ! matroskamux ! fakesink

rtspclientsink Not Working rtspclientsink 不工作

   gst-launch-1.0 souphttpsrc location="http://192.82.150.11:8083/mjpg/1/video.mjpg" ! jpegparse ! matroskamux ! rtspclientsink location=rtsp://localhost:8554/cam

I get the following error: WARNING: erroneous pipeline: could not link matroskamux0 to rtspclientsink0我收到以下错误:警告:错误的管道:无法将 matroskamux0 链接到 rtspclientsink0

Any help would be greatly appreciated.任何帮助将不胜感激。

I have also tried我也试过

gst-launch-1.0  souphttpsrc location="http://192.82.150.11:8083/mjpg/1/video.mjpg" ! jpegparse ! rtpjpegpay ! rtspclientsink location=rtsp://192.168.1.161:8554/cam

设置协议=tcp sync=false 解决了我的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM