Page 1 of 1

Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 21 Mar 2015 17:11
by nardev
Somehow, i made it work locally so i tried to "reimplement" same thing to digital ocean VM and i get following error:
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
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)

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>
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

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 22 Mar 2015 22:17
by Jean-Baptiste Kempf
[0xa07ff8] live555 demux error: SETUP of'video/H264' failed 403 Forbidden

You don't see to have the rights on the camera

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 22 Mar 2015 23:22
by nardev
[0xa07ff8] live555 demux error: SETUP of'video/H264' failed 403 Forbidden

You don't see to have the rights on the camera

So strange thing since i don't see what could be the reason for that?

My personal PC at my home, camera at some other location, VM at third location..

How could that happen?.. I didn't set any special permission for the camera ever.. :/

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 23 Mar 2015 09:35
by RĂ©mi Denis-Courmont
The camera is returning the error, not VLC. We cannot answer your question.

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 23 Mar 2015 09:48
by nardev
Ok, do you have any indication why from my local pc I don't get any errors and from any other I get those errors???

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 08 Mar 2019 09:46
by Shlomo
I have the exact same problem.
I can watch the video from my PC using videolan, but not from my Android at the same time.
Did you solve this problem?

Re: Stream to web from rtsp cvlc - live555 demux error: SETUP of'video/H264' failed 403 Forbidden

Posted: 08 Mar 2019 09:54
by InTheWings
I have the exact same problem.
I can watch the video from my PC using videolan, but not from my Android at the same time.
Did you solve this problem?
Buy a camera with a real rtsp server