[flexcoders] Re: Streaming Video to Flex
can it'll give good quality when we are using FMS with IP cam, and which ip cam can work well with FMS for FLEX ? thx in advanced abhishekche...@gmail.com :) --- In flexcoders@yahoogroups.com, greg h flexairvideog...@... wrote: Phil, Even if you find an IP camera that encodes straight to FLV, Flash Player does not support peer-to-peer (though maybe someday it will). SWFs can talk to servers. In the absence of a server in the architecture, I am having a hard time seeing any way for SWFs to find and talk directly to the camera. And yes, RTMP is the protocol of live video streaming. (btw, all of the above is true for SWFs whether authored w/ Flex, Flash or any other authoring option. At runtime, the constraint is Flash Player's capabilities). Perhaps others on this list have seen a serverless live video solution. If so, I certainly would like to know some details :-) Might you be able to use the Flash Media Live Encoder? (aka FMLE) Product page here: http://www.adobe.com/products/flashmediaserver/flashmediaencoder/ When using FMLE to publish, any Flex or Flash SWF can receive and display the live stream. This devnet article provides a quick overview of the architecture of a Live Web Broadcast using FMLE. I do see that you wrote I don't want to use FMS. FMLE does require FMS. If your requirement has the camera and Flex apps on the Internet, you do not have to put up your own FMS, but rather could use hosting from a CDN partner. CDN partners who support live streaming are listed here: http://www.adobe.com/products/flashmediaserver/fmsp/ Just curious, where you wrote I don't want to use FMS, am I correct that you are planning on using an RTMP server other than FMS? If not, if you find a serverless solution, please post back with details. One more question (and it is a bit random), does your requirement call for true video w/ audio? If not, perhaps you can use a non-RTMP server to relay a series of bitmap snapshots. The following link is a post by Thibault Imbert regarding capturing content into a JPEG file: http://www.bytearray.org/?p=26 Googling around, I found the following link for a product that appears to stream a series of captures: http://gmax.gpnet.at/flvenc.html *Please post back regarding whether the above answers your question, and if you find it helpful :-)* Best regards, g
Re: [flexcoders] Re: Streaming Video to Flex
Phil, Even if you find an IP camera that encodes straight to FLV, Flash Player does not support peer-to-peer (though maybe someday it will). SWFs can talk to servers. In the absence of a server in the architecture, I am having a hard time seeing any way for SWFs to find and talk directly to the camera. And yes, RTMP is the protocol of live video streaming. (btw, all of the above is true for SWFs whether authored w/ Flex, Flash or any other authoring option. At runtime, the constraint is Flash Player's capabilities). Perhaps others on this list have seen a serverless live video solution. If so, I certainly would like to know some details :-) Might you be able to use the Flash Media Live Encoder? (aka FMLE) Product page here: http://www.adobe.com/products/flashmediaserver/flashmediaencoder/ When using FMLE to publish, any Flex or Flash SWF can receive and display the live stream. This devnet article provides a quick overview of the architecture of a Live Web Broadcast using FMLE. I do see that you wrote I don't want to use FMS. FMLE does require FMS. If your requirement has the camera and Flex apps on the Internet, you do not have to put up your own FMS, but rather could use hosting from a CDN partner. CDN partners who support live streaming are listed here: http://www.adobe.com/products/flashmediaserver/fmsp/ Just curious, where you wrote I don't want to use FMS, am I correct that you are planning on using an RTMP server other than FMS? If not, if you find a serverless solution, please post back with details. One more question (and it is a bit random), does your requirement call for true video w/ audio? If not, perhaps you can use a non-RTMP server to relay a series of bitmap snapshots. The following link is a post by Thibault Imbert regarding capturing content into a JPEG file: http://www.bytearray.org/?p=26 Googling around, I found the following link for a product that appears to stream a series of captures: http://gmax.gpnet.at/flvenc.html *Please post back regarding whether the above answers your question, and if you find it helpful :-)* Best regards, g
[flexcoders] Re: Streaming Video to Flex
You can attach a camera to Flex and stream video - I'm sure your camera is quite a bit more sophisticated than your typical webcam though Livedocs: http://livedocs.adobe.com/flex/3/html/help.html? content=Working_with_Video_18.html Hope this helps! :D --- In flexcoders@yahoogroups.com, Phil Heinz [EMAIL PROTECTED] wrote: Hi everyone, Can Flex 3 VideoDisplay or any other component display LIVE streaming video from any other format than FLV? We are trying to go straight to the camera from Flex. Many cameras will stream motion JPEG or MPEG4 for instance. Second question - does anyone know of a camera that streams FLV? Thanks! Phil
[flexcoders] Re: Streaming Video to Flex
Thanks Nathan. Problem is, camera is not attached to computer with the Flex app. I want one of 10 Flex apps around the Intranet to be able to attach to any camera's stream, and I don't want to use FMS. I have looked high and low and can't find a camera that puts out FLV. And from what I gather from Flex, streaming can only be done from an FMS source or some other software that supports RTMP. Any thoughts? Thanks, Phil --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: You can attach a camera to Flex and stream video - I'm sure your camera is quite a bit more sophisticated than your typical webcam though Livedocs: http://livedocs.adobe.com/flex/3/html/help.html? content=Working_with_Video_18.html Hope this helps! :D --- In flexcoders@yahoogroups.com, Phil Heinz phil@ wrote: Hi everyone, Can Flex 3 VideoDisplay or any other component display LIVE streaming video from any other format than FLV? We are trying to go straight to the camera from Flex. Many cameras will stream motion JPEG or MPEG4 for instance. Second question - does anyone know of a camera that streams FLV? Thanks! Phil
[flexcoders] Re: Streaming Video to Flex
My only suggestion would be to look into the messaging service. I don't know that that will solve your issue though - but there are examples around which show how to create a video conferencing application using Flex messaging service. Otherwise you may be stuck with having to use FMS (or some other service of the sort)... --- In flexcoders@yahoogroups.com, Phil Heinz [EMAIL PROTECTED] wrote: Thanks Nathan. Problem is, camera is not attached to computer with the Flex app. I want one of 10 Flex apps around the Intranet to be able to attach to any camera's stream, and I don't want to use FMS. I have looked high and low and can't find a camera that puts out FLV. And from what I gather from Flex, streaming can only be done from an FMS source or some other software that supports RTMP. Any thoughts? Thanks, Phil --- In flexcoders@yahoogroups.com, nathanpdaniel ndaniel@ wrote: You can attach a camera to Flex and stream video - I'm sure your camera is quite a bit more sophisticated than your typical webcam though Livedocs: http://livedocs.adobe.com/flex/3/html/help.html? content=Working_with_Video_18.html Hope this helps! :D --- In flexcoders@yahoogroups.com, Phil Heinz phil@ wrote: Hi everyone, Can Flex 3 VideoDisplay or any other component display LIVE streaming video from any other format than FLV? We are trying to go straight to the camera from Flex. Many cameras will stream motion JPEG or MPEG4 for instance. Second question - does anyone know of a camera that streams FLV? Thanks! Phil
Re: [flexcoders] Re: Streaming Video in Flex using Windows 2003 Server
Hi Don, In a Flex/AIR app, the simplest way to do load video is using the component mx:VideoDisplay You can just copy the example in the docs here: http://livedocs.adobe.com/labs/flex3/langref/mx/controls/VideoDisplay.html#includeExamplesSummary Note that as written, the doc example is for a progressive download via http. Specifically note the value being passed on the source= property: source=assets/phone.flv Since no protocol is specified in this example, http is implied by the relative reference to the flv file. (This same, simple component also supports streaming. If the flv was being streamed the protocol RMTP would need to be included in the URI passed to the source= property.) If you copy the example in the docs into your project, you will need the absolute path to the example flv file. So just replace the URI passed to the source= property to the following: source= http://examples.adobe.com/flex2/inproduct/sdk/explorer/controls/assets/phone.flv Of course, you can also specify any valid URI to any valid flv (including your own ;-) Please post back if you have any follow-up questions. hth, g
Re: [flexcoders] Re: Streaming Video in Flex using Windows 2003 Server
ya u can use video display , but if your using fms/rtmp combination it is better to use Video object then attach netstream to it. It will give more control to functionality / interactivity and offcourse errors. It is good idea to control the played video form FMS server side using streams instead of using client side logic. For streams part u can refer to this http://www.adobe.com/devnet/flashmediaserver/articles/learning_fms2_excerpt/learning_fms2_ch09.pdf On Feb 1, 2008 1:17 PM, greg h [EMAIL PROTECTED] wrote: Hi Don, In a Flex/AIR app, the simplest way to do load video is using the component mx:VideoDisplay You can just copy the example in the docs here: http://livedocs.adobe.com/labs/flex3/langref/mx/controls/VideoDisplay.html#includeExamplesSummary Note that as written, the doc example is for a progressive download via http. Specifically note the value being passed on the source= property: source=assets/phone.flv Since no protocol is specified in this example, http is implied by the relative reference to the flv file. (This same, simple component also supports streaming. If the flv was being streamed the protocol RMTP would need to be included in the URI passed to the source= property.) If you copy the example in the docs into your project, you will need the absolute path to the example flv file. So just replace the URI passed to the source= property to the following: source= http://examples.adobe.com/flex2/inproduct/sdk/explorer/controls/assets/phone.flv Of course, you can also specify any valid URI to any valid flv (including your own ;-) Please post back if you have any follow-up questions. hth, g -- Regards, Yogesh
[flexcoders] Re: Streaming Video in Flex using Windows 2003 Server
Thank you Greg. I'll look into this article. I'm open to progressive download for sure...just didn't know how to do it in a Flex app. Don --- In flexcoders@yahoogroups.com, greg h [EMAIL PROTECTED] wrote: Hi Don, For video in Flex/Flash there are three options: streaming, progressive embedding. For true streaming, Sam is correct that the only natively supported option is with FMS. That said, however, for end users the fast start time of progressive downloads generally is indistinguishable from true streaming. The preponderance of Flash video on the web uses progressive. YouTube is 100% progressive. And progressive is viable even given a 40MB MP4 video. And for applications where there will be a large number of downloads, CDNs (like Akamai) support progressive. So, where you write I guess I'll have to look into another approach that doesn't require flashmedia for now, I suggest that you just give progressive a try. If you try progressive and identify problems/shortcomings, please post back with any issues that you encounter. fyi ... For full details on the implications of streaming, progressive embedding, see this article by Chris Hock (former Flash Media Product Manager): Delivering Flash Video: Understanding the Difference Between Progressive Download and Streaming Video http://www.adobe.com/devnet/flash/articles/flv_download.html Also, although I do not use it, Red5 is an open source streaming server. (Note: Embedded video is supported by Flash authoring only. Currently neither Flex 2 nor Flex 3 support embedding. Not that you would want to embed 40MB MP4 video anyway ;-) hth, g
[flexcoders] Re: Streaming Video in Flex using Windows 2003 Server
Bummer. Unexpected conclusion. I guess I'll have to look into another approach that doesn't require flashmedia for now. Thanks. Don --- In flexcoders@yahoogroups.com, Samuel R. Neff [EMAIL PROTECTED] wrote: The only way to stream MP4 video to Flash Player is through Flash Media Server. http://www.adobe.com/products/flashmediaserver/ There have been some successful experiments in emulating the seek-ing ability of streaming by using progressive download and building new videos on the fly based on url parameters, but that's not true streaming (whether that matters depends on your requirements). Really Adobe should support RTSP. Ask for it here: http://adobe.com/go/wish Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nasawebguy Sent: Tuesday, January 29, 2008 5:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Streaming Video in Flex using Windows 2003 Server Anyone have any examples of how to code Flex to stream a video hosted on a Windows 2003 streaming service? Once I enable the streaming service on my server, I need to know: 1) How to point Flex to that file 2) AS code to initiate the streaming. My assumption is that I need to use a streaming server...but if there is a better way to handle a 40MB MP4 video, please let me know. I haven't done anything with video in Flex before. I'm looking to be pointed in the direction of a best practice. Thanks, Don
Re: [flexcoders] Re: Streaming Video in Flex using Windows 2003 Server
Hi Don, For video in Flex/Flash there are three options: streaming, progressive embedding. For true streaming, Sam is correct that the only natively supported option is with FMS. That said, however, for end users the fast start time of progressive downloads generally is indistinguishable from true streaming. The preponderance of Flash video on the web uses progressive. YouTube is 100% progressive. And progressive is viable even given a 40MB MP4 video. And for applications where there will be a large number of downloads, CDNs (like Akamai) support progressive. So, where you write I guess I'll have to look into another approach that doesn't require flashmedia for now, I suggest that you just give progressive a try. If you try progressive and identify problems/shortcomings, please post back with any issues that you encounter. fyi ... For full details on the implications of streaming, progressive embedding, see this article by Chris Hock (former Flash Media Product Manager): Delivering Flash Video: Understanding the Difference Between Progressive Download and Streaming Video http://www.adobe.com/devnet/flash/articles/flv_download.html Also, although I do not use it, Red5 is an open source streaming server. (Note: Embedded video is supported by Flash authoring only. Currently neither Flex 2 nor Flex 3 support embedding. Not that you would want to embed 40MB MP4 video anyway ;-) hth, g