ubuntu 16.04 - gstreamer won't play rtsp -
i have gstreamer command plays stream 1 ubuntu 16.04 box 2 others.
as far know have same packages installed regarding gstreamer on boxes because ran sudo apt-get install gstreamer1-0* gstreamer 1.0 packages installed. find strange not work on other
following commands used:
gst-launch-1.0 rtspsrc location=rtsp://<user>:<password>@<ip>/axis-media/media.amp user-id=root user-pw=xxxxxxxxxxc latency=150 ! decodebin max-size-time=30000000000 ! videoconvert ! autovideosink
or
gst-launch-1.0 playbin uri=rtsp://<user>:<password>@<ip>/axis-media/media.amp
this open stream of axis camera h264. don't understand why not work on 2 ubuntu 16.04 boxes works on one. of these same ubuntu 16.04 same gstreamer packages installed.
could there maybe package except gstreamer necessary in order gstreamer stream rtsp?
the error when not playing
setting pipeline paused ... pipeline live , not need preroll ... got context element 'autovideosink0': gst.gl.gldisplay=context, gst.gl.gldisplay=(gstgldisplay)"\(gstgldisplayx11\)\ gldisplayx11-0"; progress: (open) opening stream progress: (connect) connecting rtsp://root:pass@172.26.134.166/axis-media/media.amp (gst-launch-1.0:4036): glib-gio-warning **: ignoring invalid ignore_hosts value '*]' error: element /gstpipeline:pipeline0/gstrtspsrc:rtspsrc0: not open resource reading , writing. additional debug info: gstrtspsrc.c(6795): gst_rtspsrc_retrieve_sdp (): /gstpipeline:pipeline0/gstrtspsrc:rtspsrc0: failed connect. (generic error) error: pipeline doesn't want preroll. setting pipeline paused ... setting pipeline ready ... setting pipeline null ... freeing pipeline ...
found command webpage:
well seems proxy caused issue. when disabled proxy able stream gstreamer on boxes.
best regards
Comments
Post a Comment