• Shortcuts : 'n' next unread feed - 'p' previous unread feed • Styles : 1 2

» Publishers, Monetize your RSS feeds with FeedShow:  More infos  (Show/Hide Ads)


Date: Wednesday, 15 Sep 2010 23:29

A preview release of the next Flash Player (named ‘Square’, designated as version 10.2.161.22) is available for download right from Adobe Labs. We’re pleased to announce that it’s available in both 32- and 64-bit flavors– for Linux, Windows and Mac.

Here is a brief summary of the new stuff. The new GPU acceleration features are particularly exciting.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Thursday, 25 Feb 2010 02:52

The third beta of Adobe Flash Player 10.1 (designated 10.1.51.95) is available for download in labs, including 32-bit Linux.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Wednesday, 24 Feb 2010 09:39

The third beta of Adobe Flash Player 10.1 (designated 10.1.51.95) is available for download in labs, including 32-bit Linux.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Friday, 12 Feb 2010 19:30

Pursuant to some of my technical posts regarding Linux, some people have asked for similar discussions covering other platforms. Coworker Tinic has just published a detailed blog post describing the drawing improvements being made for Mac platform. Read it and learn about all the possible graphic output paths depending on OS version and browser brand.

I'll tell you one thing-- learning what my Mac colleagues have to put up with when further developing the Flash Player plugin for OS X is almost enough to make me stop complaining about the API jungles on Linux... almost.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Friday, 12 Feb 2010 11:21

Pursuant to some of my technical posts regarding Linux, some people have asked for similar discussions covering other platforms. Coworker Tinic has just published a detailed blog post describing the drawing improvements being made for Mac platform. Read it and learn about all the possible graphic output paths depending on OS version and browser brand.

I’ll tell you one thing– learning what my Mac colleagues have to put up with when further developing the Flash Player plugin for OS X is almost enough to make me stop complaining about the API jungles on Linuxalmost.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Wednesday, 27 Jan 2010 20:23

The most common apples 'n oranges-style tech comparison I hear these days takes place between the Adobe Flash Player and pick-your-favorite-dedicated-video-player program. "Why does Flash Player take more CPU to play a video than my favorite video player?" It's a reasonable question and the answer can be distilled quite simply as, "The Flash Player solves a different problem than your favorite video player."

