Color management for flash player with hardware acceleration

I have tested the color management for flash player 10.2 with and without hardware acceleration (GPU) on different PCs with different video cards.
Videos that are played via flash without hardware acceleration on PC have proper color as designed in After Effects.
When I switch on hardware acceleration, the color shifts, for example green becomes lighter, although grey values are OK. I have tried this by writing a  small Flash programme for playing a movie; I wrote two programmes one with color management as described in the article "Color correction in Flash Player" http://www.adobe.com/devnet/flash/quickstart/color_correction_as3.html and another one without color management. In both cases I got the same color shift when hardware acceleration was turned on. From the result I concluded that color management does not work when hardware acceleration is on.
My question is: are there any plans to have color management for flash player with hardware acceleration (GPU) in the near future?
We need to play complex high definition movies streaming through a high speed local area network that need hardware acceleration to avoid stuttering.
V. S.

Hi, LOL at my screen moniker. That's interesting that the FF beta has an Option for that. The only problem, is that I have heard that each browser must UNcheck the H.A. I'm sure you'll find out.
Hope that works at least for FF. Let me know if you have time.
I've been checking out Apple TV and Google TV. Just saved the links and some info, haven't had time to go further. I'd prefer Apple TV over Google tho.
I have a 55" HD Sony/Blu-ray Surround Sound Speakers, etc. I hooked up the VGA cable for Internet, and WOW on the Screen/Monitor!! Now I'm thinking about the iPhone 4 with VZ too, on their pre-order list for 2/3/11!
Hard to keep up with the Technology, moving faster today for some reason.
We are under the Snow & Ice warning, getting it now. Hope I don't lose power! If so, I'll be offline for sure.
If I find anything on that H.A. for IE, I'll let you know.
Thanks,
eidnolb

