Using movie format to load bitmaps?

I am making a game which has a serious amount of animated
bitmaps. So far I have loaded all frames as individual images, but
its clear this approach will result in a monster download as
individual PNG files do not compress well for animations at all.
So, I am considering loading FLV files compressed using H264,
with an alpha channel (8-bit alpha channels are crucial in my
game). This will take care of the size problem.
However, I cannot play FLV files directly, as the game
features hundreds of animated sprites at the same time, and
decoding the animation from H264 for each one in real time is just
too slow.
My idea is to load the movie, then extract individual frames
from it as BitmapData objects, with the alpha channel intact.
But, so far, I have not found a way to extract all frames
from a FLV movie into BitmapData objects.
Can anyone help?

Hi NED! thank you for all your help so far!!!
I was wondering about the flexability of loading movies into a movie clip.
Currently, thanks to your help i am well able to load one movie into a movie "loader" clip, but thought maybe there is a way to load additional movie clips into that same "loader" clip, as i am starting to accumulate several different graphics that i need to have be inside movie clips so that i can make them change colors on the same frame when needed.
i shot from the hip and tried this code, but didnt have any luck:
mc_LCD_loader.attachMovie("hilight", "g", 1), ("header", "X", 1);
mc_LCD_loader.g._x = 0;
mc_LCD_loader.g._y = 1000;
mc_LCD_loader."X"._x = 0;
mc_LCD_loader."X"._y = 1000;
- - - where "hilight" is the identifier name of a given movie clip and "header" is the identifier of a given movie clip in the same library...
"hilight" loads fine
i dont fully understand what "g" means to the identifier...
i am just unsure of how or if it is even possible to load another MC into the same MC Loader...
is it possible? if so could you give me a hint?
thank you!
- patrick