This is the core thesis of coworker Tinic's "On Performance" blog post from some time ago which addressed complaints comparing the performance of AJAX, SVG, and even static HTML to Flash. I've wanted to write this post for awhile but always hesitated since previous attempts at technical exposition largely fell on deaf ears. However, with the recent developments that minority browsers have made with supporting the HTML5 video tag, coupled with the recent announcements of such video sites as YouTube and Vimeo offering streams via these technologies, more people are recognizing that the issues surrounding video playback in the browser are in no way unique to the Flash Player. For those who wish to learn, here goes (for those who don't, feel free to skip straight to the comment form and get your flame on).

Video flow

Here is the general flow that a dedicated media player has to worry about:

video-flow.png

The compressed video data traverses through the video decoder which outputs YUV data to be splatted on the screen.

Here is what the Flash Player needs to do in order to play back video:

flash-flow.png

The Flash Player has to do a little bit more. In addition to decoding the data, it has to convert YUV data to the RGB colorspace and combine the image with other Flash elements. Then it has to cooperate with another application (web browser) to present the video to the user.

So the dedicated media player solves a problem: Generally, it plays linear media files from start to finish while allowing user interaction in the form of random seeking along the timeline. That's the most basic, trained monkey-type of labor in video playback. At most, the player might handle DVD menus.

Flash Player solves a different problem: It plays linear media files from start to finish while combining the video with a wide array of graphical and interactive elements (buttons, bitmaps, vector graphics, filters), as well as providing network, webcam, and microphone facilities, all programmable via a full-featured scripting language, and all easily accessible via a web browser using a plugin that most of the browsing population already has installed.

"But if I download the media file and play it in my dedicated media player, it takes less CPU."

Perhaps, but that's solving a different problem (playing a file using a dedicated, single-purpose application). The Flash Player works to solve the problem of making video accessible via the web browsing environment.

"But minority browsers don't use as much CPU while playing HTML5 video tag data."

Are you sure about that? As of this writing, browsers that support the video tag are likely to use a tremendous amount of CPU in order to play video. Why? It's likely because they have to deal with the exact same performance penalties that Flash does; specifically, that YUV video data needs to be transformed into RGB data to be plopped in the browser window. This is why I thought this might be a good time to write this article-- I have been seeing more and more comments in online forums observing that the video tag seems quite likely to peg CPUs.

"But at least with HTML5 video tag data, I can download the video and play it offline using a dedicated player."

Try to keep up here. That's not the problem that Flash Player is chartered to solve (same goes for HTML5 video). I know you're smart enough to download videos and watch them offline, but try to think on a macro level. Try to think of non-tech-savvy people of your acquaintence. (Please tell me you know people who aren't as tech savvy as you. If you don't, get to know some in order to maintain proper perspective.) Have you ever tried to tutor such an individual (remotely) in downloading and installing a separate video player? I have and it rarely goes well.

But I digress...

What can be done to improve performance?

Flash Player has an impressive software H.264 decoder, competitive with anything else you're likely to find out there. But there's going to be that YUV->RGB conversion penalty, plus blending the other SWF elements on the video, and possibly scaling to a much larger rectangle. We're pushing the software algorithms as hard as they will go. So what are the hardware options?

Dedicated decoding coprocessor

We're beginning to see video decoding coprocessors packaged in computers, particularly low-end netbooks. In this situation, the green box labeled [Video decoder] in the diagrams above is replaced by a piece of hardware. Everything else about those diagrams remains the same (including Flash's need to convert YUV to RGB). Flash Player 10.1 has support for Broadcom's video decoding coprocessors (according to the release notes, the BCM70012 "LINK" chip). This is currently supported in Windows. Support for these chips in Mac and Linux would be nice but the drivers aren't ready yet.

Video card acceleration

Assorted video cards from Intel, ATI and nVidia are also able to assist in video decoding as of Flash Player 10.1. Again, see the release notes for more detail on which models and drivers are required. Again, this is presently only available in Windows.

"Why aren't these card supported in Linux? My free software media player support VA-API, VDPAU, and XvBA (the various hardware acceleration APIs)."

Again, say it with me: Flash Player solves a different problem.

In the above depiction of Flash Player's workflow, the video card stands in for the green [Video decoder] box. The key point here is that the decoded video frames need to be accessible by the Player which needs to do its thing before the data can be presented to the user. As of this writing, none of these drivers in Linux allow retrieval of the decoded video data. Their counterpart Windows drivers do allow this which is why this feature is supported in Windows.

