I'm trying to make an HTML5 Live Video Streaming via Websocket.
I follow the tutorial : http://phoboslab.org/log/2013/09/html5- ... websockets
I successfully manage to install NodeJS, ffmpeg. However i'm running in a problem : I have a Raspberry Camera attached to the GPU, he is using a USB Camera.
I can't access the raspberry Camera as he does /dev/video0
The code to launch ffmpeg stream isn't working :
Code: Select all
ffmpeg -s 640x480 -f video4linux2 -i /dev/video0 -f mpeg1video \
-b 800k -r 30 http://example.com:8082/yourpassword/640/480/Code: Select all
raspivid -o - -t 9999999 -w 800 -h 600 --hflip | ffmpeg ... ... ...After days of search, i finally seek for help here !
It'd be a huge help if any of you could help me solve this problem.
Thanks in advance !