probleme html5 yag video and video straming
Posted: 23 Nov 2015 14:21
Hi
I have a RaspberryPI (name: rpi, IP: ip_rpi) with a picam and motion running on. From a pc, it's possible de to see the video stream in a browser : http://ip_rpi:9090.
On the pc, I would like to see this video stream this an adress like: http://127.0.0.1:9091 for exemple.
So, I use cvlc to transform the video stream. In an strem (debian 8 on the pc), I tried:
On the pc, it's possible to see the video stream with the following command :
However, impossible to see the video with the broser (iceweasel, firefox, chrome, opera)
I made a lot of tests with different video codecs, with rstp instead of http..........without the desired result.
Is someone has an idea ?
thanks
I have a RaspberryPI (name: rpi, IP: ip_rpi) with a picam and motion running on. From a pc, it's possible de to see the video stream in a browser : http://ip_rpi:9090.
On the pc, I would like to see this video stream this an adress like: http://127.0.0.1:9091 for exemple.
Code: Select all
<video>
<source src="http://127.0.0.1:9091" type="video/ogg">
Your browser does not support the VIDEO tag .
</video>
Code: Select all
cvlc -vvv http://ip_rpi:9090 --sout '#standard{access=http,mux=ogg,dst=127.0.0.1:9091}'
Code: Select all
vlc http://127.0.0.1:9091
I made a lot of tests with different video codecs, with rstp instead of http..........without the desired result.
Is someone has an idea ?
thanks