That's for Linux. What about Mac? I'm not sure but my Mac colleagues have mentioned something about Apple not making their hardware decoding APIs available to applications (if the APIs exist at all, which I'm not sure they do).

Video card scaling

After Flash Player has decoded a video frame, overlaid everything on top and is ready to present it in fullscreen mode, the hardware can assist in doing the scaling to fullscreen. This is a feature that Flash Player has had for a few releases now. Having to scale an RGB bitmap from 400x300 -> 1920x1200 is something that can easily be pawned off on hardware assuming that the right APIs are present.

"Why doesn't the Linux Flash Player use Xv for fullscreen scaling?"

We're not really going through this again, are we? I hope I have cogently presented the reasons between this post and this other one.

Summary

In case it's unclear, let me re-iterate: Flash Player is not the same as your standalone multimedia program. Flash Player solves a different set of problems than your standalone multimedia program. You might claim that your favorite multimedia program solves video playback problems to your satisfaction. However, the internet at large has unanimously declared that it appreciates the Flash Player's solution to the video problem.

Regarding the myriad video acceleration APIs in Linux, we are watching developments closely and look forward to implementing support when the drivers support the features conducive to Flash Player's operational model.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Wednesday, 27 Jan 2010 12:30

The most common apples ‘n oranges-style tech comparison I hear these days takes place between the Adobe Flash Player and pick-your-favorite-dedicated-video-player program. “Why does Flash Player take more CPU to play a video than my favorite video player?” It’s a reasonable question and the answer can be distilled quite simply as, “The Flash Player solves a different problem than your favorite video player.”

This is the core thesis of coworker Tinic’s “On Performance” blog post from some time ago which addressed complaints comparing the performance of AJAX, SVG, and even static HTML to Flash. I’ve wanted to write this post for awhile but always hesitated since previous attempts at technical exposition largely fell on deaf ears. However, with the recent developments that minority browsers have made with supporting the HTML5 video tag, coupled with the recent announcements of such video sites as YouTube and Vimeo offering streams via these technologies, more people are recognizing that the issues surrounding video playback in the browser are in no way unique to the Flash Player. For those who wish to learn, here goes (for those who don’t, feel free to skip straight to the comment form and get your flame on).

Video flow

Here is the general flow that a dedicated media player has to worry about:

video-flow.png

The compressed video data traverses through the video decoder which outputs YUV data to be splatted on the screen.

Here is what the Flash Player needs to do in order to play back video:

flash-flow.png

The Flash Player has to do a little bit more. In addition to decoding the data, it has to convert YUV data to the RGB colorspace and combine the image with other Flash elements. Then it has to cooperate with another application (web browser) to present the video to the user.

So the dedicated media player solves a problem: Generally, it plays linear media files from start to finish while allowing user interaction in the form of random seeking along the timeline. That’s the most basic, trained monkey-type of labor in video playback. At most, the player might handle DVD menus.

Flash Player solves a different problem: It plays linear media files from start to finish while combining the video with a wide array of graphical and interactive elements (buttons, bitmaps, vector graphics, filters), as well as providing network, webcam, and microphone facilities, all programmable via a full-featured scripting language, and all easily accessible via a web browser using a plugin that most of the browsing population already has installed.

“But if I download the media file and play it in my dedicated media player, it takes less CPU.”

Perhaps, but that’s solving a different problem (playing a file using a dedicated, single-purpose application). The Flash Player works to solve the problem of making video accessible via the web browsing environment.

“But minority browsers don’t use as much CPU while playing HTML5 video tag data.”

Are you sure about that? As of this writing, browsers that support the video tag are likely to use a tremendous amount of CPU in order to play video. Why? It’s likely because they have to deal with the exact same performance penalties that Flash does; specifically, that YUV video data needs to be transformed into RGB data to be plopped in the browser window. This is why I thought this might be a good time to write this article– I have been seeing more and more comments in online forums observing that the video tag seems quite likely to peg CPUs.

“But at least with HTML5 video tag data, I can download the video and play it offline using a dedicated player.”

Try to keep up here. That’s not the problem that Flash Player is chartered to solve (same goes for HTML5 video). I know you’re smart enough to download videos and watch them offline, but try to think on a macro level. Try to think of non-tech-savvy people of your acquaintence. (Please tell me you know people who aren’t as tech savvy as you. If you don’t, get to know some in order to maintain proper perspective.) Have you ever tried to tutor such an individual (remotely) in downloading and installing a separate video player? I have and it rarely goes well.

But I digress…

What can be done to improve performance?

Flash Player has an impressive software H.264 decoder, competitive with anything else you’re likely to find out there. But there’s going to be that YUV->RGB conversion penalty, plus blending the other SWF elements on the video, and possibly scaling to a much larger rectangle. We’re pushing the software algorithms as hard as they will go. So what are the hardware options?

Dedicated decoding coprocessor

We’re beginning to see video decoding coprocessors packaged in computers, particularly low-end netbooks. In this situation, the green box labeled [Video decoder] in the diagrams above is replaced by a piece of hardware. Everything else about those diagrams remains the same (including Flash’s need to convert YUV to RGB). Flash Player 10.1 has support for Broadcom’s video decoding coprocessors (according to the release notes, the BCM70012 “LINK” chip). This is currently supported in Windows. Support for these chips in Mac and Linux would be nice but the drivers aren’t ready yet.

Video card acceleration

Assorted video cards from Intel, ATI and nVidia are also able to assist in video decoding as of Flash Player 10.1. Again, see the release notes for more detail on which models and drivers are required. Again, this is presently only available in Windows.

“Why aren’t these card supported in Linux? My free software media player support VA-API, VDPAU, and XvBA (the various hardware acceleration APIs).”

Again, say it with me: Flash Player solves a different problem.

In the above depiction of Flash Player’s workflow, the video card stands in for the green [Video decoder] box. The key point here is that the decoded video frames need to be accessible by the Player which needs to do its thing before the data can be presented to the user. As of this writing, none of these drivers in Linux allow retrieval of the decoded video data. Their counterpart Windows drivers do allow this which is why this feature is supported in Windows.

That’s for Linux. What about Mac? I’m not sure but my Mac colleagues have mentioned something about Apple not making their hardware decoding APIs available to applications (if the APIs exist at all, which I’m not sure they do).

Video card scaling

After Flash Player has decoded a video frame, overlaid everything on top and is ready to present it in fullscreen mode, the hardware can assist in doing the scaling to fullscreen. This is a feature that Flash Player has had for a few releases now. Having to scale an RGB bitmap from 400×300 -> 1920×1200 is something that can easily be pawned off on hardware assuming that the right APIs are present.

“Why doesn’t the Linux Flash Player use Xv for fullscreen scaling?”

We’re not really going through this again, are we? I hope I have cogently presented the reasons between this post and this other one.

Summary

In case it’s unclear, let me re-iterate: Flash Player is not the same as your standalone multimedia program. Flash Player solves a different set of problems than your standalone multimedia program. You might claim that your favorite multimedia program solves video playback problems to your satisfaction. However, the internet at large has unanimously declared that it appreciates the Flash Player’s solution to the video problem.

Regarding the myriad video acceleration APIs in Linux, we are watching developments closely and look forward to implementing support when the drivers support the features conducive to Flash Player’s operational model.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Wednesday, 27 Jan 2010 01:00

It seems that my Welcome to the Jungle post illustrating the mess of audio APIs in Linux has shaped up to be among the most popular on this blog. A picture is worth a thousand rants and all that. I sometimes consider updating that graph to reflect the current (surely messier) state of things. But I think it drives home its point nicely as is.

Another topic that has arisen is hardware-accelerated video decoding, H.264 video in particular since that is the standard video format. There aren't nearly as many ways to do this as there are there are to, e.g., push time domain samples out to a kernel-abstracted DAC, but it still amounts to at least a thicket.

linux-video-accel.png

Unfortunately, all of these options have problems right now which make them unsuitable for use in the Linux Flash Player. I plan to expound on this fact in a later post.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Tuesday, 26 Jan 2010 17:00

It seems that my Welcome to the Jungle post illustrating the mess of audio APIs in Linux has shaped up to be among the most popular on this blog. A picture is worth a thousand rants and all that. I sometimes consider updating that graph to reflect the current (surely messier) state of things. But I think it drives home its point nicely as is.

Another topic that has arisen is hardware-accelerated video decoding, H.264 video in particular since that is the standard video format. There aren’t nearly as many ways to do this as there are there are to, e.g., push time domain samples out to a kernel-abstracted DAC, but it still amounts to at least a thicket.

linux-video-accel.png

Unfortunately, all of these options have problems right now which make them unsuitable for use in the Linux Flash Player. I plan to expound on this fact in a later post.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Thursday, 10 Dec 2009 20:18

There's a new version of Flash Player 10 available, designated version 10,0,42,34, which primarily addresses security issues. This update includes x86_32 Linux and even a refresh of the x86_64 version. In the interest of managing expectations, the new x86_64 version is not significantly different from the previous x86_64 version. It is different in that it contains the relevant security fixes and perhaps a few other low-risk fixes.

Check the sidebar ("Adobe Flash Player For Linux") for download locations.

This is the new current version of Flash Player 10, which is not to be confused with the 10.1 beta which was recently released and of which there is presently no 64-bit version. Sometimes I think I need to draw a picture to keep all these versions straight (but where to find software that can enable such creativity?).

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Thursday, 10 Dec 2009 12:17

There’s a new version of Flash Player 10 available, designated version 10,0,42,34, which primarily addresses security issues. This update includes x86_32 Linux and even a refresh of the x86_64 version. In the interest of managing expectations, the new x86_64 version is not significantly different from the previous x86_64 version. It is different in that it contains the relevant security fixes and perhaps a few other low-risk fixes.

Check the sidebar (“Adobe Flash Player For Linux”) for download locations.

This is the new current version of Flash Player 10, which is not to be confused with the 10.1 beta which was recently released and of which there is presently no 64-bit version. Sometimes I think I need to draw a picture to keep all these versions straight (but where to find software that can enable such creativity?).

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Tuesday, 17 Nov 2009 05:07

The beta of Flash Player 10.1 is available for download via labs.adobe.com. For this beta release, there is only a 32-bit plugin available for Linux (64-bit users will still need to use the previously released alpha version).

Bugs can be reported and tracked here.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Tuesday, 17 Nov 2009 00:01

The beta of Flash Player 10.1 is available for download via labs.adobe.com. For this beta release, there is only a 32-bit plugin available for Linux (64-bit users will still need to use the previously released alpha version).

Bugs can be reported and tracked here.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Friday, 09 Oct 2009 17:10

Check out this press release from earlier this week at Adobe MAX regarding the forthcoming Adobe Flash Player version 10.1 -- GPU-Accelerated Netbooks from HP, Lenovo and Samsung Support full Flash Player:

The combination of NVIDIA GPUs and Adobe Flash Player 10.1 enables device manufacturers to deliver uncompromised Web browsing of rich applications, interactive content and HD video with substantially decreased power consumption. With the support of the NVIDIA GeForce®, NVIDIA ION™ and Tegra™ products users will be able to enjoy a much smoother viewing experience when accessing rich content built with the Flash Platform including HD and SD video from popular sites like Hulu.com or YouTube.

In answer to any other questions regarding this feature: The above is what the press release says so that's what I'm allowed to pass along.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Friday, 09 Oct 2009 09:41

Check out this press release from earlier this week at Adobe MAX regarding the forthcoming Adobe Flash Player version 10.1 — GPU-Accelerated Netbooks from HP, Lenovo and Samsung Support full Flash Player:

The combination of NVIDIA GPUs and Adobe Flash Player 10.1 enables device manufacturers to deliver uncompromised Web browsing of rich applications, interactive content and HD video with substantially decreased power consumption. With the support of the NVIDIA GeForce®, NVIDIA ION™ and Tegra™ products users will be able to enjoy a much smoother viewing experience when accessing rich content built with the Flash Platform including HD and SD video from popular sites like Hulu.com or YouTube.

In answer to any other questions regarding this feature: The above is what the press release says so that’s what I’m allowed to pass along.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Thursday, 06 Aug 2009 01:30

Adobe recently released a new Flash Player version for all supported platforms (including the 64-bit Linux alpha) which addresses a number of important security issues. I suspect that by now, the update has propagated through most distributions' package management systems. If your Flash Player version (see here) is less than 10.0.32.18, do consider upgrading soon. (After all, we don't wish to undermine the platform's rock-solid reputation for security.)

See the sidebar for download locations.

In other news, as you can imagine, today's xkcd comic made the rounds in the office. That's good stuff; there are layers of meaning behind those pithy stick figures. I guess this would be a good time to link back to my post about hardware acceleration in Flash on Linux and invite another round of questions that are already clearly answered in that post.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Wednesday, 05 Aug 2009 17:58

Adobe recently released a new Flash Player version for all supported platforms (including the 64-bit Linux alpha) which addresses a number of important security issues. I suspect that by now, the update has propagated through most distributions’ package management systems. If your Flash Player version (see here) is less than 10.0.32.18, do consider upgrading soon. (After all, we don’t wish to undermine the platform’s rock-solid reputation for security.)

See the sidebar for download locations.

In other news, as you can imagine, today’s xkcd comic made the rounds in the office. That’s good stuff; there are layers of meaning behind those pithy stick figures. I guess this would be a good time to link back to my post about hardware acceleration in Flash on Linux and invite another round of questions that are already clearly answered in that post.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Saturday, 09 May 2009 00:13

I don't mind telling you that I'm a little nervous about this business of Debian switching to EGLIBC. I know, it's supposed to be binary compatible and it shouldn't matter to application developers. Does that include developers of closed source binaries? In developing the Flash Player, we've seen problems with C library compatibility before, and that was just in trying to support a single C library across multiple distributions. So now I'm worried about subtle API or binary incompatibilities that may arise between the 2 C libraries.

So far, this is a Debian move. But that may influence other distributions. From reading various sources and bug trackers, it looks like more distributions are evaluating the idea (or perhaps just fielding questions from users who are not up to speed on the issues but who have read the headlines).

There are already enough challenges in trying to produce a single binary that runs across as many Linux distributions as possible. But who knows? Maybe this will whole episode blow over like so many audio APIs.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Date: Friday, 08 May 2009 16:00

I don’t mind telling you that I’m a little nervous about this business of Debian switching to EGLIBC. I know, it’s supposed to be binary compatible and it shouldn’t matter to application developers. Does that include developers of closed source binaries? In developing the Flash Player, we’ve seen problems with C library compatibility before, and that was just in trying to support a single C library across multiple distributions. So now I’m worried about subtle API or binary incompatibilities that may arise between the 2 C libraries.

So far, this is a Debian move. But that may influence other distributions. From reading various sources and bug trackers, it looks like more distributions are evaluating the idea (or perhaps just fielding questions from users who are not up to speed on the issues but who have read the headlines).

There are already enough challenges in trying to produce a single binary that runs across as many Linux distributions as possible. But who knows? Maybe this will whole episode blow over like so many audio APIs.

Author: "Mike Melanson" Tags: "Uncategorized"
Send by mail Print  Save  Delicious 
Date: Monday, 17 Nov 2008 06:33

We are pleased to announce that there is now a version of the Flash Player for Linux that supports 16 theoretical exabytes of physical memory. This technological feat is accomplished using a bleeding edge type of processor known as a 64-bit CPU.

Zilog_Z80.jpg
Pictured: the next big thing-- an 80-bit CPU
; but 64 bits will have to do for now

So we have this x86-64 version of the Linux Flash Player available for those Linux users who have moved on to fully 64-bit computing environments. Go get it now on Labs. Be advised that this is pre-release quality. We hope to receive useful feedback about what areas need to be improved. You can help. You can report bugs at the Flash Player bug tracker. Hey, it gets results-- the 64-bit issue is approaching resolution. Or you can try the customary drive-by bug report in the comments section ("I tried it on XYZ distro and it didn't work!") which is almost guaranteed to help no one.

I feel a bit sentimental about it all. It's weird, but I think I'm going to miss the hundreds of comments on every post gently requesting a 64-bit version. So don't be afraid to pop in with a "64-BIT NOW!!!1!!" comment every so often, you know, just for old time's sake.

Author: "Mike Melanson"
Send by mail Print  Save  Delicious 
Next page
» You can also retrieve older items : Read
» © All content and copyrights belong to their respective authors.«
» © FeedShow - Online RSS Feeds Reader