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

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nardev
New Cone
New Cone
Posts: 3
Joined: 21 Mar 2015 17:04

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

Postby nardev » 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:
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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 22 Mar 2015 22:17

[0xa07ff8] live555 demux error: SETUP of'video/H264' failed 403 Forbidden

You don't see to have the rights on the camera
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nardev
New Cone
New Cone
Posts: 3
Joined: 21 Mar 2015 17:04

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

Postby nardev » 22 Mar 2015 23:22

[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.. :/

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 23 Mar 2015 09:35

The camera is returning the error, not VLC. We cannot answer your question.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

nardev
New Cone
New Cone
Posts: 3
Joined: 21 Mar 2015 17:04

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

Postby nardev » 23 Mar 2015 09:48

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

Shlomo
New Cone
New Cone
Posts: 3
Joined: 07 Mar 2019 21:20

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

Postby Shlomo » 08 Mar 2019 09:46

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?

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

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

Postby InTheWings » 08 Mar 2019 09:54

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
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests