Flash :: Get GPU Acceleration For H264 In An Adobe Air Fullscreen App?

Jul 16, 2010

I'm toying with an Adobe Air app that plays quite large movies. I want to run it on a 1920x1080 display connected to a Mac. Unfortunately, the movies tend to stutter and I'm betting that happens because I'm not using HW GPU acceleration for H264 playback.

Most of the player code is ported (aka copied) from a web player I built and which runs very smooth on the Flash Player from the browser. So the code shouldn't be the problem.

In the Flash Player, to use GPU acceleration in a fullscreen mode, you have to set the Stage.fullscreenSourceRect property. However, this doesn't seem to work in Adobe Air...

View 3 Replies


Similar Posts:


Flash :: Disable Adobe Player Hardware Acceleration In The Embed Code?

Jan 18, 2011

We run surf camera streams on our website, which are played via the latest version (5.4) of JWPlayer on our pages. Recently we switched over to another streaming service, and H.264 streams, as we are planning on streaming out to iOS devices in the very near future, however this introduced a bug on the client side where users to not receive vision (they only see a black screen where the video is normally seen).

We have discovered that disabling the Hardware Acceleration (which was introduced in Flash Player 10.1+) fixes this issue, and given the spectrum of environments where this issues is happening I would wager that this is related to specific graphics cards, their drivers, and how they handle the vision decoding etc.

The documentation we have found relating to disabling Hardware Acceleration only indicate that this can be done via the wmode param, i.e. by setting it to wmode="opaque" or wmode="transparent" however this doesn't seem to work in all cases (for the most part the issue is no longer there) however we are still seeing 30% of our users getting this issue.

We can ask the users to disable hardware acceleration themselves, and we have provided details on how to do this, however to me that is only a temporary fix, and I was curious as to whether or not there was something more permanent we can put in until Adobe fix up this issue?

View 1 Replies

ActionScript 3 :: Adobe Air - Opening App In Fullscreen

Jan 31, 2012

I created an Air desktop app with Flash CS 5. Usually Windows (XP) is opening an application (like Firefox) with the latest set size and position. For my installed Air app it's always just the default one. How to start it with the latest used size and position?

View 3 Replies

Professional :: GPU Acceleration In Flash?

May 14, 2010

I'm working for a company who is using flash to play HD media. Right now, the systems they are having to buy to play the media conent must have relatively decent CPUs in them due to flash relying mostly on the CPU.  With the flash 10.1 beta there is now obviously a focus on GPU acceleration and we are quite excited about this as it could considerably drop the cost of each of our hardware units.  We have tried some tests thus far however it appears that our flvs are not taking advantage of the GPU acceleration.  The only way I know how to test this is by enabling/disabling the hardware acceleration from the settings menu in flash and then restart the browser to be sure the setting has changed. 

I am assuming that our flv is perhaps not encoded in a format that flash will be able to use hardware acceleration for however I am not completely sure of this.  The media encoding is not part of my job on this project howeve I am tasked with the testing of the flv's on carious hardware.  Is there a specific codec that needs to be used or a way of encoding the flv so that flash player 10.1 beta can play the video with hardware acceleration?

I don't know the ins and outs of the encoding process that is currrently being used, but I will pass any infomation gathered here onto our media guys and developers.  I do know that using the flash 10.1 beta on youtube I can play 1080p videos fullscreen using nVidia GPU and an intel atom cpu without any issues with the hardware acceleration on.  WIthout it, the cpu hits 90+% and the video is way to choppy to be of use so hardware acceleration is definitely working there.

View 2 Replies

Flex3 :: Flash Hardware Acceleration Also In Sdk?

Sep 9, 2011

in the adobe flash publish settings i spotted a setting called "Hardware acceleration" with these options:

-None
-Level 1 - Direct
-Level 2 - GPU

now my question is, if you dont use flash to compile your swf but rather flex sdk, can you also enable these accelerations?

View 1 Replies

Flash :: Add Acceleration To Limited Movement?

Dec 18, 2011

For a maze game, I'm trying to add acceleration to the movement of my character.Because the character shouldn't walk through walls, the movement function and hittest are in the same function.

I tried adding the acceleration in if statements in this function, but that doesn't work properly. [code]...

View 1 Replies

