linux rtsp 获取摄像头视频流,用RTSP流式网络摄像头

我正在尝试使用连接到笔记本电脑的网络摄像头实时播放视频。我正在Linux Ubuntu中工作。

这里是服务器端和客户端的Gstreamer管道:

流媒体服务器:我试图使用gst-rtsp-server来为v4l2设备上的视频提供服务。

./test-launch --gst-debug=0 "( v4l2src

!

video/x-raw-yuv,width=352,height=288,framerate=15/1

! x264enc ! rtph264pay name=pay0 pt=96

)"

接收器:

gst-launch -v rtspsrc

location=rtsp://192.168.XX.XX:8554/test

! decodebin ! autovideosink

我有这个消息错误:

Setting pipeline to PAUSED …

ERROR: Pipeline doesn’t want to pause.

ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could

not read from resource. Additional debug info: gstrtspsrc.c(4573):

gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Got

error response: 503 (Service Unavailable).

Setting pipeline to NULL …

Freeing pipeline …

谁知道这个问题和/或可以尝试帮助我?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值