Similar Messages

  • I edit movies onMac OS X using Final Cut Express and down load to desk top in .mov format. How do I load finished movie to i pad 2? i tunes will not transfer it.

    I edit movies onMac OS X using Final Cut Express and down load to desk top in .mov format. How do I load finished movie to i pad 2? i tunes will not transfer it. Thanks, stevefromnorthfreo

    Try outputting it as a MP4 or M4V
    If Final Cut won't output it, Mpegstreamclip will convert it. So will Quicktime if you have the pro version.

  • How can i use this sript and loade another movie?

    Hi there, i used the following script to load a movie from the server;
    var request:URLRequest = new URLRequest("url string");
    var loader:Loader = new Loader()
    loader.load(request);
    addChild(loader);
    How can i use this sript and loade another movie? Can someone help me please?
    [edited by moderator]

    Sir, I changed it from:
    var request:URLRequest = new URLRequest("http://agusandelsur.gov.ph/downloads/pdrrmo/agusan_del_sur/StaJosefa/Movies/Dir.swf");
    var loader:Loader = new Loader()
    loader.load(request);
    addChild(loader);
    to
    var request:URLRequest = new URLRequest("http://agusandelsur.gov.ph/downloads/pdrrmo/agusan_del_sur/StaJosefa/Movies/Warning.swf");
    var loader:Loader = new Loader()
    loader.load(request);
    addChild(loader);
    When i expord the movie i get the following error.....
    Scene 1, Layer 'Layer 3', Frame 1, Line 6    1151: A conflict exists with definition request in namespace internal.

  • Using Apple TV for first time - to rent a movie.  Logged in successfully - billing info updated.  Keep getting message to log into Itunes on PC - movie won't load on TV

    using Apple TV for first time - to rent a movie.  Logged in successfully - billing info updated.  Keep getting message to log into Itunes on PC - movie won't load on TV -
    any advice?

    3GB for a movie? That's almost equivalent to an original DVD. 
    Have you checked in the Recently Added playlist?
    I think this is possibly linear.  Select 'normal' in HB, iTunes accepts it; select 'high quality' in HB iTunes doesn't.  I can't say why; I don't have any video that anywhere approaches 3GB in size.  If that's how iTunes behaves I don't see you have too many options.  You either select normal and it works, or you select HQ and live with playing the movie outside of iTunes.
    I won't ask what movie because any help with illegally ripped copy protected DVDs is strictly prohibited by the Terms of Use so I'm assuming this is a 6 hour video of your puppy playing on the floor.

  • What are the video/movie formats that iBooks Author uses?

    What are the video/movie formats that iBooks Author uses?

    strange... when I click on it it goes to the correct page:
    http://support.apple.com/kb/HT5065
    http://support.apple.com/kb/HT5065

  • How to convert .avi files to .mov format for use in FCE ?

    Hi guys,
    I need to import an avi file into FCE. How do I convert it to mov format ?
    Thanks

    i am in the same boat. i have a canon G9 and automatically downloaded to iphoto without thinking. the videos i extracted seem to be .avi. what do i have to do to edit them in FCE4? i tried to convert them with prism, the video is messed up. i tried to put them into imovie instead, it won't let me do any effects on them. it's so confusing bc it lets the videos load in, or so i thought, but then it won't let me do anything to them? what do i do?

  • Export table format SQL loader using spool

    Hi
    In enviroment I only access for to do SELECT , then I want to export some tables using SELECT using spool of data
    But I wanted export in format Sql Loader for to import other environment
    Is possible to do It ?

    Depends where the NULL is.
    SQL> SELECT * FROM t ORDER BY 1;
            ID DESCR      DT
             1 One
             2            30-MAY-2007
             4 Four       30-MAY-2007
               Three      30-MAY-2007
    SQL> SELECT id||',"'||descr||'",'||TO_CHAR(dt,'dd-mon-yyyy') output
      2  FROM t
      3  ORDER BY 1;
    OUTPUT
    ,"Three",30-may-2007
    1,"One",
    2,"",30-may-2007
    4,"Four",30-may-2007John

  • HT3775 I am using OSX Lion 10.7.2. Quick Time player can open some of 'MOV' format video but some can not. What shall I do?

    I am using OSX Lion 10.7.2. Quick Time player can open some of 'MOV' format video but some can not. What shall I do?

    Use VLC . Plays just about any format and it's free.
    http://www.videolan.org/vlc/

  • How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19

    How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19.
    URL Eaddress: [email protected]

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    The Tab bar only appears on the title bar if the Firefox window is maximized.

  • IWeb movie format to play on both Windows and Mac?

    A friend of mine said that they couldn't view the movie I uploaded.
    I have Virtual PC 7, and also couldn't view it.
    I installed Quicktime on the Virtual PC and though I could now download and play the movie, (with audio that went in and out), it still wouldn't play on my site in Explorer's browser window.
    In the Explorer browser on my site, Quicktime started to load, and then the big blue Q logo faded to light blue with a grey question mark in the middle.
    I am looking for a format that I can post my movie in that will be viewable in the browser by both Windows and Mac.
    I haven't tested mpeg-4 yet although I've read that it is compatible because I can't get a version that even looks decent before I upload.
    Are there any other options?
    Any suggestions are appreciated.
    Powerbook G4 1.67mhz 1gb RAM   Mac OS X (10.4.7)  

    Also, strangely, (there are two movies on my iWeb
    site on two pages), one of them shows the QT window
    with the first frame already visible, the other one
    has the Q blue logo, and doesn't display a frame
    until the whole movie loads.
    This may be a difference in the way you encoded the movies. For quick and dirty (and not too involved) preparation of video clips for the web, I really enjoy using a little program that Kyn Drake recommended to me called iSquint ( http://www.isquint.org ). All you do is drag and drop your movie files to the window, then select the quality setting, and then click GO.
    The movie formats that iSquint puts out have all worked great in iWeb....no waiting for the whole movie to download, always shows a frame of the movie while downloading, and easy MPEG-4 conversion (you can also use H.264 if you want).

  • How do I transfer video files shot from my camera (Canon 5DMk2) which is in .MOV format into iTunes ?

    how do I transfer video files shot from my camera (Canon 5DMk2) which is in .MOV format into iTunes ?  My photos and video files are first imported into Aperture then synced with iTunes. However, itunes does not capture the Video files but uploads the phtos from Aperture during sync.
    I tried dragging the video files into iTunes but it still would not be captured into iTunes ?
    Appreciate any help on this. Thanks

    Open them in Quicktime Player 10.1. Then, use Quicktime's Share menu > iTunes.  That will create an iTunes compatible version and automatically load it into your iTunes movie library.

  • Best Movie Format for iDVD

    I have several DVDs of children's stories that I am making a backup copy protect the originals. I use iSkysoft DVD Ripper to make a movie & then load this into iDVD to burn.
    I tried the Quicktime movie format & that worked fine in iDVD, but the quality was not great. I have the choice in iSkysoft of choosing several formats; QT, MPEGs 1,2 & 4, DV, ASF, & FLV MPEG-4.
    I have been experimenting with the MPEGs, but iDVD will not accept them.
    What is my best format choice for the best quality DVD from iDVD (I am using Professional Quality encoding)?

    You need to convert the VOB files back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    which is free, but you must also have the Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.

  • Applications in dashboard not opening/what movie formats are best?

    what movie format is best to download onto macbook? None of my usual applications (vuze, VLC, quicktime player) are responding/opening! I've always had trouble happening upon congruent formats, so that's my first question. Secondly, vuze which I usually use, has just stopped opening. The 'vuze downloads' window will open, but none of the movies in it will open, and the application itself won't pop up with its usual big window. The little vuze icon is still in my dashboard, though. I tried re-starting vuze, but it didn't do anything. QuickTime player won't respond either. HELP!!

    Aug 16 16:06:41 Sam-Digneys-Computer crashdump[999]: crash report written to: /Users/samdigney/Library/Logs/CrashReporter/iTunes.crash.log
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
    Reason: image not found
    Aug 16 16:06:43 Sam-Digneys-Computer crashdump[1001]: Safari crashed
    Aug 16 16:06:43 Sam-Digneys-Computer crashdump[1001]: crash report written to: /Users/samdigney/Library/Logs/CrashReporter/Safari.crash.log
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Applications/Mail.app/Contents/MacOS/Mail
    Reason: image not found
    Aug 16 18:33:51 Sam-Digneys-Computer crashdump[1027]: Mail crashed
    Aug 16 18:33:51 Sam-Digneys-Computer crashdump[1027]: crash report written to: /Users/samdigney/Library/Logs/CrashReporter/Mail.crash.log
    dyld: Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
    Reason: image not found
    Aug 16 18:33:53 Sam-Digneys-Computer crashdump[1029]: Safari crashed
    Aug 16 18:33:53 Sam-Digneys-Computer crashdump[1029]: crash report written to: /Users/samdigney/Library/Logs/CrashReporter/Safari.crash.log
    hi,
    here's the console log, It says image not found and crashed, i dont know what that would mean i have to do, the help thus far has still not changed the situation, i tried following the console tip of typing in a certain code and then entering my password but to no avail,
    thanks for the continued assistance though
    sam

  • How to use TCP Checksum Off-load in my network driver

    I am seeking infomation on how to use TCP Checksum Off-load to tell the Solaris 8 stack not to handle it for both receives and transmits (and let our NIC handle this compute-intensive task instead).
    There is mention that Sun GigabitEthernet Adapter cards, Release 1.1 supports Sol-2.6 use of NIC features: TCP checksum offload & byte swapping
    There are limited bits of info in include files. For example
    sys/strick.h indicates use of:
    inetcksum_t's ick_xmit
    stream.h has:
    struct datab's unsigned u16:16; /* used to store hw-calculated cksum
    #define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */
    #define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */
    strsub.h has:
    struct zero_copy_kstat
    Also /include/inet/tcp.h has tcp_sum for outbound.
    Thank you. -Weimin Tchen

    VenK7337,
    Could you show your python code. so we know what your are "writing" to the ethernet port?
    That way we can see what you are receiving.
    Parsing the incoming data (from the TCP-read) depends heavily on the device that sends it, and can not generically be described. LabVIEW has many byte (and even bit) manipulation functions to convert many different data formats to its own build in formats.
    So after the TCP listener is connected, you are constantly reading from the established connection (until it gets broken of course). More advanced example would be the internet toolkit if oyu have it.
    From the read characters (and I hope you designed a protocol with a clear starting character, ending character and maybe even a build in checksum) you parse the data and perform you action, and of course generate a reply. Again the internet toolkit is a good example. It parsed the input as it comes it, based on the HTTP format. Then generates the reply based on the request received.
    These days I would suggest not to use binairy encoded numerics. Try and use XML formatted data. Yes, it causes a lot of overhead. But typically this is not an issue and makes the code a lot more portable and maintainable. Also makes it easier to interface with other languages/platforms.
    Umless of course you are looking at Khz data rates, then XML is not th preferred choice.
    Hope this helps...

  • ITunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide

    iTunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide from cloud - the files that do not upload show grayed out on my other devices.

    Have you confirmed that you successfull purged iTunes Match by also looking on an iOS device?  If so, keep in mind that Apple's servers may be experiencing a heavy load right now.  They just added about 19 countries to the service and I've read a few accounts this morning that suggests all's not running perfectly right now.

Maybe you are looking for

  • Folder causes Finder to crash

    Hi, Any ideas? Dual 500Mhz Powermac G4 OS 10.4.11 1GB SDRAM I have a folder of Excel spreadsheets - being self-employed they are invoices, mostly single pages. All worked okay for several years until I upgraded to Microsoft's Office:Mac 2008. Now the

  • Need Help with Spry Data Sets

    Reference: Converting Database Queries to XML Reference Link: Labs Example I have converted various database queries (i.e.standard queries and JOINED Tables) to XML however as I filter the DB Query to pass/receive a URL Parameter from (i.e projectsID

  • Target Servlet in page from backing bean.

    Hi, How do I render a servlet in a page from a backing bean instead of a new page as it currently doing. the backing bean consists of... String url = "/ScriptOutputServlet?docNum=" + command;         blog.debug("URL = " + url);         FacesContext c

  • Now that Garageband is on the iPhone, is there any way to connect a Korg nanoKey to it?

    The subject says it all - I'm wondering if there's any way to connect a Korg nanoKey to my iPhone 3GS running the current version of iOS. Thanks and have fun!

  • I'm unable to open a new tab on my window, what do I do?

    I installed mozilla firefox 17.0.1 since then I'm unable to open a new tab when i click on the + icon on the right of the other tab.