Results 1 to 1 of 1

Thread: Live Webcam feed to WOWZA Server over RTMP with H264 encoding

  1. #1
    Join Date
    Apr 2013
    Posts
    1

    Default Live Webcam feed to WOWZA Server over RTMP with H264 encoding

    Hi,

    I am trying out WOWZA server and it is working great for all general purposes. I am able to play my VOD files (H264 and AAC encoded on FLV or MP4 containers) across all players.

    I am however facing a major issue with live streaming. I am capturing the video from my laptops webcam and sending the same to the WOWZA server via RTMP. The container format is flv. Here is what I tried.

    Using ffmpeg to capture webcam input and stream the same. Command given below
    ffmpeg -f dshow -i video="HP HD Webcam [Fixed]":audio="Microphone (IDT High Definition" -f flv rtmp://[server]/live-webcam/myStream

    When I encode video using FLV1 (Sorenson), I am able to view the live video using Flash Players (HTTP and RTMP) but am not able to view it using Apple, Silverlight or RTSP protocol. This seems in line with WOWZA documentation as all other protocols support only H264 video encoding for streaming.

    According to documentation all players support H264 and AAC. So here is my second command which I assumed with work with everything

    Using ffmpeg to capture webcam input and stream the same. Command given below
    ./ffmpeg -f dshow -i video="HP HD Webcam [Fixed]":audio="Microphone (IDT High Definition" -f flv -vcodec libx264 -acodec aac -strict -2 rtmp://server/live-webcam/webcammadhu

    This now works on Apple Devices (HLS) and RTSP (I amusing VLC). Surprisingly the Flash HTTP and RTMP Players dont playback the video. I am able to listen to the audio, but no video.

    Any help appreciated.

    Thanks
    Last edited by a.madhusudan; 05-01-2013 at 03:48 AM.

Similar Threads

  1. Webcam from Flash Player Transcode to H264
    By ben78000 in forum AddOn: Transcoder
    Replies: 1
    Last Post: 11-30-2011, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •