Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden
Posted: 21 Mar 2015 17:11
Somehow, i made it work locally so i tried to "reimplement" same thing to digital ocean VM and i get following error:
my rtsp source is "rtsp://camera.cic.ba:554/tcp_live/ch0_0" nobody of my friends can open it with VLC however, for some reason, i can and also with some android rtsp app it's possible to open the stream
I use Debian with multimedia repos and with backports packages.
I really don't understand much about this, it's quite confusing, codecs, ports, permissions .. etc... nothing to work out of box.
i'm willing even to pay somebody if helps me solve this problem
thank you
I want it to stream to html5 player so that i can watch this way: (It works in my locally installed VLC and cvlc instance)cvlc rtsp://camera.cic.ba:554/tcp_live/ch0_0 --sout '#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{mux=ogg,dst=:6543/kmr}'
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0xaa04d8] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0xaa04d8] main interface error: no suitable interface module
[0xa02698] main interface error: no suitable interface module
[0x9d3108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xaa04d8] dummy interface: using the dummy interface module...
[0xa06b98] mux_ogg mux: Open
[0xa07ff8] live555 demux error: SETUP of'video/H264' failed 403 Forbidden
[0xa07ff8] live555 demux error: SETUP of'audio/PCMA' failed 403 Forbidden
[0xa07ff8] live555 demux error: Nothing to play for rtsp://camera.cic.ba:554/tcp_live/ch0_0
[0xa08ff8] main access error: Read error: Connection reset by peer
[0xa00cd8] main input error: open of `rtsp://camera.cic.ba:554/tcp_live/ch0_0' failed
[0xa00cd8] main input error: Your input can't be opened
[0xa00cd8] main input error: VLC is unable to open the MRL 'rtsp://camera.cic.ba:554/tcp_live/ch0_0'. Check the log for details.
[0xa06b98] mux_ogg mux: Close
Code: Select all
<html><head><title></title></head><body>
<video id="video" src="http://camera.data.ba:6543/kmr" type="video/ogg; codecs=theora" autoplay="autoplay"/>
</body></html>
I use Debian with multimedia repos and with backports packages.
I really don't understand much about this, it's quite confusing, codecs, ports, permissions .. etc... nothing to work out of box.
i'm willing even to pay somebody if helps me solve this problem
thank you