Creating a streaming Video Player w/bandwidth detection... HELP!

Hi everyone,
I've just been asked to create a video player which automatically chooses the correct bitrate video to stream by detecting the bandwidth.
I have no experience creating a video player so I'm looking for links/resources to do some research on the topic.
Has anyone here created a video player in Flex? Would it be better to create in Flash or Flex?
Once again, I have no prior knowledge in this type of creation and could use an experienced developer's opinion on what the first step is towards progress.
ANY information on this is greatly appreciated.
Kind regards,
Dey

Your best options are to use a streaming server connection. There are numerous companies that can host it for you, or you can buy a license and install it on your existing web servers. But to accomplish this task, you will want to look into what is called Dynamic streaming. Some great tutorials that will get you started are here: http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_on_demand.html and http://www.adobe.com/devnet/flashmediaserver/articles/beginner_dynstream_fms.html
Take a look through those, they should show you that it is fairly simple to accomplish.
Good Luck!

Similar Messages

  • Creating a FLV video player with full screen option

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3258016930_5977304
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I am trying to create a video player that will allow full
    screen functions
    like what we can see on youtube. I know how to create the
    window and the pop
    up but the only problem I am having is having the original
    video in the
    small screen to pause or go silent when the full screen mode
    is activated.
    How can get it done?
    Thank you.
    °K.
    --B_3258016930_5977304
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Creating a FLV video player with full screen
    option</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    <BR>
    I am trying to create a video player that will allow full
    screen functions =
    like what we can see on youtube. I know how to create the
    window and the pop=
    up but the only problem I am having is having the original
    video in the sma=
    ll screen to pause or go silent when the full screen mode is
    activated. How =
    can get it done?<BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.<BR>
    </B> </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3258016930_5977304--

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to create a multi video player with iMovie

    Hey folks, I have a great wee QT player for my daughter's website which was generated for me by iMovie export. Lovely.
    But- folk are wanting to see more videos of her singing.
    Question- how to generate a multi-video player using the same principles (and same simple design)? One like those generated by YouTube's facility to create a list of videos to appear in a single player, or where it is possible to just click a "next" tab? Here is the page I am referring to: http://www.brigidmhairi.com/music.html
    Just to clarify- I am not wanting to use the YouTube player because it is a bit fussy and doesn't look right on the site in mind. The QT one has no borders etc and therefore suits me better. Besides- the 320 format is perfect.
    Hope someone can help me, thank you SO much.

    MacBraveheart wrote:
    .. how to generate a multi-video player using the same principles (and same simple design)? .. Here is the page I am referring to: http://www.brigidmhairi.com/music.html..
    Hope someone can help me, ..
    Hi HighlanderIn ..
    who else than me.. ?
    this is no iMovie related question.. that is
    a) html/CSS-coding or
    b) some flash-app
    read out the code on your linked website ... :
    <embed type="application/x-shockwave-flash" src="http://cache.reverbnation.com/widgets/swf/33/videogallerywidget.swf
    pageobject_id=artistxxx bla bla bla /><br/>
    <a href="http://www.reverbnation.com/main/artist_feature/widgets">
    bla bla bla ..
    </noscript>
    .. going to that website reverbnation.com, it looks like they offer, as YT, a video-hosting service plus that 'special' player as a flash-code you can embed in your website (as the YTplayer) ..
    so, here are your options:
    • use this service.. costs? no idea, research on your own ..
    • use flash, encode yourself.. perhaps, you can find some 'ready made' coding?
    • *what website-maker do you use?* iWeb offers a template for videos.. many on one preview-page, 'click' creates a bigger version for playback ..
    .. as mentioned: less iMovie, more 'website creation' ..

  • AS2 to AS3 Streaming Video Player

    Ok so Im trying to convert a video play that i made in AS2 to
    AS3 (I had a problem with nested movie clips and the control bar
    and i want to learn AS3) and i am having troblem even connecting to
    my rtmp server. With the player i made in AS2 i was able to connect
    and stream video no problem. But with AS3 I am not even able to
    connect to the rtmp server. Here is the AS2 code and the AS3 code:
    AS3:
    var video:Video = new Video(853,480);
    addChild(video);
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp://[ip of server]/sumone4life/videos");
    var ns:NetStream = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS,
    onStatusEvent);
    function onStatusEvent(stat:Object):void
    trace(stat.info.code);
    var meta:Object = new Object();
    meta.onMetaData = function(meta:Object)
    trace(meta.duration);
    video.attachNetStream(ns);
    ns.play("AdobeBand_640");
    And I get the error:
    ArgumentError: Error #2126: NetConnection object must be
    connected.
    at flash.net::NetStream/construct()
    at flash.net::NetStream()
    at videoPlayer_fla::MainTimeline/frame1()
    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
    flash.net.NetConnection was unable to invoke callback onBWDone.
    error=ReferenceError: Error #1069: Property onBWDone not found on
    flash.net.NetConnection and there is no default value.
    at videoPlayer_fla::MainTimeline/frame1()
    Flash media server 3 Administrative Panel also shows that I
    am infact connected to the server but there is nothing being
    streamed from the server.
    AS2 Works:
    //Video Loading Controls
    var fileName:String = "AdobeBand_640";
    var nc:NetConnection = new NetConnection();
    var ns:NetStream;
    nc.onStatus = function(info){
    trace(info.code);
    if(info.code == "NetConnection.Connect.Success"){
    playVideo();
    function playVideo(){
    ns = new NetStream(nc);
    ns.onMetaData = onMetaDataHandler;
    videoObject.attachVideo(ns);
    _root.createEmptyMovieClip("vSound",
    _root.getNextHighestDepth());
    vSound.attachAudio(ns);
    ns.setBufferTime(5);
    ns.onStatus = function(info){
    trace(info.code);
    if(info.code == "NetStream.Buffer.Full"){
    bufferClip._visible = false;
    if(info.code == "NetStream.Buffer.Empty"){
    bufferClip._visible = true;
    if(info.code == "NetStream.Play.Stop"){
    ns.seek(0);
    ns.play(filename);
    //connects the stream
    nc.connect("rtmp://[ip of server]/sumone4life/videos");
    Can anyone offer any insite as to why it would be workin in
    AS2 and not in AS3? Or what i am doing wrong...

    I have a similar problem. Did you get your to work?

  • What do I do to make Quick Time the streaming video player?

    I want Quicktime to be the streeaming video player, but Windowz Media Player keeps taking over.
    What do I do to correct this?
    Thanks,
    KeyW

    Sorry but the confusion will just get deeper.
    The Web page authors actually have control of what browser plug-in is used. If they write code for Real Player that is what you'll need to use. The same for QuickTime formats even though Real Player can handle most of them.
    You can can set the "MIME Types" for the QuickTime browser plug-in and that could release more file formats.
    QuickTime Control Panel / Advanced tab MIME Settings button.
    Maybe if you posted a few URL's that are giving you trouble we could help with solutions or answers.

  • Creating a streaming media player to play .WMV

    I am new to JMF and indeed Java itself. I've been going over the documentation for JMF and am a bit confused. Can some one please let me know if it is possible to stream Windows Media Videos using a JMF based player (I guess either by extending JMF through a plugin or otherwise)?
    Your assistance is very much appreciated,.
    Thanks
    dare001

    In my opinion, it's very hard... because, you will not find through web a plugin... (I think)..
    I have one example : Me, I try to decode mpeg2 ts incoming stream and to play it... JMF does not support mpeg2 ts in theory (I think I am not wrong !).
    I have downloaded codec/plugin so as to be able to decode it... but, I have not succeeded in programming it... But, maybe, my program is wrong, or my codec is not good...
    So, I just would like to say that : to extend jmf is not very easy and you have no guarantee by advance that it will be ok.

  • Leopard and ABC streaming video player incompatibility?

    Since installing Leopard (clean install) on an iMac G5, the quality of video streaming from ABC has deteriorated -- it is now stops and stalls. Does anyone know if there is some incompatibility between Leopard and the ABC episode player? Or are there some settings I can change to fix this problem.
    This is not Internet congestion as I have tried it at all times of the day, and also the ABC episode player works well in Tiger (running on my other G5).

    I've had decent luck with MLB.TV with the following work around. I just remove the Windows Media Plug-in from the /Library/Internet Plug-Ins. Then when you try to watch (or listen to) a game, you get a message saying that Safari isn't supported, but you do get the option to "Proceed". After hitting "Proceed" the page starts to load and then you get the message saying something along the lines of "Safari can't display the content, would you like Windows Media Player to try. Click OK and the stand-alone Windows Media Player should open the stream. And from the app, you can resize the window. A bit clunky, and it probably won't allow for the soon to be released Multi-game Mosaic option, but it works - even on a 3 year old iMac
    iMac    

  • Bandwidth Detection

    Hey,
    Well, I created a flv video player whose call videos (with a
    variable) et play.
    But I would want detect before the visitor bandwith, stock
    the bandwith in a cookie and play a video whose depend on the
    bandwith (hight or low resolution).
    Please help me !
    --> I work with Flash Mx Proffesionnel 7
    Bonjour,
    alors voilà, j'ai créer un petit lecteur de
    vidéo flv qui appelle des vidéos (grâce à une
    variable) et les diffuse. Jusque là pas de problème. Mais
    j'aimerais effectuer en amont de la lecture un test de bande
    passante. Ce qui me permettrais d'envoyer une video en haute ou
    basse résolution selon le débit de l'utilisateur.
    Et c'est là que ça coince ! Comment puis-je faire
    pour tester la bande passante, concerver le résultat
    (peut-être dans un cookie) et afficher l'une ou l'autre des
    videos en conséquence du résulat ???
    Voilà si vous avez une solution je suis preneuse...
    juste un petit détail : je suis pas une fan de l'action script
    alors please ce qui vous parraît évident ne l'ai pas pour
    moi Merci !
    --> je travail sur Flash Mx Proffesionnel 7

    http://www.sonify.org/home/feature/remixology/019_bandwidthdetection/
    Hope that helps. . . .

  • Viewing Streaming video on E61I

    Hi,
    Recently got the E61i device, and have an unlimited data plan, but I am unable to connect to any streaming videos on youtube or any other site. It says cannot connect to server, I checked with the CARRIER and there is no restriction from their end, so do I need to turn some settings on or something from my end to watch and stream videos ? Thanks for the help,

    Which web sites with video streams are you trying to connect to (besides YouTube), and what video file and streaming formats do they use?
    YouTube uses Flash Video, which the Flash Lite player and browser in the E61i does not support. Mobitubia or emTube are applications that might help in that respect.
    See this table for the audio and video formats supported by the E61i:
    http://www.forum.nokia.com/main/resources/technologies/audiovideo/av_features/FN_vid_table.html

  • Dynamic FLV/MPG - Video Player

    Hi guys,
    Thanks in advance.
    I am trying to create an online video player of short
    videoclips.
    I have an array, which has around 10+ FLV and a few MPG
    videoclips.
    The requirement-
    - Dynamically load and display these movieclips - one after
    the other.
    - After the current movie has finished playing, the next
    movie, should
    automatically start.
    - After the last movie ends, it should loopback and start
    from the first
    clip.
    Kindly help.
    Thanx again.

    You will need some server side script to be the mediator
    between your database and the SWF. Use the FLVPlayback components'
    source method to play the FLV files you want.

  • E2500 - Not connecting to the video player.

    Got it home and tried to connect it to my streaming video player in the next room and it would not connect at all. I took it back and bought a different brand and it connected immediately and stayed connected for 6 hours of streaming video with zero drop outs. It stays connected and my streaming video player does not have to search for the router each time I want to use it.
    What's great about it: nothing
    What's not so great: poor connection
    This product has...
    Unreliable connection
    Dual band
    Short range
    slow connection
    About me...
    Heavy media streamer
    Technology guru
    No, I would not recommend this to a friend.
    I use it in...:Small home

    There might be some settings required in the router so that it gets the proper solution. If you are facing the concern of getting lag, dropped connections then you can try the following steps:
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
    1] Open the software and go to the option which says "Router Settings"
    2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
    3] Then go to the Wireless tab, keep network mode as mixed,
    For Channel Settings of 2.4 GHz you can make Channel Width to 20 MHz only and Channel to 6, 9, 11..
    For Channel Settings of 5 GHz you can make Channel Width to 20 MHz only and Channel to 40 or 161...
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the username field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
    Secondly avoid using any other wireless devices like cordless phones, microwave oven etc nearer to the router. Update the drivers for the wireless card of the wireless computer. Then check the wireless connection status.

  • YouTube dynamic loading video player

    Hi!
    I'm new to flash but have some experience with flash and need to create a dynamic video player that will play YouTube videos in a random order.  I was wondering what would be the best way to accomplish this?  Do any of you have any suggestions or could point me to a tutorial that would help me figure this out?
    Thanks in advance!

    Hello,
    Here are the Vidoes of Problem with HTC Rezound.
    1) 4G LTE signal is excellent, 2)the phone is out of box so no issue of any cache, 3)Update the firmware and Youtube app from market.
    Still the same problem
    Before Update, Out of box
    http://www.youtube.com/watch?v=OuURZ7Avd0s
    After Updating firmware and Youtube apps
    http://www.youtube.com/watch?v=lhf56Y5jioQ
    Compare with Galaxy Nexus,
    http://www.youtube.com/watch?v=mMjOecLLiBE

  • Unable to stream videos on macbook pro

        im unable to stream videos on macbook pro. need help

    I was unable stream videos from youtube and unable to play music from pandora. I was dowloading the incorrect flashplayer. I found flashplayer for mac and it worked. Thank you for your response :)

  • Detecting the optimal upload bandwidth of cam video stream (Dynamic Bandwidth Detection Approach)

    Hello folks,
    i am discovering the wide world of adobe technologies and i am impressed how seamless all is working.
    Anyway i have a tricky problem, at least it seems tricky to me. Here we go: i build up a client (camera+audio conferencing) streaming its camera right to my server (red5). Every client can see the camera streams of each connected particpant. So far so good all is working as expected, we can call this a conferencing solution. Now i would like to improve that by implementing some kind of automatic bandwidth detection in order to adjust the video resolution depending on the current bandwidth "situation" of every participant. Some might have stronger upload bandwidth, some might have a bad or even too low upload bandwidth to even up-stream their video. My client should be able to handle them individually. Those clients who have a good upload bandwidth should be able to up-stream their video in the most high resolution as possible regarding their bandwidth. For those clients having a bad upload connection i assume to reduce their video resolution automatically. The aim behind this automatic bandwidth detection should be to give the most priority to the audio streaming by taking care to not overhelming the bandwidth with heavy camera usage.
    I know there is upload speed tests (onBWCheck, etc), but i assume this test is annoying for the participants as well as they are not reflecting dynamic changes.
    So lets say i start with a default camera resolution of 640 x 480 px for every client. What i need to know is in general two informtion in order to judge about the current bandwidth is enough for the currently up-streamed camera video:
    1) the actual bandwidth used for the up-streaming camera video (based on specific resolution, quality and fps) which is of course dynamicly changing
    2) the max. needed bandwidth which is necessary to perfectly up-stream the camera video regarding the specific resolution, quality and fps of the camera settings
    So here is my current solutions:
    1) the actual bandwidth: every second the currentBytesPerSecond() method of the NetStreamInfo object is of my uploading stream is called to get the currently used bandwidth speed (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo .html#currentBytesPerSecond). The documentation says about the currentBytesPerSecond() method: Specifies the rate at which the NetStream buffer is filled in bytes per second. I understood from that phrase that literally this is the amount of bytes filled into the network depending on the current network situation. I tested this by using bandwidth limitation and in fact the currentBytesPerSecond() returns the dynamicly changed amount of bytes sent through the network. So thats pretty OK.
    2) the max. needed bandwidth: here i struggle. I have three principal ideas to know how much bytes/second are max. needed to up-stream the camera video to the server in a proper way:
    * either by experience, which means i manually make several tests to know the max. bytes/second needed for every possible specific resolution, quality, fps (i discovered that different cameras can even produce different results with the same camera settings!)
    * calculate the needed bytes/second (actually i use the H246 codec)
    * or finally the most crazy but maybe most proper solution: beside the up-stream to the server the client streams additionally to the same client application over the localhost network. I find this last attempt the most interesting because it gives very practicaly accurate result how much bytes must be send because almost the bandwidth of the network through the internet isnt used either. The client sends a stream to himself over the internal network IP (localhost, 127.0.0.1). To achieve this i tried to let the NetConnection being connected to localhost and null and publish the video. But the stream didnt worked. Here is my code:
              private function init():void {
                    nc = new NetConnection();
                    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    nc.connect(null);
                    ns = new NetStream(nc);
                    ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    ns.client = {};
                    var camera:Camera = Camera.getCamera();
                    if (camera) {
                        videoDisplay.attachCamera(camera);
                    } else {
                        Alert.show("You don't seem to have a camera.");
                    ns.attachCamera(camera);
                    ns.publish("streamname");
                    mainTimer.addEventListener (TimerEvent.TIMER, onMainTimerTickHandler);
                    mainTimer.start();
                private function onMainTimerTickHandler (evt:TimerEvent): void
                    info.text += Number(ns.info.currentBytesPerSecond / 1000).toFixed(2) + " kBytes (OUT)\n";
                private function netStatusHandler(event:NetStatusEvent):void {
                    info.text += event.info.code+"\n";
    The result is a connection success, but the stream didnt send any data due to the fact that ns.info.currentBytesPerSecond returns 0. Also strange is that the NetSteam or NetConnection didn't return any error.
    So folks here i struggle and i ask does anyone out there have any hints or ideas how to solve this tricky one?
    Thanks in advance,
    Markus

    Thanks,I have read that article.  Based on that article the NetStreamInfo.maxBytesPerSecond is not an accurate measurement to base dynamic switching on. This seems to be the basis of the bitrate switching in both the longtail player, and the adobe examples that I have tried.   That article suggests using the dropped frames property, in conjunciton with bufferlength to determine if switching is neccessary.  Unfortunately I can't seem to find a player online which handles this successfully.  That being said, I can't believe I'm the only person trying to implement dynamic bitrate switching for live streams so surely there are some players out there which can do this successfully?  If anyone knows of any code available which does this successfully I would appreciate knowing where!  The examples provided by Adobe https://www.adobe.com/cfusion/entitlement/index.cfm?e=fms35 unfortunately don't work either.

  • Creating a custom player for live streaming video

    I have live streaming video set up where I use the Flash Media Encoder to send the live stream to a Flash Media Server. Then, the Flash Media server packages this stream, and sends it to whatever websites requests it via the url. I know how to create a Flash move or even asc file, and then have Flash generate the html for that saved movie so that I can embed it in a web page and play it. But in the case of live streaming video, there is no pre made asc file or movie to reference. So I need some help about what I need to do to play live streaming video in a flash player embedded in a webpage, that will also have some custom action script for controlling playback and other things.

    About a half-hour after making the changes I outlined above, and long after I closed the active Safari window, noticed that my MBP was uncharacteristically hot. Extremely hot!
    Opened Activity Monitor and saw that Flash Player was still running (?) and using a tremendous amount of system resources. I then quit Safari altogether. Within moments, the heat began to subside.
    May be something you want to keep an eye on...

Maybe you are looking for

  • Multiple users with different Ipods on same computer

    My household has one general computer that is used by myself and my two teenage daughters. We don't use separate logins because it is used mostly to just go online, check our email, and use Itunes along with updating our Ipods. This works fine for us

  • Premiere Pro CS5.5 Won't Open - Mac

    At first I had problems with AE not opening (hanging at "Initializing Media Core") and the dynamic link to some of the composiitons in my PP project, so I called support. I spent an hour and a half with a lady controlling my computer, and my AE probl

  • Can't Download Photoshop CS6

    My cloud says I have photoshop but it is not on my computer! I clicked download & it says it downloaded & updated but there isn't any file on my computer to open or install.

  • Button on selection screen to link with PDF

    Hello, I have a customer request to provide documentation for each transaction on its selection screen. So they want to have a button on selection screen which should download PDF file stored on SAP application server. Is this possible (they said it

  • Search help proble m for date

    Hi All, Am using 4 screen fields which are of DATS type ,but am unable to attach F4 help. i have tried several posibilities like declaring the fields like sy-datum and many more,but nothing is working out. pls help me out. regards -john