Flash 10 :: Possible To Check Hardware Acceleration?

Sep 22, 2010

Is possible to check by actionscript if h.264 video playback is using hardware acceleration?

View 0 Replies

Actionscript 3.0 :: Streaming The Flash H264?

Apr 14, 2010

I´m having problems with h.264 in Flash. streaming a h.264 video from Red5 to a Flash client with ActionScript 3 or 4. The original code supports streaming video in .flv format with Sorensen and I would like to support .flv format with h.264 encoding. Does someone know something about? This is my original code:

play_btn.play_symbol_txt.background = false;
stop();
isPaused = true;
var nc:NetConnection = new NetConnection();

[code]....

View 1 Replies

Which Flash Video Format Is More Compressed FLV Or H264

Apr 7, 2010

I read an Adobe article which demonstrated H.264 video playback support in Flash Player. Would video encoded in this format be more compressed than typical FLV videos? Should I be using this format for video I place on websites from now on?

View 3 Replies

H264 Video Driven Flash Sites

Mar 11, 2010

i stumbled accross the following website: URL...As you can see, the site is driven using a hd video. the user can interact with the site by performing little actions with the mouse. I guess this is simply accomplished by seeking through the video using the mousemovements as offset.What i would like to know is, how are videos like this encoded ? How big is the video behind a site like this ? Is the HD content streamed from the server ? What compression would you recommend for similar quality ? Do you guys know a tutorial/article that deals with constructing "video driven" websites like the one above ?

View 1 Replies

ActionScript 3 :: Flash - Calculating Frame Independent Acceleration?

Jan 17, 2012

I have a 2D side scrolling game (made with ActionScript 3) that runs at 60 frames per second. I'm trying to make it frame rate independent so it will run on slower devices.

To do this I create a var called timeElapsed by calculating how many milliseconds have passed between each frame and dividing that by 16 (60 fps is about 16ms, I think.) So that at 60 fps the result would be about 1. Then I times any time related vars by this number (e.g player.x = speed * timeElapsed;) This is the code:

private var oldTime :Number;
private var defaultFrameRate :uint = 16; // the default frame rate in milliseconds
private var timeElapsed :Number;

[Code]....

As you can see, at 30 frames per second the player is moved further in the same amount of real time. What seems to be the issue is that, at 30fps in frame one, my current code doesn't account for the slight difference in speed between frame one and two at 60fps. I thought of getting the average value of speed between any two frames at 60fps and using that to calculate a more accurate value when the frame rate changes but I got the feeling wouldn't work correctly in some other situations since at 60fps for example, it would move the player by 115 and not 110 pixels.

Is their any way to accurately simulate an object accelerating in a way that is frame rate independent?

View 1 Replies

IDE :: Hardware Acceleration In Flash Games Become Bigger And Faster?

Oct 22, 2008

[URL].. To enable the SWF file to use hardware acceleration, select one of the following options from the Hardware Acceleration menu: Level 1 - Direct Direct mode improves playback performance by allowing Flash Player to draw directly on the screen instead of letting the browser do the drawing. Level 2 - GPU In GPU mode, Flash Player utilizes the available computing power of the graphics card to perform video playback and compositing of layered graphics. This provides another level of performance benefit depending on the user's graphics hardware. Use this option when you expect that your audience will have high-end graphics cards. If the playback system does not have sufficient hardware to enable acceleration, Flash Player reverts to normal drawing mode automatically. For best performance on web pages containing multiple SWF files, enable hardware acceleration for only one of the SWF files. Hardware acceleration is not used in Test Movie mode. When you publish your SWF file, the HTML file that embeds it contains a wmode HTML parameter. Choosing Level 1 or Level 2 hardware acceleration sets the wmode HTML parameter to "direct" or "gpu" respectively. Turning on hardware acceleration overrides the Window Mode setting you may have chosen in the HTML tab of the Publish Settings dialog box, because it is also stored in the wmode parameter in the HTML file.

Does this mean that the newest version of Flash will support Hardware acceleration? The kind of hardware support that will produce less laggy animations and games? I've been waiting for flash to do this. I have a couple game ideas, but they're too big for flash, and well, I wasn't very inspired to learn other languages.

View 6 Replies

Flash :: H264 Mp4 Index To Front Command Line?

