VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. 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:
    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
    Terminal saying me that streaming in progress, and all fine.
    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.
    Regards, Rechmp.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    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
    Quote Quote  
  3. 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 use
    Code:
    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
    But getting error:
    WriteN, RTMP send error 10038 (33 bytes)
    rtmp://127.0.0.1/livestream: Unknown error occurred
    Can you tell me what i do wrong?
    Thanks/
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Have you googled that error?

    I have never tried stream with ffmpeg. Only vlc.
    Quote Quote  
  5. If vlc failed, try ffplay
    I am a coder, I like coding, www.elycs.com
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!