Similar Messages

  • Color management for flash galleries

    I have recently found out that Flash 10 (currently in beta) supports color management (finally!). However, for it to work it needs to be enabled by the flash application itself. Therefore, I'd like to request the Lightroom team to enable color management for the LR2 flash web galleries.
    Thanks for reading!
    Simon

    Bill,
    I'm having the same problem.  My exported web galleries are all shifted to the red.
    Here's an example: http://venture-multimedia.com/photoshoots/jim/index.html
    The guy looks like he has a sunburn.  In lightroom he looks fine.  I checked on two diff computers and the web gallery looks red on both, yet in lightroom it looks fine.
    Just switched to Windows 7 and I'm wondering if that has somthing to do with it.
    Suggestions please?!?!?!

  • Flash Player - Disable Hardware Acceleration - Apple TV-Mac OS 10.4.7/Firefox

    Hello all,
    I have been going down a fun path getting my 1st Generation Apple TV (160 GB HD) to run Hulu natively (without PlayOn restreaming).  After fun times getting Firefox and Flash Player working, I blasted through setting up Hulu Widget to keep the video size small (Apple TV in 480p defaults to an 800x600 res).   Things look pretty good. I maxed out buffering/cache for all Hulu related sites within Global settings, this produced nice improvements.  I found a GreaseMonkey script that forces the Flash Player to always render Low Quality video.  This helps immensely at stopping stuttering with little trade off in quality.  My last piece to try to tweak video playback (aside from monkeying around with the OS X kernel) is the disable Hardware Acceleration.
    BUT, I am having a major problem with mouse support or something.  Everytime I bring up the Display settings via a Right Click, I cannot uncheck "Enable hardware acceleration".  Surprisingly clicking it 500 times still does not make it uncheck.
    I have searched high and low but have not found a clearcut way to disable it via script or other non-interactive means.
    I wonder if there might be a javascript that could be plugged into GreaseMonkey to accomplish the end goal.   This blog and Adobe document refer to the wmode parameter and how to use it to disable HA.
    http://niquimerret.com/?p=159
    http://www.adobe.com/devnet/flashplayer/articles/fplayer10_1_hardware_acceleration.html
    I am thinking perhaps I can take the Low Quality JS (http://userscripts.org/scripts/review/38994) and replace "quality" with "wmode".  Am I on track?    It  seems "opaque" might be the right one.  http://kb2.adobe.com/cps/127/tn_12701.html
    There is a case related to my question:  https://bugs.adobe.com/jira/browse/FP-5748
    Any tips, clues, pointers, commiserations?

    Hi, LOL at my screen moniker. That's interesting that the FF beta has an Option for that. The only problem, is that I have heard that each browser must UNcheck the H.A. I'm sure you'll find out.
    Hope that works at least for FF. Let me know if you have time.
    I've been checking out Apple TV and Google TV. Just saved the links and some info, haven't had time to go further. I'd prefer Apple TV over Google tho.
    I have a 55" HD Sony/Blu-ray Surround Sound Speakers, etc. I hooked up the VGA cable for Internet, and WOW on the Screen/Monitor!! Now I'm thinking about the iPhone 4 with VZ too, on their pre-order list for 2/3/11!
    Hard to keep up with the Technology, moving faster today for some reason.
    We are under the Snow & Ice warning, getting it now. Hope I don't lose power! If so, I'll be offline for sure.
    If I find anything on that H.A. for IE, I'll let you know.
    Thanks,
    eidnolb

  • Solaris: Flash Player 3D Hardware Acceleration

    Hi Folks,
    Does anybody know about the requirements for 3d hardware
    acceleration on Solaris. I found no information about this.
    wkr Adrian

    Hi, LOL at my screen moniker. That's interesting that the FF beta has an Option for that. The only problem, is that I have heard that each browser must UNcheck the H.A. I'm sure you'll find out.
    Hope that works at least for FF. Let me know if you have time.
    I've been checking out Apple TV and Google TV. Just saved the links and some info, haven't had time to go further. I'd prefer Apple TV over Google tho.
    I have a 55" HD Sony/Blu-ray Surround Sound Speakers, etc. I hooked up the VGA cable for Internet, and WOW on the Screen/Monitor!! Now I'm thinking about the iPhone 4 with VZ too, on their pre-order list for 2/3/11!
    Hard to keep up with the Technology, moving faster today for some reason.
    We are under the Snow & Ice warning, getting it now. Hope I don't lose power! If so, I'll be offline for sure.
    If I find anything on that H.A. for IE, I'll let you know.
    Thanks,
    eidnolb

  • Getting error when trying to download update for flash player with OSX 10.91

    Trying everything to download update for Adobe Flash Player. This is maddening. I have tried uninstalling previous player and re-installing and checked my preferences. Can any one give me some instructions that are easy to understand. I keep getting an error when installing.

    There usually is an Adobe flash uninstaller that goes through a process satisfactorily.
    Did you get the Adobe Flash update from their
    page, directly?  http://get.adobe.com/flashplayer/
    Also note the extensive info at Adobe link below.
    If you are having trouble, or Safari is involved, if
    you use a different browser, such as Firefox, etc to
    get that version Flash update. There's another thing to
    look into, in Mavericks, that older OS X didn't
    have, that may affect installation...
    In System Preferences, find a Flash Player preference
    under "Other." Click on the Advanced tab and then "Check
    Now" in the Updates section. An available new one
    would be installed. There is a similar issue/answer
    in the following solved ASC discussion thread:
    https://discussions.apple.com/message/21189654#21189654
    •Adobe Flash Player - Installation Problems - Mac OS X:
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-mac.ht ml
    Hopefully this helps.
    Good luck & happy computing!

  • Win 8.1 PRO: Internet Explorer and integrated Adobe Flash Player no hardware acceleration on GMA

    HI, i have a little problem with your latest release.
    I have make a total update of the system today (win 8.1 pro 23 March 2014) and i saw that hardware decoding is not working on Internet explorer (the option is not available in the adobe tool: right click\settings)
    How can i resolve?
    Using Adobe Plugin+an other browser resolve this bug but i want to use IE
    Another question: is coming a new version optimized for low-end video card? i have a gma 500 GPU and the performance are sufficient
    Have a nice day

    is coming a new version optimized for low-end video card?
    Not likely, since the trend is to move to higher performance cards and not the toher way around.
    As to the inability to access settings, that's in your browser, most likely ActiveX controls blocking it. There are two options:
    1. Disable ActiveX controls: http://forums.adobe.com/thread/867968
    2. Use the online settings manager: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html  <--Choose from the links on the left of the page.

  • Feedback:  Online Settings Manger for Flash Player

    Font in online settings manager for Flash Player is way too small.  Please give users the option to increase size.  Thanks.

    Thanks for the feedback.  Could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.  You might also be interested  in using the native control panel which can be found with your computer's system control panels.
    Thanks,
    Chris

  • Flash player hanging with hardware acceleration enabled

    I'm having the following problem: The Flash player is working fine for some apparently random period of time, then it hangs when it is starting up in order to display a video.  This appears to happen only when hardware acceleration is enabled.  (I have not noticed any problems with hardware acceleration disabled, but I only discovered 24 hours ago that this helped.).  The hang happens under all web browsers (Firefox reports that the Flash player crashed, but it is actually hung on start up, not crashed).  After a hang occurs, trying to view any other Flash video also hangs, and all other programs that attempt to access the video card like Windows Media Player also hang.  The only way to reset things and get video working again is to reboot the machine.
    I suspect the problem is either the Flash player or the machine's graphics driver.  I'm running Flash Player WIN 10,1,53,64 under Windows 7 64 on an Intel Core i5 machine with Intel GMA HD graphics, driver version 8.15.10.2025.
    BTW, is there anyway to permanently disable Flash's use of hardware acceleration? (if I disable, the setting doesn't seem to want to stay)

    Thanks.  The computer is a Lenovo Thinkpad T510.  Intel's utility reports:
    Graphics Driver
    Product Detected
    Intel® HD Graphics
    Current Driver Installed
    8.15.0010.2025
    A customized computer manufacturer driver is installed on your  computer. The Intel Driver Update Utility is not able to update the  driver. Installing a generic Intel driver instead of the customized  computer manufacturer driver may cause technical issues. Contact your computer manufacturer for the latest driver for your computer.
    Running Lenovo's ThinkVantage System Update utility reports that all drivers are up-to-date.

  • Adobe Suggests Disabled Hardware Acceleration for Flash Player in OS X Lion

    http://www.macrumors.com/2011/07/21/adobe-suggests-disabled-hardware-acceleratio n-for-flash-player-in-os-x-lion/

    I've seen in some discussions that Adobe CS5 programs arent working either and that a Java update will make them work. Anyone know if this will do the same for Adobe Flash Player?
    http://support.apple.com/kb/DL1421

  • New Flash Plugin update with hardware acceleration freezes Youtube videos

    Hello, two days ago i got a prompt for a new flash plugin update, saying that now it was able to use hardware acceleration on MAC too. I did the update but i noticed that with hardware acceleration enabled, any youtube video i see, safari freezes. Seems like it's loading continuously (even if the progress bar of the video is already red). But as soon as i disable hardware acceleration, all goes back as normal, no freeze. What's the problem? Using the last safari version.

    HI,
    There's an article here you might want to read.
    http://www.osnews.com/story/23672/AdobeReleases_Flash_for_Mac_with_HardwareAcceleration
    "Apple's support for this framework can be a bit sketchy."
    Carolyn

  • Dropping development for Flash Player on mobiles entirely?

    "Even though Adobe just mentioned it was planning to invest further in HTML5 after restructuring, a rumor from ZDNet suggests the changes could go even further by dropping development for Flash Player on mobiles entirely. According to an email reportedly received by the company's partners, its future work on Flash for cellphones and tablets will focus on enabling developers to "package apps with Adobe AIR for all the major app stores." After years of battling with Apple and Steve Jobs over the place of Flash on mobiles it appears the company is ready to lay down its sword, with existing platforms like Android receiving only security updates going forward. If the rumors are true, we'll probably hear an official announcement later today, along with a few huge belly laughs from the folks in Cupertino."
    this info from Engadget.

    Confirmed
    Flash to Focus on PC Browsing and Mobile Apps; Adobe to More Aggressively Contribute to HTML5
    Posted by Danny Winokur, Vice President & General Manager, Interactive Development at Adobe in Business Professionals, Creative Professionals, Developers, Video
    Adobe is all about enabling designers and developers to create the most expressive content possible, regardless of platform or technology. For more than a decade, Flash has enabled the richest content to be created and deployed on the web by reaching beyond what browsers could do. It has repeatedly served as a blueprint for standardizing new technologies in HTML.  Over the past two years, we’ve delivered Flash Player for mobile browsers and brought the full expressiveness of the web to many mobile devices.
    However, HTML5 is now universally supported on major mobile devices, in some cases exclusively.  This makes HTML5 the best solution for creating and deploying content in the browser across mobile platforms. We are excited about this, and will continue our work with key players in the HTML community, including Google, Apple, Microsoft and RIM, to drive HTML5 innovation they can use to advance their mobile browsers.
    Our future work with Flash on mobile devices will be focused on enabling Flash developers to package native apps with Adobe AIR for all the major app stores.  We will no longer continue to develop Flash Player in the browser to work with new mobile device configurations (chipset, browser, OS version, etc.) following the upcoming release of Flash Player 11.1 for Android and BlackBerry PlayBook.  We will of course continue to provide critical bug fixes and security updates for existing device configurations.  We will also allow our source code licensees to continue working on and release their own implementations.
    These changes will allow us to increase investment in HTML5 and innovate with Flash where it can have most impact for the industry, including advanced gaming and premium video.  Flash Player 11 for PC browsers just introduced dozens of new features, including hardware accelerated 3D graphics for console-quality gaming and premium HD video with content protection.  Flash developers can take advantage of these features, and all that our Flash tooling has to offer, to reach more than a billion PCs through their browsers and to package native apps with AIR that run on hundreds of millions of mobile devices through all the popular app stores, including the iTunes App Store, Android Market, Amazon Appstore for Android and BlackBerry App World.
    We are already working on Flash Player 12 and a new round of exciting features which we expect to again advance what is possible for delivering high definition entertainment experiences.  We will continue to leverage our experience with Flash to accelerate our work with the W3C and WebKit to bring similar capabilities to HTML5 as quickly as possible, just as we have done with CSS Shaders.  And, we will design new features in Flash for a smooth transition to HTML5 as the standards evolve so developers can confidently invest knowing their skills will continue to be leveraged.
    We are super excited about the next generations of HTML5 and Flash.  Together they offer developers and content publishers great options for delivering compelling web and application experiences across PCs and devices.  There is already amazing work being done that is pushing the newest boundaries, and we can’t wait to see what is still yet to come!

  • What to do now that Adobe ended support for Flash Player 10.3?

    Adobe ended support for Flash Player 10.3 on July 9. Downloads are no longer available anywhere that I can find. Adobe says 11.7 is now the "extended release" version. Since 10.3 has been the only solution when the latest Flash Player version won't work with Firefox, what do we do now? I have tested every Flash Player release after 10.3, and each starts crashing repeatedly after 24 hours. Each time, retreat to 10.3 was the only solution. The other suggestions in Firefox help don't work. I uninstalled 10.3 a few days ago to test 11.8 - the latest. It doesn't work with Firefox. Now I could only install 11.7. It hasn't failed yet, but it probably will tomorrow.
    If Flash Player 11.8 and 11.7 don't work, and 10.3 is unavailable, what can we do?

    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    *http://helpx.adobe.com/flash-player/kb/flash-player-113-crash-mozilla.html
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
    *http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

  • Problems with hardware acceleration

    Hallo
    I have big problems with hardware acceleration in flash player. What complicates the problem is my laptops manufacter note here:http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-69684
    so I'm accualy confused - is my laptop defected or the source of the problem is in flash player engine.
    In to to point: I can't play some videos, because my video adapter/driver is restarted during watching and after it happens - flash plugin doesn't work anymore (until browser is restarted).
    I have flash player in version: 10.2.154.25
    Nvidia driver: 260.99 (with newest situations is not much better, I tried newest WHQL certified driver but I didn't work perfectly)
    Hardware: Lenovo ThinkPad T61, core2duo 2.1Ghz, 3GB RAM, NVIDIA Quadro 140M NVS.
    And here's video showing my laptops behaviour:
    http://www.youtube.com/watch?v=QrXJCcWV2Sk
    Notice also screen blinking (and audio stuttering) before video adapter is restarted.
    Is it flash fault or hardware is defected?

    I got my laptop with replaced systemboard today.
    Unfortunately the problem is still present. In the meantime there was Flash update released (10.2.159.1 for IE) so I also tried to install newest version - but it didn't help.
    Having systemboard replaced, flash updated I still have screen blinking, video adapter restarting and NOT smooth playback using hardware acceleration.
    Output from LatMon:
    Highest DPC routine execution time (µs):  60999
    Responsible driver:                       nvlddmkm.sys  (NVIDIA Windows Kernel Mode Driver, Version 267.76 , NVIDIA Corporation)
    DPC count (execution time <500 µs):       1307911
    DPC count (execution time 500-999 µs):    0
    DPC count (execution time 1000-1999 µs):  0
    DPC count (execution time 2000-3999 µs):  0
    DPC count (execution time >=4000 µs):     11
    Highest ISR routine execution time (µs):  853
    Responsible driver:                       dxgkrnl.sys  (DirectX Graphics Kernel, Microsoft Corporation)
    ISR count (execution time <250 µs):       2516652
    ISR count (execution time 250-499 µs):    0
    ISR count (execution time 500-999 µs):    29
    ISR count (execution time 1000-1999 µs):  0
    ISR count (execution time >=2000 µs):     0
    Highest pagefault resolution time (µs):   621633
    Hard pagefault count (total):             22908
    Number of processes hit:                  17
    Pagefault count of hardest hit process:   17072
    Process with highest pagefault count:     devenv.exe  (PID: 5144, Microsoft Visual Studio 2010, Microsoft Corporation)
    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
    Note: all execution times are calculated based on a fixed CPU clock speed of 2094 MHz. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.

  • "the activex control for flash player could not be registered" - Solutions Roundup

    I recently ran into this problem on my computer:
    http://at32.s3.amazonaws.com/flash_install_problems2.jpg
    I am a Flash developer (as in I write SWFs, I don't work for Adobe).  and when I updated IE to 10.2, "the activex control for flash player could not be registered".  Since I am a developer, I also have Firefox and Chrome installed, with Flash running without problems.  For a long time now, Internet Explorer has used a different version (ActiveX) to the other browsers, which use plugins.  I am a strong supporter of Flash, it's great to develop with and has a very wide feature set which is growing all the time, unlike fixed technologies/standards.  However, the weakest part is the install process - I don't understand why their is a Download Manager.  Google Chrome does it's best (so far) by managing the install/update process entirely in the background.  Anyway, it was in my best interest to try and get to the bottom of this.
    For the record, on the problem machine I have Windows 7 with IE8, but I have seen almost  identical symptoms with IE9, Windows XP SP3, as well as various  iterations of Flash Player (10.0, 10.1, 10.2 and even some final  editions of version 9).
    First I tried the standard support here:
    http://kb2.adobe.com/cps/191/tn_19166.html
    Basically, doing the manual uninstall and manual install of the latest version (without using the download manager, or have IE open).  This did not work.  I also tried the Microsoft "subinacl" program, together with "reset_fp10.bat".  This didn't work either.  However, you should try all of these things first before progressing further.
    A quick note about people who had tried running the following at a command prompt: "secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose"
    I didn't do this, because on investigating further it didn't seem to work with Windows 7, only Windows XP, Windows 2000 or Windows 2003 - though there was a few threads where this had fixed the problem for some users.
    For my solution, it is recommended you use the manual uninstall / installers, so you should have them downloaded ready to use.
    I then heard about problems with permissions in the registry with the key: HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    So I opened regedit.exe (start - run - typed "regedit.exe"), navigated to the key and sure enough, I couldn't open it - permission denied - even though I had an administrator account.  If for some reason, you can access this key (and any subkeys), then it's likely the following fix will not resolve the problem.
    I then done further diagnosis, by using Process Monitor to try and install Flash Player, and I got the following:
    http://at32.s3.amazonaws.com/flash_install_problems.gif
    This shows all the access denied errors the Flash Player install was experiencing when trying to write to the registry key.  This confirmed that this was the problem.  I only stress this because several people said it was unwise to tinker with the registry.  Though this is common advice, this is the only known fix for this precise problem at present, since you need to manually adjust the permissions yourself.  I don't know who is at fault here - Microsoft or Adobe - but let's just get Flash fixed...
    The solution:
    Firstly, you may want to backup your registry, or the exact key.  I didn't do this so I've provided no instructions on how to, but it is recommended for the paranoid.  Also make sure as much software is closed down as possible - browsers, IM software, any junk in your system tray. As way of example, I happened to have "BBC iPlayer" installed and running in the background which uses Adobe AIR and Flash Player, so I exited that too.
    1) Open regedit (start - run - type "regedit.exe").  You may need to right click on it and select "Run As Administrator", but I didn't as my account was already administrator.
    2) Navigate to the key. HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    Click on it to confirm that you cannot access it (you will get an error) - if their are no problems - this probably isn't the cause of your issues.
    3) Right click on it and click Permissions, and ignore any message that may pop up.
    4) Under "Group or Usernames" click "Add".  Type your account name name, or "Administrators" in the box, then "Check Names" to format it correctly, then Ok.
    5) Now on the next screen click the checkbox to enable Full Control (this will also automatically enable "Read" permission too).
    6) Click Advanced, then the "Owner" tab at the top.  You will see that their is no "Current Owner".  This is what we will now fix.
    7) Click on your name to change the owner to (I went for Administrators).  Also enable the checkbox entitled "Replace Owner on subcontainers and objects".  Then click Ok.  You will get an error message, which you can try clicking Retry to, but hit Cancel - this is not a problem.
    8) Click Ok a couple of times and this part of your registry is now fixed.
    9) Now it's a simple case of running the manual Flash uninstall program, then finally the manual Flash installer (for Active X - not the Firefox/Chrome plugin versions).  To my surprise, after a couple of days looking into this - I finally had a solution and Flash in IE once more.  If you are using Firefox too you may find Flash is no longer installed their (the uninstaller removed it).  In this case just install via the Adobe site or try to watch a video on You Tube and you will be prompted or linked to the install.
    Hope this provides a good round up of the possible solutions to this problem.  Hopefully Microsoft or Adobe can find out what causes this issue in the first place so we don't have to go down this route for much longer.  Chrome's implementation of Flash shows how effortlessly things can work!

    They will stay on the screen.  However, Process Monitor is only intended for advanced users.  It is recommended that users try to navigate to the troublesome registry key using regedit, and see if they can access it or not without an error.  This is far easier than trying to use Process Monitor, which is very complicated.
    I used Process Monitor to confirm that it was just that key which was causing the problem, and not others.  Process Monitor is not to be confused with the new Resource Monitor which is accessible via Task Manager in Windows 7 (and possibly Vista).  If you must experiment (and Process Monitor is very useful for diagnosing many deep-level problems if you know what you're looking for) Process Monitor can be downloaded from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    It replaces the older Sysinternals "FileMon" and "RegMon".  For those interested in the technical side, I had to setup a number of filters to be able to get the results display as in the screenshot.  First of all to just show Registry events.  Then to just show events from the manual Flash activeX installer executable.  The I added a filter to show only non-successfull results.  And finally, for the purposes of the screenshot, added a filter to just show those with "Access Denied", since other non-critical errors are also picked up due to missing keys because installation has not yet been fully completed I guess.   When experimenting, most of these filters were applied using the "is not" boolean logic, which will make sense if you experiment with the program.
    Without adding any filters, it picks up so many events (hundreds per second) that it's otherwise unusable.  e.g. 40,000 events within the first few seconds of opening the program. For this reason, I recommend simply using Regedit to diagnose the problem with the particular Flash registry key.

  • Empty camera names in Flash Player with Google Chrome

    So, it seems we got another problem with devices (cameras and microphones) in Flash Player integrated with Google Chrome (PPAPI). Many Flash developers can remember clickjacking problem and ugly fix for this issue implemented in Google Chrome. For now, if you have some application that uses camera or microphone, Google Chrome users must allow access to their devices twice: for Flash Player (small window centered in Flash-object) and for Google Chrome (gray panel with buttons under address bar).
    Until recently the whole process of granting camera access looked like this:
    Application want to attach camera to Video object or NetStream.
    Even without permission you can get camera names and populate some UI components with them.
    Flash Player show security panel with "Allow" and "Deny" buttons.
    Google Chrome show it's own security panel, so both security panels are visible at the same time.
    Users press "Allow" button in Flash Player security panel.
    Now you have false for camera.muted property, but camera show zero FPS, because access is still denied in browser.
    Users press "Allow" button in browser security panel.
    Win! You have access granted everywhere.
    Of course, that second security panel of Google Chrome is a real pain. Users just don't notice it. Flash developers handled this issue with hints inside application and FAQ pages. But now we have another big problem.
    Recently the process of granting camera access changed to this:
    Application want to attach camera to Video object or NetStream.
    You can't get camera names until access granted in browser. There will be just spaces (" ", symbol with code 32) in camera.name property.
    Flash Player show security panel with "Allow" and "Deny" buttons.
    Google Chrome will not show it's security panel until access granted in Flash Player.
    Users press "Allow" button in Flash Player security panel.
    Now you have false for camera.muted property, but camera show zero FPS and have no name, because access is still denied in browser.
    Google Chrome show it's own security panel.
    Users press "Allow" button in browser security panel (this panel shown twice for some reason).
    Now you have access granted everywhere, but devices still have just spaces instead of real names.
    Unfortunately, AS3 will not update camera names after access granted in browser. Camera names are empty event in Flash Player settings window before browser access granting. So it's impossible now to get camera names in Flash application running in Google Chrome without reloading. User need to grant access in browser first, than reload application and only after that we can get camera names in AS3. I have tried to use flash.media.scanHardware() to refresh camera names, but it seems it's not working.
    Also I have created a small example and posted it online. You can test it by yourself in Google Chrome. Just don't forget to clear your choice each time. You need to remove "http://wonderfl.net:80" entry from list on chrome://settings/contentExceptions#media-stream to clear your prevoius choice.
    Also I got similar complaints from Opera users.
    Here is my code:
    package
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.TimerEvent;
        import flash.media.Camera;
        import flash.media.Microphone;
        import flash.media.Video;
        import flash.media.scanHardware;
        import flash.text.TextField;
        import flash.utils.Timer;
        public class BrowserPermissionTest extends Sprite
            private var output:TextField;
            private var timer:Timer;
            public function BrowserPermissionTest()
                super();
                addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
            private function addedToStageHandler(event:Event):void
                removeEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                output = new TextField();
                output.border = true;
                output.multiline = true;
                output.wordWrap = true;
                output.x = output.y = 10;
                addChild(output);
                updateView();
                stage.addEventListener(Event.RESIZE, stage_resizeHandler);
                var i:int;
                var numCameras:int = 0;
                var numMicrophones:int = 0;
                if (Camera.isSupported)
                    var cameraNames:Array = Camera.names;
                    numCameras = cameraNames ? cameraNames.length : 0;
                    if (numCameras > 0)
                        log("Cameras:");
                        for (i = 0; i < numCameras; i++)
                            var cameraName:String = cameraNames[i];
                            log((i + 1) + ". \"" + cameraName + "\"");
                    else
                        log("Camera not found.");
                else
                    log("Camera is not supported.");
                log("");
                if (Microphone.isSupported)
                    var microphoneNames:Array = Microphone.names;
                    numMicrophones = microphoneNames ? microphoneNames.length : 0;
                    if (numMicrophones > 0)
                        log("Microphones:");
                        for (i = 0; i < numMicrophones; i++)
                            var microphoneName:String = microphoneNames[i];
                            log((i + 1) + ". \"" + microphoneName + "\"");
                    else
                        log("Microphone not found.");
                else
                    log("Microphone is not supported.");
                log("");
                if (numCameras > 0 || numMicrophones > 0)
                    if (numCameras > 0)
                        var defaultCamera:Camera = Camera.getCamera();
                        var video:Video = new Video(1, 1);
                        addChild(video);
                        video.attachCamera(defaultCamera);
                        defaultCamera.muted ? devicesMutedInFlashPlayer() : devicesUnmutedInFlashPlayer();
                    else if (numMicrophones > 0)
                        var defaultMicrophone:Microphone = Microphone.getMicrophone();
                        defaultMicrophone.setLoopBack(true);
                        defaultMicrophone.muted ? devicesMutedInFlashPlayer() : devicesUnmutedInFlashPlayer();
                    else
                        log("No devices found for test.");
            private function devicesMutedInFlashPlayer():void
                log("Devices are muted in Flash Player.");
                log("Starting permission check timer...");
                timer = new Timer(100);
                timer.addEventListener(TimerEvent.TIMER, flashPlayerPermissionTimer_timerHandler);
                timer.start();
            private function flashPlayerPermissionTimer_timerHandler(event:TimerEvent):void
                var defaultCamera:Camera = Camera.getCamera();
                if (!isDevicesMutedInFlashPlayer())
                    timer.stop();
                    timer.removeEventListener(TimerEvent.TIMER, flashPlayerPermissionTimer_timerHandler);
                    timer = null;
                    devicesUnmutedInFlashPlayer();
            private function devicesUnmutedInFlashPlayer():void
                log("Devices are unmuted in Flash Player.");
                isDevicesMutedInBrowser() ? devicesMutedInBrowser() : devicesUnmutedInBrowser();
            private function devicesMutedInBrowser():void
                log("Devices are muted in browser.");
                log("Starting permission check timer...");
                timer = new Timer(100);
                timer.addEventListener(TimerEvent.TIMER, browserPermissionTimer_timerHandler);
                timer.start();
            private function browserPermissionTimer_timerHandler(event:TimerEvent):void
                scanHardware();
                if (!isDevicesMutedInBrowser())
                    timer.stop();
                    timer.removeEventListener(TimerEvent.TIMER, browserPermissionTimer_timerHandler);
                    timer = null;
                    devicesUnmutedInBrowser();
            private function devicesUnmutedInBrowser():void
                log("Devices are unmuted in browser.");
            private function isDevicesMutedInFlashPlayer():Boolean
                var cameraNames:Array = Camera.names;
                var numCameras:int = cameraNames ? cameraNames.length : 0;
                if (numCameras > 0)
                    var defaultCamera:Camera = Camera.getCamera();
                    return defaultCamera.muted;
                else
                    var microphoneNames:Array = Camera.names;
                    var numMicrophones:int = microphoneNames ? microphoneNames.length : 0;
                    if (numMicrophones > 0)
                        var defaultMicrophone:Microphone = Microphone.getMicrophone();
                        return defaultMicrophone.muted;
                return true;
            private function isDevicesMutedInBrowser():Boolean
                var cameraNames:Array = Camera.names;
                var numCameras:int = cameraNames.length;
                for (var i:int = 0; i < numCameras; i++)
                    var cameraName:String = cameraNames[i];
                    if (cameraName != " ")
                        return false;
                var microphoneNames:Array = Microphone.names;
                var numMicrophones:int = microphoneNames.length;
                for (i = 0; i < numMicrophones; i++)
                    var microphoneName:String = microphoneNames[i];
                    if (microphoneName != " ")
                        return false;
                return true;
            private function log(text:String):void
                output.appendText(text + "\n");
            private function updateView():void
                output.width = stage.stageWidth - 2 * output.x;
                output.height = stage.stageHeight - 2 * output.y;
            private function stage_resizeHandler(event:Event):void
                updateView();
    So, I wonder if it's a bug or some kind of new security feature implemented by Google Chrome team? Maybe someone already faced this problem and can share more info about it.
    For now it looks like modern browsers killing Flash with all that features and ugly solutions.
    PS: You can find some silly mistakes in my message. Sorry for my English.
    Updated code to check microphones also.

    After couple of tests I have found strange behavior of PPAPI Flash.
    The test was made with two SWFs working simultaneously on the same page. The first one was asking for device access like some regular application (by calling video.attachCamera). The second SWF was created/removed in cycle by JavaScript to avoid this thing:
    Scanning the hardware for cameras takes time. When the runtime finds at least one camera, the hardware is not scanned again for the lifetime of the player instance.
    I have made both SWFs to get all devices names and post them to screen. So I was able to see all changes regarding devices in first SWF (before and after permission granted) and in refreshable second SWF (each second). Also I have used scanHardware in both SWfs.
    I have found that second (refreshable) SWF got correct list of devices, but first one got only microphones. Camera names was empty.
    So it looks like we have another bug of PPAPI Flash here. I don't have another explanation for this. I mean, why do they need to update only microphones, but not cameras?

Maybe you are looking for

  • AP Invoice Interface

    Hi All, I had a requirement to import legacy invoice in Oracle Application AP R12 module. Is any body know how to use the open interface of AP. Please help its urgent.... Regards, Saquib

  • Scorm 1.2 Error Handling in Captivate 4

    We have been using Captivate 4 for SCORM courses in a Moodle LMS (1.9.8) implementation. All of our users run Windows XP SP3, IE 6, and have McAfee installed on their systems. We have been having 1/5 people who take the Captivate courses never connec

  • "ERROR SAVING RECORD" Message generated...

    Hi Everyone, I have a minor error with an Alert I made. I have an alert linked to both the Pre-Insert and Pre-Update Triggers at the Block level of my form. This alert fires when the Volume entered in the record is >50. It asks "Are you are sure the

  • A tool for analysis,design and manamement of a software development path

    Hi, I am looking for a tool helping in designing,analysing and managment of a software development process.Sth that integerates path of software development. All the best, Arash Kaviani.

  • NOT ACTIVATING

    ipad could not be activated because the activation serve is temporaily unavailable. try connecting to itunes to activate.  Then tells me it fails to connect to itunes because it cannot see apps on ipad