streaming - System error 111 (connection refused) , Failed to connect -
i'm trying stream video via rtsp in ubuntu pc.
video file streamed big_buck_bunny_h264.mov
located in following location of pc :home/user/downloads/
i'm using gstreamer stream video.
below gstreamer command i'm trying :
gst-launch-1.0 rtsprc location=rtsp://127.0.0.1:9000/home/user/downloads/big_buck_bunny_h264.mov latency=0 ! decodebin ! autovideosink
but i'm getting following error on terminal:
system error 111 (connection refused) , failed connect
also tried streaming via rtsp using vlc player . (open vlc -> media -> open network streaming -> enter url -> play ) im getting following error message: connection failed, vlc not connect 127.0.0.1:9000. vlc unable open url.
from above 2 scenarios (gstreamer , vlc) , assume there issue networking/network interface.
the current os i'm using guest os ubuntu 14.04. (i'm acessing ubuntu via vmware player windows pc). network bridged between windows , ubuntu.
so reason , why rtsp streaming not working fine in case ? there alternative ?
kindly tell me , whether i'm using correct command , file path stream video via rtsp.
need setup live555 streaming server start streaming video @ transmitter ?
sorry have wrong..
to use rtspsrc not mean streaming.. means opening existing stream(as client), florian mentioned have have running rtsp server serving files clients..
clients can - tried - vlc or gstreamer pipe rtspsrc element, or other players mplayer(smplayer has nice user interface imho) etc..
there various options rtsp servers: gstreamer rtsp server (mentioned here ), crtmpserver, vlc (but not way used it, check this ) , find more..
you can read nice article rt*p family of protocols.
yes can use live555 rtsp server @ ubuntu vm , access windows vlc tried..
also keep in mind usualy not use full system path (home/etc/etc) access rtsp files rather rtsp access point. means dedicated folder contains media files access example rtsp://192.168.1.123/vod/file.mp4 vod access folder (or whatever called).
hth
Comments
Post a Comment