h264 stream froma webcam

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default h264 stream froma webcam

    Hi,

    I want to view the h264 stream from a webcam into my flashplayer.
    Do I need FMS to do that? I mean a simple live viewing, no recording.

    I suppose I have to use the Camera class.

    Thanks in advance,

    Pascal


    ritpas Guest

  2. Similar Questions and Discussions

    1. 32bits webcam stream
      Hi, I'm working on a project that would you use flash a the webcam. Acutally we are gonna use a virtual Cam that will stream a 32-bits stream (so...
    2. 32-bits webcam stream
      Hi, I'm working on a project that would you use flash a the webcam. Acutally we are gonna use a virtual Cam that will stream a 32-bits stream (so...
    3. Live webcam stream with FMS!
      I've been trying to stream my webcam so i can view it on my website. I'am using Flash Media Server and I have created both my broadcaster...
    4. Trying to stream video from webcam, wrong res.
      I'm trying to stream my webcam video onto a website with Flash, but the resolution is incorrect. The website uses a flash player and there are no...
    5. Desktop stream like webcam
      Hy all, There are any samples that explain the way to stream on the web the desktop of my pc. I want to stream the desktop of my pc as if it will...
  3. #2

    Default Re: h264 stream froma webcam

    Hi Pascal,

    Flash Player can't encode live video in h264, it only streams prerecorded
    video encoded with h264.
    You can capture live video using a web cam and Flash Player -- the video will
    be encoded using the Sorenson Spark codec. For more information, see
    [url]http://livedocs.adobe.com/flashmediaserver/3.0/docs/02_overview_architec_07.html[/url]
    #1198259.

    Without Flash Media Server, a client can only see the video they are capturing
    locally. To broadcast that video stream to other users, you would need to use
    Flash Media Server. There is a free development version of Flash Media Server 3
    available from [url]http://www.adobe.com/products/flashmediainteractive/[/url].

    Hope that helps,
    Jody

    Senior Technical Writer
    Adobe Learning Resources

    tech_writer_00 Guest

  4. #3

    Default Re: h264 stream froma webcam

    Many thanks for your answer Jody!

    Actually, I have a customer request asking me to decode by using actionscript
    3.0 a h264 stream coming directly from a callconf webcam.
    But it is not clear for me because that means an already encoded live stream
    but live streams are not encoded, aren't they? for me it is a raw stream which
    has to be encoded.

    According to you, flash player is only able to read h264 streams when coming
    from an already encoded ?file (so and no live stream), isn't it?

    ritpas Guest

  5. #4

    Default Re: h264 stream froma webcam

    Hi Pascal,

    I suspect that the customer has seen that Flash Player supports h264 encoding
    and assumes that means it can also encode live video using h264 as the video is
    captured - but at this time, it cannot.

    To send a recorded video to Flash Player, the video must be encoded using
    Sorenson Spark, On2 V6, or h264.

    Currently, there are 2 ways to send live video to Flash Player: build a custom
    application for Flash Player or AIR that captures the video with a camera and
    encodes it using Sorenson Spark, OR capture it with a camera and have Flash
    Media Encoder 2 encode it with On2 V6.

    Either way, if you want to broadcast that video to many users, you'll need to
    use Flash Media Server.

    For more information about Flash Media Encoder 2, see
    [url]http://www.adobe.com/go/fme[/url].

    Jody

    tech_writer_00 Guest

  6. #5

    Default Re: h264 stream froma webcam

    Some last questions : - I am wondering whether all h264 encoded files can be
    read by flash player. For example, for testing purposes, I downloaded two
    supposed h264 encoded files : the first, found at
    [url]http://www.osnews.com/story/19019/Theora_vs._h.264[/url] is working well when
    attached to a FLVPlayback component, the other found at
    [url]http://blacksharkfr.free.fr/tm/Island_Tour_h264.avi[/url] doesn't work. So either it
    is not real encoded h264 files or Flash player does only read some h264 encoded
    video files and some not.

    ritpas Guest

  7. #6

    Default Re: h264 stream froma webcam

    Check out this article (referenced in the FMS docs):
    [url]http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html[/url]

    Jodu
    tech_writer_00 Guest

  8. #7

    Default Re: h264 stream froma webcam

    thanks Jody

    So according to the article, may be the second video which is not working has been encoded with an alpha channel .
    May be ...
    ritpas Guest

  9. #8

    Default Re: h264 stream froma webcam

    Jody I am interested in taking a MPEG4/H264 stream from a IP Network Camera to
    upload to FMS and onto my clients. Clearly flash player cannot see the stream
    so it would seem this is not possible at the moment - can you confirm this and
    is there likely to be any way to achieve it in the near future?

    prushby Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139