How to play a FLV from a ByteArray to a Video object

Hi,
I wrote an application that loads a FLV into a ByteArray object at runtime. Now I want to play this FLV into a Video object. The problem I have is that the Video object won't accept anything else than a NetStream (or a Camera) as its source, and I can't find a way to set an in-memory FLV as a NetStream's source for playing. Adobe's Doc offers no help on the matter: does someone know how to proceed?
Thanks,
Simon

Hi,
As such there is no known method to do this. There is an open feature request in the Adobe bug tracking system for this
http://bugs.adobe.com/jira/browse/FP-5
With RTFMP (Real Time Flash Messaging Protocol) you can send data between flash applications via NetStream in a P2P mode. You could send your FLV binary data to another Flash Appilcation which actually decodes and renders it. Flip side would be that
- you will require FMS on the sever side that sets up the P2P connection
- RTFMP advices against sending large amounts of data via this approach as it is typically used in communication applications like chat, games etc
cheers
Sunil M

Similar Messages

  • How to play a FLV file located in a second FMS?

    How to play a FLV file located in a second FMS not directly accessible by the flash client?
    - I am publishing an audio stream from the flash client to a FMS;
    - This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
    How can I play in the client the FLV audio file that I recorded in the second FMS?
    - The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
    thanks in advance
    fabio

    Answer in http://www.flashcomguru.com/forum/forum_posts.asp?TID=4276&PN=1&TPN=1

  • How to play multiple CDs from Music list

    This may sound really dumb, but I can't figure out how to play multiple albums in the latest iTunes.  I have to drag them over to a Playlist then check all the individual songs.  Is there a way to gang up multiple albums and get them onto Up Next by just selecting from Music?  Sometimes only the first song will play when I double click an album.  This would be similar to playing three CDs from your home stereo, for instance.  Can this simple task be performed from ITunes, please??

    Basically right click the artits in that left column and select Add to Up Next.
    You can also select individual albums by right clicking the album cover a little to the right and choosing the same option.

  • How to play itunes music from external hard drive

    How do I either play continuous music from my external hard drive, or make itunes recognize my external hard drive as the library.

    Hi Jim
    I've recently upgraded to a macbook Pro and I copied all data, profiles etc across from my old macbook. I have also created a second account in my mackbook Pro. I am able to play my iTunes music from the external HD in the 'old' account, but not in the 'new' account, despite trying what you've said above. On the external HD, there are two folders: iTunes music and iTunes media. I have tried selecting each of these, but both times, I get this message: "An iTunes library file could not be found in the folder "iTunes Media". Please choose a different folder." ... Please can you help?
    Many thanks in advance!

  • How do I uninstall FLV from my Mac

    How do I unstall FLV toolbar from my Mac.  I use safari to open the internet.  Thank you

    This is an obscure issue, but has occurred in Macs where the software of questionable worth is installed and sets up shop. I see this ASC discussion about FLV with reference to a youtube video; it may or may not be helpful. The link inside the thread also has information at Thomas Reeds Malware Guide online.
    uninstall FLV toolbar and antivirus software:
    https://discussions.apple.com/thread/4478417
    If the FLV is installed, perhaps the item itself or their web site may offer an uninstaller, since this kind of thing tends to bury itself where simple parts removal may not get all of it; as part of a modification to the OS X. Never a good thing, and antivirus of this kind is not needed for a Mac in OS X.
    Good luck & happy computing!

  • How to play backwards flv imported in timeline on flash cs3?

    Hi guys,
    I want to play backwards imported flv in the timeline of flash cs3 from a current frame. How can I do this?
    Thanks in advance!

    Yes, thank you!
    I play it in reverse
    I have made some corrections in the code, I saw the spaces you mentioned, but it was starting to play from the end of the flv. So I have diceded to make it start from the point I like, putting this in the code totalFrames-38 (38 - is the number of frames from the end to the point i liked it to play), also I make tl.visible = true; because it was set on false and it wasn't visible.
    This is the code I used:
    var tl:MovieClip = this;
    tl.visible = true;
    tl.stop();
    tl.addEventListener(Event.ENTER_FRAME,preloadF);
    function preloadF(e:Event){
         if(tl.loaderInfo.bytesLoaded == tl.loaderInfo.bytesTotal){
              tl.removeEventListener(Event.ENTER_FRAME,preloadF);
              tl.gotoAndStop(tl.totalFrames-38);
            tl.addEventListener(Event.ENTER_FRAME,playReverseF);
    function playReverseF(e:Event){
         tl.prevFrame();
    Thank you, again!

  • How to play .wav file from URL in web browser embed

    Hi;
    I want to play a .wav sound file in embed default media player in IE. Sound file is on some HTTP location. I am unable to sound it in that player.
    Following is the code.
    URL url = new URL("http://www.concidel.com/upload/myfile.wav");
            URLConnection urlc = url.openConnection();
            InputStream is = (InputStream)urlc.getInputStream();
             fileBytes = new byte[is.available()];
             while (is.read(fileBytes,0,fileBytes.length)!=-1){}
    BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
             out.write(fileBytes);Here is embed code of HTML.
    <embed src="CallStatesTreeAction.do?ivrCallId=${requestScope.vo.callId}&agentId=${requestScope.vo.agentId}" type="application/x-mplayer2" autostart="0" playcount="1" style="width: 40%; height: 45" />1. If I write in FileOutputStream then it plays well
    2. If I replace my code of getting file from URL to my local hard disk. then it also works fine.
    I don't know why I am unable to play file from HTTP. And why it plays well from local hard disk.
    Please help.

    You'll have to ask the devleopers of sencha and phonegap.

  • How to play flac files from a Maxtor external hard drive

    Trying to use an old mac mini PPC to play music from a Maxtor external hard drive. Files are flac format. Would like to move files to iTunes library individually or by album or ideally only when I want to play them. Am not that accustomed to using a Mac, just finding my way around...flac file conversion
    is possible for this old mac or do I need to download some freeware?

    If you want to convert your FLAC files (I would recommend to Apple Lossless format) then have a look at the free XLD software.
    See http://tmkk.pv.land.to/xld/index_e.html
    Apple Lossless format is the same exact quality as FLAC, roughly the same file size but works natively in iTunes and on Apple's iPod/iPhone/iPad devices. It can also be played in most Windows applications including Windows Media Player if you add the right plugins or codecs. Apple Lossless is a free open-source format now, just like FLAC.

  • How to play wave files from a jar archive?

    Dear friends,
    I have a .jar archive with several .wav files, and I would like to play them without extract these files.
    This is possible to do? If yes, please show me how to do this.
    Thank you for your attention,
    Augusto Nunes

    This discussion of getResource is very useful: http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource

  • How to play two presentations from the DMP one after another and looping

    Can anyone help me on this.I want to play two presenations one after another and looping from the DMP.

    Semuhtu,
    The easiest solution for looping two or more DMD presentations
    is to create a nested playlist within DMD.  You simply
    create a master presentation and add a playlist to this
    presentation.  Add the desired presentations to this playlist
    and then schedule or send the Action to the DMP(s) to play
    the Master Presentation.  The 2 or more child presentations will
    play and loop until you stop it manually.
    Summary of Tasks
    * Using DMD create Presentations (2 or more) that you would like
      to display on the DMP-Display(s).
    * After the presentations are created, you will need to find out
      what the URL addresses are for each presentation. Using the
      "Actions" drop down on the DMM-DMP Manager screen, you select
      a DMP and send the Presentation to the DMP.  Once the DMP displays
      the presentation, access the DMP-DM Web admin page and copy the URL
      address in the "Startup URLs-->Browser" field.   Repeat this process
      for each DMD presentation that you want to loop.
      For example:
      http://dmm.company.com:8080/xTAS-core/appgen/clad/clad_95_.htm
      http://dmm.company.com:8080/xTAS-core/appgen/clad/clad_96_.htm
      and so on...
    * Another parameter or variable that you will need to find out is
      the duration of your DMD presentation(s).  Some Presentations may be
      a slideshow of images and some may contain videos.  Your will need to
      play each presentation on the DMP to determine the duration length of
      each presentation that you will add to the looped playlist. 
    * Create a Master presentation using DMD. In this presentation, you will
      create add a "Playlist" to the presentation by selecting the Playlist
      button-drop down.  Select "All Media Types" and a Playlist object will
      be added to the Master presentation.
      - Double-click on the object to add content
      - Select "Add URL" button in the Playlist Content window.
      - Fill in the required fields (URL Title & Link) in the "Add URL"
        window.  Repeat the process for each presentation that you want
        to add.
      - Set the Duration for each item in the Playlist. Select the Item
        in the list and then DOUBLE-CLICK on the "Planned Duration"
        field and edit the time to desired duration.  Repeat process for
        each item.
      - Save Master Presentation
    * Schedule or use the  "Actions" drop down on the DMM-DMP Manager screen
      send the Master Presentation to the DMP(s).  The Playlist will play and
      Loop after the last item in the Master Playlist.
    If this answers your question, Please take time to mark this
    discussion answered & rate the response.
    Thank You!
    T.

  • How to play audio recordings from Mac Word Notebook on a PC?? HELP!

    I recorded some conversations using Word for Mac Notebook template, that I want to send out to people who have PCs. When I save audio separately (Tools, audio, export audio) it creates an .mp4 format for the audio. The PCs don't recognize this! In Quicktime, Windows Media, etc. you always get error messages. How can you play an mp4 on a PC? Please help!!!

    user7029801 wrote:
    player.setMediaTime(new Time(15*60));
    player.start();Nothing jumps out as being wrong about the way you're doing this...
    Time has two constructors, one for seconds that takes in a double, and one for nanoseconds that takes in a long. I believe that "15*60" would be interpreted as a long, and thus you're setting the media time to 900 nanoseconds...which would be the beginning.
    You could fix the problem one of two ways:
    Cast to a double
    new Time((double)(15*60)));Or use the constants provided...
    new Time(15*60*Time.ONE_SECOND);

  • How to play you tube from mac to apple tv

    How do you stream you tube videos from a mac to apple Tv2 connected to a HDTV?  Can't find the apple TV icon on the mac like it is on my ipad.

    Thanks!!

  • How to play with javascripts from command line?

    This is a problem that I always have no clue how to deal with.
    To begin with, take a look at this page: http://jsharer.com/file/1345737.htm
    If you click on "[TUTHE@ManYv][D`z][FLCL][05][H264_Vorbis][E4273181].mkv", after a little while a little window pops up and if you right click on the "点击此处开始下载", you can copy the direct download link.
    I previously used a simple bash script using curl to parse direct download links from this site. I like to do it at command line. It was easy because the link used to be directly shown in the page source code (though I had to call curl twice for it, it was fine.)
    But now I can't. It's all javascript. I ain't got no idea how to deal with this kind of stuff. I made my attempt to look at the page source, all I can tell is that the <div id="download_block"> part and the <div id="lord_content"> line seems to be important.
    I want to use my old good command line instead of click click click!
    Can somebody help me with this? Or please just give me some hints. It'd be fully appreciated. Thanks!

    If you know python, the package community/python-mechanize lets you automate a lot of this kind of thing. You can tell it to go to url so-and-so, simulate a click on the third link matching regexp such-and-such, preserving cookies the original page gave you, and so on.
    Has made most of my webpage scraping a hell of lot easier.
    EDIT: but I don't know whether it processes embedded Javascript, perhaps not.
    Last edited by Profjim (2009-09-03 11:22:37)

  • How to play .wav file from url in iphone.

    We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
    Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
    When we put this audio file in our server and tried to play it our Application, it worked perfectly.
    Can you please tell us what is the reason behind this?
    We are using iPhone 3 with software version 6.0 for testing.

    You'll have to ask the devleopers of sencha and phonegap.

  • How do I overlay audio from interview clip over other video clips?

    Help! I have some interview clips and want to over lay the audio from one of the interviews over different video clips. For example, I would show video and audio from the interviewee and then cut to a clip or scene showing what the guy is talking about but still have the interviewees audio playing as a voice over on the cut-away clip. How do I do that?!

    Welcome to the forum.
    Is this Audio muxed (combined into a Clip w/ both Audio & Video), or is it a separate Audio-only file, that has been Imported into your Project?
    If the latter, just drag an Instance of it to a free Audio Track, and position, as is needed. Note: each Instance of a Clip can have different In & Out Poiints, so you are not limited to them being identical.
    For the former, the muxed file, there are a couple of ways to do that, but possibily the easiest is to Alt-click on the Audio part of the Clip (temporarily unlinks the Audio & Video), and Ctrl-C (Copy), then move the CTI (Current Time Indicator/Playhead) to the end of the Timeline, and press Ctrl-V (Paste), for as many Instances of that Audio, as you need. Then, drag them to an empty Audio Track, while holding down the Ctrl key for an Insert Edit, rather than a Ripple Edit, so as to not affect anything on that Track, below the desired Video Clip. If you are replacing the Audio.
    Another way to do that is to use an audio-editing program to rip the Audio, Save as a PCM/WAV @ 48KHz 16-bit file, and then Import that into the Project, for use in many Instances.
    Good luck, and hope that helps,
    Hunt

Maybe you are looking for

  • Load Triggers/Data Services

    Hello All, I have an ETL job in DI where the "delete data from table before loading" option is enabled in the target table. This is a mostly static table and so the job has been created like this for simplicity. However I am in need of maintaining 2

  • Template not updating pages properly

    I have several pages, all started from the same template.  The path to an image in the template is   <img src="../index.php" width="140" height="200" alt="Balgonie Baptist Church Logo">  but on the pages that are updated from this template they are: 

  • Create a program that can be monitored by JCmon

    Hi, I'd like to use JCmon to monitor (start-stop) a program of mine. May anyone tell me what is needed? (implement interfaces, create configuration files...) Regards Yann

  • Purchased product and subscription not showing

    Hi Yesterday I paid for a one month webbasics+. An invoice was then sent to my inbox. Site Subscription for: rpmglocom.businesscatalust.com (429987) Product Description Unit Price Tax Quantity Total Subscription - webBasics+ - DUS_CMS_M 28-May-2012 t

  • Leading zeros are removed when uploading excel

    Hi All, I have created a program to send an email with an excel attachment but the leading zero's in excel are removed. can anybody suggest what can be done other than replace since that exceeds 255chars so i cant concatenate.