Sep 30, 2011

Is there any command line tools to move an h264/mp4 index to the beginning so that flash will start playing the file quicker over the net? I am aware of the tool QTIndexSwapper however it is not command line.

Alternatively is there an ffmpeg command to place the index at the front during an encoding?

View 2 Replies

ActionScript 3 :: Enable Hardware Acceleration For SWF Generated In Flash Builder

Oct 5, 2011

Is it possible to enable hardware acceleration (Level 1, Level 2) for a swf generated in Flash Builder. I don't use the Flash IDE and therefor I have no access to the "Publish Settings" in the Flash IDE? Maybe there is some compiler arguments? [URL]. To enable the SWF file to use hardware acceleration, select one of the following options from the Hardware Acceleration menu:

Level 1 - Direct Direct mode improves playback performance by allowing Flash Player to draw directly on the screen instead of letting the browser do the drawing.
Level 2 - GPU In GPU mode, Flash Player utilizes the available computing power of the graphics card to perform video playback and compositing of layered graphics.

This provides another level of performance benefit depending on the user's graphics hardware. Use this option when you expect that your audience will have high-end graphics cards. If the playback system does not have sufficient hardware to enable acceleration, Flash Player reverts to normal drawing mode automatically. For best performance on web pages containing multiple SWF files, enable hardware acceleration for only one of the SWF files.

Hardware acceleration is not used in Test Movie mode. When you publish your SWF file, the HTML file that embeds it contains a wmode HTML parameter. Choosing Level 1 or Level 2 hardware acceleration sets the wmode HTML parameter to "direct" or "gpu" respectively. Turning on hardware acceleration overrides the Window Mode setting you may have chosen in the HTML tab of the Publish Settings dialog box, because it is also stored in the wmode parameter in the HTML file.

View 1 Replies

Flash - StageVideo Not Showing Live Stream Video (non-H264)?

Sep 12, 2011

use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream

View 1 Replies

Actionscript 3 :: Record And Save Flash Video's With H264 Codec

Jan 31, 2012

Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive.This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example c ode and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards.I found how to implement a H.264 encoding in a realeyes blog post here. My code is here.It saves the video as a .f4v file, but my browser (I've tried the latest versions of both Chrome and Firefox, with the latest Flash) and also VLC are unable to load the video. I also used a program called Movie Player which is able to open the file but can only show the first frame and the audio. Neither am I able to upload the video to YouTube because they do not support the file extension.Here is an example video file it saved: H264Test1.f4v.My question is: How do I stream and save the movie with a file extension that I am able to re-watch while using the H.264 codec?

View 1 Replies

ActionScript 2.0 :: Fullscreen Scroll Bar On Fullscreen Flash Site

Apr 19, 2009

I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...

View 1 Replies

Flash :: Click And Drag To Spin The Wheel Complete With Acceleration And Deceleration In AS3

Oct 28, 2010

In my Flash File I have a wheel. The user is able to rotate the wheel by using arrows to jump to the next "segment" (think 20 images attached to each other forming the circumference of the wheel).

[Code]...

However, what I want to be able to do is, click and drag to spin the wheel, complete with acceleration and deceleration and even settling on the nearest image when the wheel reduces to a certain speed. I have no idea how to go about doing this: I'll need to kinda detect a before and after position of the cursor and translate this into a speed for the wheel which then decelerates over time and also detect which image is closest at a certain speed and "snap" it, both scrolling up and down. (it'll only affect the Y-axis)

View 1 Replies

Flash 10 :: Plug-in With Hardware Acceleration The Video Movie Clips Seem To Fall Apart?

Dec 23, 2011

Has anyone found that since Flash 11 plug-in with hardware acceleration the video movie clips seem to fall apart? I see quality loss both in hardware acceleration and without in all my clips since this upgrade. Before that the movies were fine! Also I have installed a new Nvidia driver, do you think this is a issue?

I think Flash enables hardware acceleration in in-page video movies as well as full-screen mode.

Do I have to redo all my video clips now or am I just confused?

View 0 Replies

Media Server :: IOS To Play H264 Encoded By Flash Player Via Relay Of FMS?

Aug 16, 2011

Probably this feature is in the next generation of FMS 4.5 However, it is said this can be achieved with some manipulation of files with current FMS. Can we do a 2-way live video session.
 
