Hello guys (and girls).
I want to stream video from my home webcam to the web-page located on the same pc.
I have tried to use ffmpeg with cmd line like this:
Terminal saying me that streaming in progress, and all fine.Code:ffmpeg -f dshow -i video=«Logitech HD Webcam C270» -r 20 -s 640x360 -vcodec libx264 -b 900k -f mpegts udp://127.0.0.1:7777
But can you tell me please how to capture and play that stream on page? I don't need any super-players or buffering, just a realtime picture.
My pc runs on windows.
Thanks for help.
+ Reply to Thread
Results 1 to 5 of 5
You can use the vlc web player plugin. See http://wiki.videolan.org/Documentation:WebPlugin It will play everything.
Or if you are streaming to h264 with rtmp use a flash player like flowplayer, see for example http://stackoverflow.com/questions/8481373/how-to-implement-http-live-streaming-server-on-unix
Baldrick, thanks for link to the stackoverflow, it helped me.
I have installed and configured red5, admin's panel works, but now i have problem with ffmpeg keys, maybe You can help me?
I'm trying to useCode:
ffmpeg -f dshow -i video="Logitech HD Webcam C270" -r 10 -s 640x360 -vcodec libx264 -b 200k -f flv rtmp://127.0.0.1/livestream
WriteN, RTMP send error 10038 (33 bytes)
rtmp://127.0.0.1/livestream: Unknown error occurred
Can you tell me what i do wrong?
Have you googled that error?
I have never tried stream with ffmpeg. Only vlc.