Tricky FLV Video File I/O thing

Hi
Lets say we have an flv file broken into 4 files:
flvFile.part1, flvFile.part2, flvFile.part3, flvFile.part4
I don't want to assemble the 4 parts on the disk and then
read it, nor do I want to fit the assembled file in memory all at
once.
Is there a way to start reading the first and then the second
etc. while playing the video smoothly?
Please note that the flv is just broken in four parts so on
their own each part is not a complete flv file. Also, I don't mind
if this is done in AIR and not Flash Player so using FileStream
would be fine. So, I guess first step would be to start reading the
first part as a binary file. But then can you start playing that
stream or bitarray as a video?
Any ideas/pointers would be greatly appreciated!
Thanks

It will be a specific codec possible to play in Flash. The
only difference is that you ll impement a an encoding decoding
algorithm.
When you are decoding with Flash (this is surely possible
with AIR) you will get back a bitArray or stream of the proper flv
content after deciphering it. Which will be of type bitArray for
example. Can you play that? Since it has actual flv content in it.
I am sure I could make this work for a whole file but the
point is to stream it and not have to fit the whole thing in
memory.
I know about FMS and its great for streaming content but I am
interested in implementing an offline solution for downloaded
content.
Thanks

Similar Messages

  • How to load and display the external flv video files in dynamicly and the how to control the flv fil

    How to load and display the external flv video files in dynamicly using AS 3.0
    and  How to control the flv file  add the play paus button and add seekbar.
    I have using to load the flv file following code
    var flvPlaceHolder1:MovieClip = new MovieClip();
    var vid1:Video = new Video(734, 408);
    flvPlaceHolder1.addChild(vid1);
    addChild(flvPlaceHolder1);
    flvPlaceHolder1.x = 1059;
    flvPlaceHolder1.y = 152;
    var nc1:NetConnection = new NetConnection();
    nc1.connect(null);
    var ns1:NetStream = new NetStream(nc1);
    vid1.attachNetStream(ns1);
    var listener1:Object = new Object();
    listener1.onMetaData = function(evt:Object):void {};
    ns1.client = listener1;
    ns1.play("GV-1600 TURNING.flv");
    ns1.addEventListener(NetStatusEvent.NET_STATUS, statusChanged1);
    function statusChanged1(ns1:NetStatusEvent):void
             trace(ns1.info.code);
            if (ns1.info.code == 'NetStream.Buffer.Empty')
                 trace('the video has ended');
                 removeChild(flvPlaceHolder1);
                 //trace('removeChild');
                gotoAndPlay(1786);
    then how to add the play,paus ,full screen button    and   seekbar,volumebar.

    I have to Create the flash presentation for our company product
    In this presentation the left  side the text animation are displayed then right side the our product video is displayed.
    In this presentation i need the following option :
    1, The first product video and animation is finished then the next product is played
    2, then the video displayed  (size width and height 400x300) , I click this video to increase the size(ex:1000x700)
    3, then the playing video i control  it play, stop, paus button and volume bar, seek bar.
    4, then this presentation is displayed on 42 inches LCD TV so this full presentation is run full screen.
    I have finished first two steps 1 and 2
    the following are the screen short and code:-
    code :-
    var count=0;
    var flvPlaceHolder2:MovieClip = new MovieClip();   
    var vid2:Video = new Video(734, 408);
    flvPlaceHolder2.addChild(vid2);
    addChild(flvPlaceHolder2);
    flvPlaceHolder2.x = 1059;
    flvPlaceHolder2.y = 152;
    var nc2:NetConnection = new NetConnection();
    nc2.connect(null);
    var ns2:NetStream = new NetStream(nc2);
    vid2.attachNetStream(ns2);
    var listener2:Object = new Object();
    listener2.onMetaData = function(evt:Object):void {};
    ns2.client = listener2;
    ns2.play("GS-4000.flv");
    this.addEventListener(Event.ENTER_FRAME, BtnFadeIn2);
    function BtnFadeIn2(event:Event):void
        if (this.currentFrame == 387)
            /*flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            trace('Screen size is changed');*/
            if(count==0)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
            count++;
    ns2.addEventListener(NetStatusEvent.NET_STATUS, statusChanged2);
    function statusChanged2(ns2:NetStatusEvent):void
        trace(ns2.info.code);
        if (ns2.info.code == 'NetStream.Buffer.Empty')
                trace('the video has ended');
                 removeChild(flvPlaceHolder2);
                 //trace('removeChild');
                gotoAndPlay(433);
    flvPlaceHolder2.buttonMode=true;
    flvPlaceHolder2.addEventListener(MouseEvent.CLICK,home2);
    function home2(e:MouseEvent):void
        if(vid2.width==734 && vid2.height==408)
            flvPlaceHolder2.x = 30;
            flvPlaceHolder2.y = 140;
            vid2.width=1800;
            vid2.height=800;
        else
            flvPlaceHolder2.x = 1059;
            flvPlaceHolder2.y = 152;
            vid2.width=734;
            vid2.height=408;

  • Please help my flv video file works perfectly localy...but its not visible in remote ftp why??

    hi All,
    Please help me. my flv video file works perfectly localy in
    my computer...but its not visible when i uploaded the flv html and
    flash files to ftp?
    thanks in advance

    This suggestion worked to see the hidden folder(s). Thanks very much, but I feel like I am miles away from moving my ipod music to my new computer and getting it all to work. Here is why...
    1. First when I plug the ipod in, in disk mode, to the USB slot it shows up as a K drive for a minute or so and then disappears. itunes keeps opening, asking me to sync (which will erase all my music on the ipod!) and the K drive (ipod) vanishes.
    2. I pod help says to drag the itunes file out to the desktop and then drag the itunes file on the ipod into the "my music" file within documents and settings. However, there is an "ipod control" file (was hidden) and within this there is the following: artwork, itunes (with 13 subfolders of its own), device, and music. So do I just drag the itunes file inside ipod control into My music? Or do I drag the whole ipod control file? or other?
    3. Additionally there are K drive (ipod) files for calendar, photos, contacts, notes, and ipod control (was hidden). I don't care about any content in the first four, but are they needed to operate? Do I drag these over also to the My music file?
    Whew, very frustrating. Thanks, Ric

  • Premiere sees .flv video file as only audio

    Hi, I'm on Premiere Pro CS 4.2.1.
    When I import this particular flv file into Premiere, it sees it as an audio file, rather than a video file. I assume I am missing a codec, or perhaps it was encoded with something that doesn't work with Premiere. However, I can open and play the file properly using Adobe Media Player, so the file itself is not broken.
    Here's what MediaInfo reveals about the file. Anything obvious here that would be causing the problem?
    General
    Complete name : C:\Documents and Settings\xxxx\Desktop\xxxxxxx\1280_test.flv
    Format : Flash Video
    File size : 301 MiB
    Duration : 15mn 14s
    Overall bit rate : 375 Kbps
    liveXML : 
    Video
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : [email protected]
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Codec ID : 7
    Duration : 15mn 14s
    Bit rate mode : Variable
    Bit rate : 319 Kbps
    Maximum bit rate : 16.4 Mbps
    Width : 1 280 pixels
    Height : 960 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Constant
    Frame rate : 14.985 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.017
    Stream size : 34.8 MiB (12%)
    Audio
    Format : MPEG Audio
    Format version : Version 2
    Format profile : Layer 3
    Codec ID : 2
    Codec ID/Hint : MP3
    Duration : 15mn 14s
    Bit rate mode : Constant
    Bit rate : 32.0 Kbps
    Channel(s) : 1 channel
    Sampling rate : 22.05 KHz
    Compression mode : Lossy
    Stream size : 3.49 MiB (1%)

    Ed,
    There can be one of several CODEC's inside of the FLV wrapper. Your PrPro CS 4.2.1 should natively handle some, though possibly not all. You might want to look at Moyea, as they offer several FLV editing/conversion solutions. Note: through PrPro CS 3, Moyea had a great plug-in, Premiere FLV Importer. Things changed with CS 4, and that plug-in no longer worked, but by about the second, or maybe the third update to CS 4, native support for some FLV CODEC's was incorporated into the program - but there are probably some missing from that native support. Still, Moyea might have just what you need. I have also used a freeware program, FLV to AVI, but did not need that, when I discovered the Premiere FLV Importer plug-in, up through PrPro CS 3.
    Good luck,
    Hunt

  • Flash FLV Video File

    I have a Flash Video on one of my pages. Also on the page is
    a menu selection to hide/show some layers. One fo the layers has
    the Flash FLV video and plays ok when the page is loaded. But if
    you select another menu item I want to stop the video from playing.
    I used the Shockwave/Flash object to stop it but that does not
    work.
    Here is the link to the site with the video file...
    http://technofirstamerica.com/technologies/cabNoise.html
    Can anyone point to a KB or an example?
    Thanks

    Try this component:
    http://perian.org/
    It will allow flv's to play in Quicktime.

  • "Unsorted cuePoint" in flv video file

    I hava an application which heavily uses cuepoints for al kinds of navigation and event purposes. To properly handle the cuepoints I use some sorting etc. of the cuepoints when the onMetaData fires. The video is played as a NetStream from a WOWZA rtmp server. In the production it will probably run from FMS.
    Today I recieved the final flv from the client which contains about 300 cuepoints of type navigation and event. The file is generated in AE CS4. With this specific file the onMetaData event does not fire at all anymore (or it generates error below), the onCuepoint event does fire as expected.
    Testing with playback trhough the flvplayback component generates the folowing error:
    1002: Illegal cue point: Unsorted cuePoint found after time: 93.16
    There are two cuepoints set at that point in the video (never thought that was possible...).
    Questions:
    Could the 'duplicate' cuepoint be the reason onMetaData does not fire?
    Does anyone know of a, preferably cross platform, tool that just inserts cuepoints into an FLV instead of rendering the whole thing again? (I don't think FLVmetainjector does)
    Thanks in advance.
    Manno

    [small update]
    The onMetaData event not triggering appears to be a (now) known issue in WOWZA. Appearantly something with the onXMPData gets in the way, but that's an assumption on my account .
    The Unsorted cuepoint seems to be fixed by repositioning the cuepoints

  • How can I loop an *.flv video file in DWC5.5?

    I'm trying to figure out the best way to have a video automatically play (and loop) when the page loads.   Currently with the following code, the video loads (after considerable time), but never loops.   (see http://blackhawktms.com)
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="880" height="250" id="FLVPlayer">
           <param name="movie" value="FLVPlayer_Progressive.swf" />
           <param name="quality" value="high" />
           <param name="wmode" value="opaque" />
           <param name="scale" value="noscale" />
           <param name="salign" value="lt" />
           <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=media/neuron&a mp;autoPlay=true&amp;autoRewind=true" />
           <param name="swfversion" value="8,0,0,0" />
           <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
           <param name="expressinstall" value="Scripts/expressInstall.swf" />
           <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
           <!--[if !IE]>-->
           <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="880" height="250">
             <!--<![endif]-->
             <param name="quality" value="high" />
             <param name="wmode" value="opaque" />
             <param name="scale" value="noscale" />
             <param name="salign" value="lt" />
             <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=media/neuron&a mp;autoPlay=true&amp;autoRewind=true" />
             <param name="swfversion" value="8,0,0,0" />
             <param name="expressinstall" value="Scripts/expressInstall.swf" />
             <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
             <div>
               <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
               <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
             </div>
             <!--[if !IE]>-->
           </object>
           <!--<![endif]-->
         </object>
    Can you point me in the right direction?   I'm new to Dreamweaver and website designing, so please be gentle.    Thanking you in advance.

    A couple things...
    Generally speaking an "autoplay" video will cost you visitors, especially one that takes a long time to load then just "kicks in".
    Flash video is definitely not the best route online since iPads, iPhones, Android and others are not capable of running flash of any variety.
    I stopped using Flash a while back in favor of HTML5 video, but IIRC, to loop a flash file you can add a loop parameter like...
    <param name="loop" value="true">

  • Correct size for swf/FLV video files in Presenter 7?

    HI,
    I'm trying to use Presenter with some screen capture and
    other video an I cant seem to get the video to show up at the
    correct size. If the video is scaled for screen capture it looks
    really bad. I can build new resources or export to any type or
    video/swf or FLV but I don't seem to be able to control how to get
    this to work once in comes into presenter. Real video is OK as that
    scales well.

    Personally, I record in Camtasia at 800x600, then have it
    resize to 640x480. When I import that file into PowerPoint, it has
    a huge white border around it, and I have to resize the video until
    there's no white border left.
    It's still quite large on the screen, and the fact that
    PowerPoint / Presenter seem to resample/rescale the video seems to
    lower the quality some, which is why I often use heavy zoom effects
    within Camtasia.
    I've tried using Captivate for creating the videos, but
    honestly, it's faster and provides a better end result if I'm using
    Camtasia. What software are you using?

  • I am experiencing choppy playback with converted .flv video file?

    I have just reinstalled a fresh copy of Windows XP Pro and then installed CS4. I have updated the suite and tried converting my first .avi file. I was told in a previous post that I should not use K-lite Codec pack with Pr Pro, so I tried using the Adobe Media Encoder included in the CS4 package. It took the media encoder a better part of an hour to covert Beerfest from an .avi file to a .flv file. I was hoping this would allow for a better quality playback, Unfortunately it did not work. During playback with no edits or cuts of any kind, I still experience huge sync problems with the audio and the video. I heard there is a way to use you GPU to accelerate the speed of Pr. Can someone please help me configure my system if that is possible?
    Should I use a third party encoder or codec? IF so which one? Is there a general setup guide or tutorial that I can review so I can make sure all my settings are correct, for playing and editing .avi files?  Once I import an .avi file into a sequence, is there something more I should do before I begin to edit and playback?
    If anyone could help me get started I would be very appreciative.
    My System
    AMD Anthlon 64 X2
    6400 3.2 GHZ (OverClocked to 3.42Ghz)
    8GB G-skill SDRAM (3.25GB recognized by XP Pro)c
    Nividia 8800GT Video Card
    OS Windows XP Pro SP3

    I was told in a previous post that I should not use K-lite Codec pack with Pr Pro
    This was good advice. K-Lite, though one of the more benign CODEC "packs," has still caused many users all sorts of grief.
    Along with the answer to Jeff's question, please let us know the complete specs. on your Export. It could be something simple there.
    Good luck,
    Hunt

  • How do I convert FLV video files to Mpeg (or any other video format?)

    I have about 60 flv files I need to convert to mpeg and am using MPEGSTREAMCLIP 1.9.1 but every file loses all audio. Ive tried converting to every format MPEGSTREAMCLIP can do and all lose all audio. Anybody have any idea why this is or is there some other free file converter I should use for flvs?
    Ive also tried VISUALHUB but for some reason these flv's are not compatible with it.
    Thanx in advance!

    "Ive also tried VISUALHUB but for some reason these flv's are not compatible with it."
    Now that is strange. Are you using v1.34.1? I converted a few flv files a few weeks ago without any issue.
    Video Monkey utility took over from where VH left off. Try it. It's free & claims to be just like VH including +"ease of use."+

  • Will I need any codec to import a FLV video file in PPro CS4?

    Will it import the FLV natively?  thanks..

    In most cases, it should work fine, without the need for any additional codecs. I've successfully imported FLVs containing both Sorenson Spark and On2 VP6-encoded video, and MP4/F4Vs containing H.264-encoded video. I've had no issues doing basic editing on these sources and exporting them to a new destination, with the obvious caveat that you're (usually) dealing with highly-compressed video, and the quality will drop in varying degrees.

  • FLV video file  

    Hi,
    If I import a FLV file (a short avi) into a FLA and then
    publish the file as .exe, the flv file doesn't work. If I publish a
    swf file, the flv works good.
    Any idea about this?
    Any help will appreciated.
    Regards
    Alessio

    you need to upload the skinname.swf to your server.  if you check the folder where you publish your swf you'll also see something like SkinOverAll.swf or some such.

  • Flv video file extension codec

    Where can i find flv. Extension codec for blackberry z10 official video player to run/play it... if it doesnt have yet.. i wanna request for it.. thanks

    you need to upload the skinname.swf to your server.  if you check the folder where you publish your swf you'll also see something like SkinOverAll.swf or some such.

  • Flv videos not playing on html files - UNC/Mapped Drives

    Hi,
    We've discovered an issue with Dreamweaver CS3 recently (running on Windows 7 Pro, 32bit) in our school, where embedded flv video files wont run when the file's UNC path appears in the address bar, but will if this is changed to the local drive letter, in our case N. This obviously makes it a little difficult for teachers to mark students' work.
    I found a similar issue in another thread:
    http://forums.adobe.com/thread/688483
    which had not been answered. Are there any known solutions for this please? I have spent a while browsing, but have so far not come back with much. I've tried enabling and disabling 'Remove run from start menu' which was suggested, but this didn't make any difference.
    Thank you
    Regards
    Savos Aren

    Nathan,
    Your welcome, if that is the case, then can you try and insert the MultiSlide Video, you can insert the streaming video URL.
    You can add the server to you computer as network Drive and then browser to that location, once you do that, the options to add the Video as Streaming can be chose and your Vidoe would remain insync with main playbar, users can play and pause content that way.
    See if this can be implemented at your end.
    Thanks,
    Anjaneai

  • How to import two AVI video files & convert to one FLV ?

    Status:
    - Newbie using PC & Flash CS3 ver9l
    - I can import a single AVI video file and convert it to an FLV video.
    Problem:
    - I have two AVI video files... one 4GB (20 minute) long and one 2GB (10 minute) long... and want to combine them to have a single 30 minute long FLV video file.
    Question:
    - Can I do this in Flash? When I "convert" a single AVI video to a FLV using the File, Import method... I can't really see the video on the Flash time line. I'm a newbie so I'm probably doing something wrong.
    - I tried doing a File, Import for file-1.avi and then doing it for file-2.avi... but the two were on top of each other... and not end to end.
    Maybe some kind sould will walk me through this.
    Thanks for any help.

    Your not going to be able to combine two videos as one in flash, if your using Win try Win Movie Maker, I believe you can drag both into a WMVM timeline and can then save as one file, then you can use AVC video converter or the like to encode them into an .flv or.f4v file.

Maybe you are looking for

  • Tipo de imposto ICZF não carrega na J1B3N

    Oi pessoal. Estou em um projeto de implantação do ECC 6.0 - EhP6 (All-in-One) e configurando o processo de Zona Franca de Manaus. Ao executar o processo de Zona Franca de Manaus, ele determina corretamente o tipo de condição BXZF. O mapeamento da pri

  • Using aliases in where clause

    I am using the following query for as part of my effort select b.account_number, b.restriction_code, a.cusip_number, a.symbol, c.shares, round(((c.shares/nullif(to_number(a.shares_outstanding),0))*100),4) outstanding_share_percent from br_securities

  • WebLogic Server Times  OUT during DEBUG mode startup

    Hi, I am having a issue where my WebLogic Server 10.3 times out when I try to run it in debug mode in my workshop. Below is the error I get. "Timeout waiting for Oracle WebLogic Server v10.3 at localhost to start. Server did not start after 480s. " D

  • Border on transition

    when i put a border on an iris transition, i cant see it while playing the transition in the timeline. i can only see the border if i stop on a still or render the clip. why is this? thank you

  • HP office jet 6500 running out of space when printing

    I cant get written articles to fit on the printer paper.. It cuts off some words on the end of the paper??