UserA(in webpage flashplayerV11 beta: encode using H264) -> Flash Media Server -> UserB at iPhone(either HTML5 or others to play the live video in RTMP/RTMFP)

Next step will be the reverse:UserA(in webpage flashplayerV11 beta: decode using H264) <- Flash Media Server <- UserB at iPhone(either HTML5 or others to publish the live video in RTMP/ RTMFP)Better to use UDP based.Seems the HTTP live streaming incurs huge delay 4-8sec; not really working for live video chat sessions.. So how Skype handle this on iOS? with its own encoding/decoding?

View 2 Replies

Media Server :: H264 Live Encoding In Flash Player 11 Slowly?

Oct 21, 2011

I am using the new Flash Player 11 ability to encode H264 video within the Flash Player. I am streaming the webcam via RTMP to a FMS. I am using the following settings:H.264 BaselineLevel 5.1Keyframe freq. 5 seconds25 FPSInput size: 1280 x 720 (720p)Output size: 1280 x 720 (720p)Bit Rate: 1000KbpsWhen I am using these settings with FMLE 3.2, the final stream plays very fluent with a good amount of FPS. If I am using Flash Player 11 for the encoding job instead, the final video is not as fluent as before and achieves less FPS (maybe 5 FPS).So the question is: is Flash Player 11 not as good as FMLE 3.2 or am I missing some configuration?

View 2 Replies

Flash 10 :: Wrap Video Mov(h264) Inside The Final App For Android/iPad2?

May 22, 2011

I�m building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app? I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market�

PS like to do the same with Android, the package (apk) no stream video.

View 0 Replies

C# :: WebBrowser Flash Fullscreen / ESC Won't Exit Fullscreen

Jul 14, 2010

I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??

View 3 Replies

Flash :: Error Appears When Resuming The Paused H264/mp4 Streaming Video From Red5 Server

Nov 22, 2010

I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:

[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000

I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.

And there's no problem when I'm resuming the .flv file.

View 1 Replies

Flash 10 :: Flash Player GPU Acceleration?

Sep 11, 2010

if Adobe is going to implement GPU acceleration into the Flash Player (similar to what is now going on with all internet browsers and HTML5), I am not asking about acceleration of HD video which they have done with v10 of flash player but about real DirectX or Direct2D acceleration so the whole scene and all objects on it would be accelerated by graphic card.

View 2 Replies

ActionScript 3.0 :: Adobe.utils.Extension Not Found In Adobe Flash Professional CS5

Dec 23, 2010

In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?

View 12 Replies

Actionscript 3 :: Network Game By Adobe Air Programming In Adobe Flash

Dec 28, 2011

I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?

View 2 Replies

ActionScript 3.0 :: Simulate An Acceleration That Looks Like A Car's Gear?

Feb 16, 2011

I've been trying to create a new class of vehicle and simulate a somewhat realistic acceleration/velocity relationship and behavior but with no success.
At least, I can't figure out how to do what I want to do.

Which is this:I have a vehicle with a maxVelocity and an initialAcceleration properties, and what I want to find out is how to express the vehicle's acceleration with the two above mentioned variables so that the vehicle stops accelerating when it reaches its maxVelocity (meaning that acceleration reaches 0).

I believe there are some serious maths going on behind this seemingly simple thing, at least too serious for me, and I tried to remember what I learned years ago about arithmetic progressions and stuff like that but to no result other than a headache.

Does someone know how to do it, if it's actually possible. And if not, how you guys do to simulate an acceleration that looks like a car's gear.

View 2 Replies

ActionScript 2.0 :: MovieClip Rotation With Acceleration

Apr 12, 2010

How to MovieClip rotation with acceleration?

View 2 Replies

ActionScript 3.0 :: How To Disable Hardware Acceleration

Jul 21, 2011

Is it possible to disable hardware acceleration with actionscript something likehardwareAcceleration.enabled = falseOn some computers and particular browsers the video in my flash app wouldn't show properly displaying only green screen - when I uncheck hardware acceleration in the flash player settings all goes back to normal.So I was wondering would it be possible to do it with actionscript. In my publish settings Hardware acceleration is set to none, but that doesn't seem to work.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved