我正在尝试解码ipcamera视频并将其显示在hdmi上,但我收到rtspsrc错误
我的命令:
gst-launch-1.0 -e rtspsrc location="rtsp://admin:admin123@192.168.0.46/realtime?subtype=1" latency=0 ! queue ! rtph264depay ! \ h264parse ! omxh264dec ! vspmfilter outbuf-alloc=true ! video/x-raw,format=BGRA,width=480,height=320 ! waylandsink position-x=800 position-y=60 qos=false
我遇到以下错误:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'waylandsink0': GstWaylandDisplayHandleContextType=context, handle=(gpointer)NULL;
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin123@192.168.0.46/realtime?subtype=1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not writeto resource.
Additional debug info:../../../gst-plugins-good-1.12.2/gst/rtsp/gstrtspsrc.c(6341): gst_rtspsrc_setup_streams (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Error (503): Service Unavailable
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Total time: 0.000000 seconds
Freeing pipeline ...
root@iwg21m:~#
但是将另一个具有rtsp:// admin:admin@192.168.0.48:554 / cam / realmonitor?channel = 1&subtype = 1的ipcamera的命令与相同的命令正常工作。如果我有任何错误,请纠正我。< / p>
预先感谢