Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Flash Player 9 Gets H.264 Support

Posted by kdawson on Tue Aug 21, 2007 07:52 AM
from the game-changer dept.
ReadWriteWeb alerts us to the release later today of Flash Player 9 Update 3 Beta 2, codenamed Moviestar, which will support H.264 standard video as well as High Efficiency AAC (HE-AAC) and other improvements. Adobe engineer Tinic Uro, who works on the Flash Player, has more technical detail on his blog.
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Is this for YouTube? (Score:5, Interesting)

    by Anonymous Coward on Tuesday August 21 2007, @07:56AM (#20303253)
    So is this the corresponding software support behind YouTube's earlier announcement that they'll be serving H.264?
    • Re: (Score:3, Insightful)

      I figured that as well, but even if they take advantage of that, they'll need to check what version the user has and serve content accordingly, because obviously this update won't be everywhere at once.
      • by holysin (549880) on Tuesday August 21 2007, @08:58AM (#20303905) Homepage
        Really it depends on your goals. h.264 could (in theory at least) produce smaller files for the same quality video, so the server would send less data. Always a plus if you're paying for your pipe. But as other posters have pointed out, how long will it take for most people to upgrade flash versions? My guess, if youtube starts using only the latest version of flash, and "suggests" that the users do so too, well, then the users will do so.

        So, in a nutshell, I'd say use h.264 and ask whatever users you have that aren't youtube addicts to upgrade nicely. You might save some money (and heck, if they have pay for play connections, the users will too ;-) )

        (Note that this advice assumes you're not serving up HD content.)
        • Re: (Score:3, Informative)

          Erm, also the above advice assumes you aren't going to be posting video until the release comes out. It can be a bit rude to ask your users to use beta software ;-)
        • Re: (Score:3, Interesting)

          And if it's impossible to upgrade? Say, if you're using a device, like the Wii. I don't believe Adobe offers Flash 9 for devices yet.
        • by sremick (91371) on Tuesday August 21 2007, @10:23AM (#20305101) Homepage
          "how long will it take for most people to upgrade flash versions?"

          I'll update Flash once Adobe gives me a version that works. For now, I'm stuck with version 7 for a different OS, thunked in with some hacked-up compatibility layer. Every day, more and more websites are inaccessible to me.

          Flash is bane on the internet, giving a proprietary stranglehold to a single commercial company. It turns Adobe into another Microsoft and Flash becomes its "IE"... the more people they can get to use Flash, the more control they have over the keys to the internet, granting them only to whatever OS and browsers they feel like producing Flash plugins for.

          Little of what Flash is used for even requires Flash and could be done with modern OS-agnostic DHTML. Sadly, too many web designers are sucking Adobe's dipstick.
            • by sremick (91371) on Tuesday August 21 2007, @10:41AM (#20305419) Homepage
              I didn't say DHTML could do everything Flash did. I said "Little of what Flash is used for even requires Flash...". Read my comment again.

              Most sites using Flash are using it for such mundane purposes as doing mouseover/expanding menus and other simple interface mechanics that not only can be done with DHTML, but can be done simpler with broader browser compatibility and faster page-load times (less bytes on the wire). In fact, a site's basic interface and navigation should never require a plugin. Plugins should only offer added content.
              • by Negadecimal (78403) on Tuesday August 21 2007, @12:33PM (#20307261)
                but can be done simpler with broader browser compatibility and faster page-load times (less bytes on the wire)

                I'll agree with you on the first point, but for simple interface stuff, I've actually produced many Flash solutions that required a less bytes than the canned "multibrowserconfigurableexpandingmenus.js" stuff people use.

            • In which user agents can DHTML play a sound whenever the user does something, such as playing a "rustling leaves" sound when the user moves his character next to a tree and presses the use key?
              Since you asked, here's the list:
              - Safari 9
              - Firefox 10
              - Opera 8
              - Internet Explorer 53

                • function playSound(url){
                  if (navigator.appName == "Microsoft Internet Explorer") {
                  var snd = document.createElement("bgsound");
                  document.getElementsByTagName("body")[0].appendChi ld(snd);
                  snd.src=url
                  } else {
                  var snd = document.createElement("object");
                  snd.width="0px";
                  snd.height="0px";
                  snd.type
  • Linux (Score:5, Interesting)

    by Trip Ericson (864747) on Tuesday August 21 2007, @07:56AM (#20303255) Homepage
    Now let's just hope it doesn't take an additional 6 months for this to make its way into the Linux version. Flash Player 9 for Linux came out some months after Flash Player 9 for Windows/Mac did.
    • Re: (Score:3, Informative)

      by Anonymous Coward
      Beta 1 of this version is already out for linux. Let's hope beta 2 will too.
      • Re: (Score:3, Interesting)

        Did you notice any stability improvements aswell? Flash still causes Firefox to crash way too much with the latest non-free 'stable' version...
    • Once sites like metacafe and youtube start offering their content via h.264 streams we can ditch flash for video altogether.
      • Re: (Score:3, Insightful)

        I really don't see why this pure hatred of flash. With sure the official versions are not open source. But all in all it is better then what we had before. If you don't remember back in the days of IE 4 and Netscape 4 Every website that wanted to do something a little more advanced then showing a couple of animated gifs, usually had or made their own plug in that worked only for Windows, or sometimes in a rare occurrence there was a plug in that would work on different OS's. Now with flash this isn't the
        • Re:Who cares? (Score:5, Insightful)

          by Paradox (13555) on Tuesday August 21 2007, @09:51AM (#20304603) Homepage Journal
          On the subject of Flash Hating, I can tell you the deep fear lurking in every web developer's heart. One day, in a bleak and post-apocalyptic future, Adobe could own the web and web design the way they utterly own print media. They're already on the verge of this, since the vast majority of professionally designed websites use Illustrator and a bit of Photoshop to create their images. Adobe gets to charge $300-$1200 to every graphic designer who expects to be taken seriously.

          Imagine if the web became that way, as well. Dark times.

          But the H.264 issue is different. Basically Adobe has said, "We are adopting a not-awful codec for our video playing, seeing as how flash video is popular but large distributors of video (YouTube) have shown that they will leave the format to hit the mobile and embedded space if need be.

          So now Apple, Adobe, Google, Sony and Toshiba have standardized on QuickTime enclosures (mp4) with H.264 video and AAC audio (when compressed, HD discs can use much less lossy encoding when they want to). How long do WMV and WMF have to live? Now that Flash can play high-quality HD video (and extremely-small-file-size SD video), and preparing with one codec can prepare for everything from phones to HD televisions, what appeal does Microsoft's codecs and containers have? Surely no one can suggest that Windows Media Player has better deployment than Adobe's Flash?
              • Re: (Score:3, Interesting)

                Uh, power consumption is significant for media PC's, more heat means the fans have to spin faster = more noise. Also there are plenty of people who might be potential consumers of HD content that don't want to buy a new PC, as this [theinquirer.net] article points out an Athlon 3000+ can barely handle 480p content, let alone 720p or 1080p using H.264 but has no problem with VC1@1080p.
        • Re: (Score:3, Interesting)

          Speaking not as a developer/producer/streamer but just as someone who sometimes needs to visit a website using Flash:

          I resent the lack of control over how individual objects on the page (or "under" the page for that matter) are rendered or not rendered. I grit my teeth every time I right click on a page and get that utterly useless Flash menu.

          I don't really care about whether I should have the right to alter the way a page is presented or if the producer should have the right preserve his or her intentions
            • Re: (Score:3, Insightful)

              That wasn't his point - I too use FlashBlock. The problem is that there is no way to know what's there until you start it. At which point, you often can't easily stop the flash if it turns out to be an ad, or something else you didn't want. There often is no way to pause it to go grab a drink. There often is no way to rewind it and start over.

              It's easy to "choose what flash items you want turned on individually" - it's damn near impossible most of the time to actually have any control over the flash item
    • Is there no existing free (modulo patent hassle) program to play H.264 videos?
  • Ads (Score:5, Funny)

    by QuantumPion (805098) on Tuesday August 21 2007, @08:00AM (#20303285)
    Sweet, now we can be annoyed by advertisements in HD, at 100x the bandwidth!
    • Re:Ads (Score:5, Insightful)

      by WPIDalamar (122110) on Tuesday August 21 2007, @08:01AM (#20303299) Homepage
      People bitching about Flash because of ads is like people bitching about C because of viruses.
      • Re: (Score:3, Interesting)

        Right... because we have to put up with viruses on every web page we go to...

        If you're going to make an analogy, you should come up with a better one. Sure, viruses may use C, but (if you're smart) you'll never run into one. Annoying Flash ads, on the other hand, are commonplace on many legitimate sites. Now before somebody screams "Adblock!", just remember that ads should be useful and relevant, not resource-intensive and obtrusive.
      • Re: (Score:3, Interesting)

        comparing Flash to C is like comparing MSN Messenger Protocol to XMPP.
    • actually, this would require less bandwidth then before given the higher compression of h.264

      what you can look forward to however, is the same ads in HD consuming your memory and cpu like never before as your pc attempts to cope with a multitude of h.264 video.

  • T minus... (Score:5, Insightful)

    by MrNemesis (587188) on Tuesday August 21 2007, @08:01AM (#20303293) Homepage Journal
    Linux support coming in 1,000,000... 999,999... 999,998...

    Actually, a million seconds is less than two weeks, that's far too quick!
  • Meanwhile... (Score:4, Interesting)

    by phrasebook (740834) on Tuesday August 21 2007, @08:01AM (#20303295)
    Various choices I've recently made (like using amd64, and dumping Firefox for Konqueror) mean that I've not been using a Flash player at all. So far, I've missed out on things like:

    * The BMW website
    * Countless links to clips on Youtube
    * Advertising banners
    * Homestar runner

    Some of these things might have been mildly useful, but I can't say I really miss any of it. I'm not sure having the Flash player installed is worth the annoyance and distraction it usually ends up driving me to. If I'm honest, Flash player has seen the most use when I've been bored, depressed, procrastinating or similar.

    I'm quite enjoying being Flash-free.
  • I was under the impression that flash 9 was already using h264. If not, then what were they using before ?
    • Re: (Score:3, Informative)

      by Anonymous Coward
      On2 VP6 [wikipedia.org] and Sorenson Spark [wikipedia.org] (H.263).
    • Re: (Score:3, Informative)

      by Anonymous Coward
      As of flash 8 they were using ON2 VP6, which is pretty good but not an open standard, and also a huge CPU hog. Before that (and it's still supported) they were using Sorenson Squeeze which is a subset of h263.
  • by FudRucker (866063) on Tuesday August 21 2007, @08:19AM (#20303471)
    Due to a design flaw in ActionScript 3 socket handling, compiled Flash movies are able to scan for open TCP ports on any host reachable from the host running the SWF, bypassing the Flash Player Security Sandbox Model and without the need to rebind DNS.

    You can see a proof of concept at the site, and it's quite interesting to watch. This happens inside your firewalled network, just by browsing the internet.

    http://hackersblog.itproportal.com/?p=720 [itproportal.com]
  • by KlomDark (6370) on Tuesday August 21 2007, @09:27AM (#20304241) Homepage Journal
    I'm tired of whining about this one, just ready to write off Flash as some kind of archaic technology, but maybe someone from there will ready this.

    WHEN ARE WE GETTING A 64-BIT FLASH PLAYER FOR WINDOWS???? XP x64, or Vista x64. Hell, even a crappy beta would be fine.

    It's been four @#$%ing YEARS since Windows XP x64 came out. It's time to quit making excuses. It's time to shit or get off the pot. Maybe it's time for Silverlight instead?
  • by tji (74570) on Tuesday August 21 2007, @09:56AM (#20304711)
    The article claims that that Adobe said it will use hardware acceleration for H.264.. Are there any more details on this?

    Is it Windows-only? Probably.
    Does it use DirectX video acceleration APIs (do they handle H.264) or maybe OpenGL shader (GLSL) offload? If it's the second, it would have a chance for Mac and Linux support too.
  • by ChrisA90278 (905188) on Tuesday August 21 2007, @11:04AM (#20305863)
    H.264 was added at Apple's request. they are currently streaming h264 to iPhone ad Apple TV users, Both of these devices use H264. I don't know the agreement between Apple and utube but I'd bet Apple is helping to pay for the re-encoding of content to h264. Now it looks like they decided to take advantage of the re-encoding of their library and add h264 to Flash. It's good to move to an open standard like H264
  • my 2 cents (Score:3, Informative)

    by Antilles (49894) <jpatterson@@@realtycenter...com> on Tuesday August 21 2007, @11:40AM (#20306427)
    disclaimer: I work on a startup project that is based in flash video

    this is definitely a game changer, although it doesnt seem like it is getting picked up by the major blog/media sites. It simply comes down to how this will affect the economics of producing good web video and monetizing it. in a nutshell, on2 basically gave away the decoder to adobe for the flash player but kept major control over how the encoding tools could be used. They essentially jacked up the fees on encoding to make their money thinking they had a free ride on this one, and with the rise of web video / youtube, their stock price soared in the past 2 years. The big advantage they have over the other guys in flash video, ie, sorenson, was quality --- notice youtube's quality is not that great, even though the file sizes are comparable? It's cause they use ffmpeg on the backend to transcode video to the flv format. The obvious question now, IS --- why doesnt youtube use on2's superior vp6 codec and get the pretty video? Becuase ffmpeg cant legally support it (I dont think, but ive seen hacks) and to license from on2 is just not economically feasible from a business standpoint (disclaimer: I do not know anyone at youtube, but we have ran into similar problems with our product, and I'm extrapolating their situtation with the logical conclusions.).

    I sorta figured someone out there was gonna get ticked that there was a gatekeeper sitting on a major web tech, and I knew something had to give. I think the first clue should have been the fact that youtube was transcoding everything over to h246, but I figured that was initially just for my personal enjoyment on my iphone. <grin/> Apparently they knew a few people over at adobe. The second clue, and you cant keep things like new major codecs in the worlds most dominant web video platform a secret --- was that on2's stock price has dropped from around $3.69 three months ago to $1.48 as of this morning.

    so. where does that leave web video? Well, as soon as I saw the news last night, I began checking the legal issues with transcoding to h264 for our project (does ffmpeg support it, cost, etc) and apparently, its a very accessibly standard. It's going to work with the existing netstream and video objects (whether you like them or not! whats up with the stuttering issues, adobe?) so our video editor should be able to mix sorenson, vp6, and h264 video content all in the same project (in real time, with effects! sorry, quick plug) which makes me very happy.

    As far as the legal constraints or fees, I dont think their are any (please correct me here if im wrong, i do need to know myself). ffmpeg supports it out of the box ( apparently you can make standard h264 video files, or you can make a flv using the h264 codec, although the new file format the adobe guys are workign with seems to be superior.). For raw source code, Video Lan has an encoder: http://www.videolan.org/developers/x264.html

    I guess the big issue now is --- once we all start publishing and remixing HD content, uh, where is the bandwidth gonna come from?
    • Just to correct you, Flash is a lot more than a media player.
    • by DrXym (126579) on Tuesday August 21 2007, @08:23AM (#20303501)
      Videolan, Nero Showtime and Quicktime do to my knowledge. So does the PS3.

      The major confusion is that H264 is not just one standard but a loose collection of features bound up in "profiles". A player might support the H264 "main" profile, but not the "high" profile and so on. Then you've got MPEG-4 part 2 which is an earlier but unrelated stanard that DIVX / XVID are implementations of.

      It's all quite confusing before even considering DRM and other implementation details. Still, the format is starting to see widespread adoption so the sooner all devices support it the better for everyone.

      It will be a pain for people with lots of DIVX content, but this appears to be the way industry is going and no doubt we'll see DVD players with HD H264 support before long. I wonder if there is a mostly lossless way to convert DIVX content into H264, since they may differ but they must share similarities too.

      • It will be a pain for people with lots of DIVX content, but this appears to be the way industry is going and no doubt we'll see DVD players with HD H264 support before long.

        I would call this "an overly optimistic projection by someone who doesn't follow the industry very deeply". Consider that right now it is very difficult to find DVD players that support even Divx and MPEG-2 playback in HD. Those 2 formats don't take much processing power. Given the extreme needs for processing power for H.264 decoding at 1080 resolutions, I would say that you're going to be waiting a while for this one.

        I wonder if there is a mostly lossless way to convert DIVX content into H264, since they may differ but they must share similarities too.

        Why would you want to do this? Converting between lossy formats doesn't make anything better. There is nothing to gain by converting Divx to H.264. The best conversion would entail some loss, even if it's difficult to see. If you understand this analogy, what you are suggesting
        is kind of like being given a high bit rate MP3 file and then wanting to convert it to Ogg Vorbis in some mistaken belief that doing so will make it "better". Converting to H.264 might result in smaller files and maybe if you do a really good job you can't tell that the quality has dropped, but the video certainly won't be better. Given the lack of standalone H.264 playback devices, I don't know what would be hoped to be gained by this at this time. You'd only end up with a slightly smaller file that is even less likely to be able to be played back on anything but a PC.
            • by DrXym (126579) on Tuesday August 21 2007, @10:02AM (#20304791)
              divx is MPEG-4 no? There are plenty of codec libraries which can handle that, its hardly going to go the way of the dodo. MPEG-1 is still around, and playable after all and thats from the VCD era; around the early 1990s.

              There is no single standard called MPEG-4. DiVX is an implementation of MPEG-4 Level 2 ASP. This is a very specific codec, on top of which DiVX has its own media container format. The container is how the data is stored as a file, and the container might interleave the data with other kinds of data. For example DiVX specifies extensions for subtitles and other things.

              H264/AVC is MPEG-4 Level 10. It also has some different container formats, but more importantly it's an entirely different codec. Despite that, the two standards will share certain similarities might that allow some data to be preserved during conversion. I am wondering as someone not acquainted with the details if there is any feasibility to this.

              But even considering DiVX as MPEG-4 ASP, it does not imply MPEG-4 ASP capable devices can read DiVX because the file format is independent of the encoding. At the very least a tool might be required to strip DiVX content out of it's proprietary container format. There is no guarantee that a device that supports even ASP is going to play DiVX movies.

              On top of that MPEG-4 SP & ASP are becoming obsolete. They're stop-gaps who've run their course. Hardware has moved onto H264 yet people are left with ripped content in the old format. Most hardware does not support XVid / DiVX container formats. Sony, MS & Apple seem disinclined to support those formats, probably for accusations that they're supporting piracy, as well as hindering adoption of H264. If you have a device that only supports H264 you need to be able to convert files to H264.

              When you transcode from one lossy format, into another there is no way that the quality of the image will be improved whatsoever. data is thrown away, data that can not be recovered or magically made to appear out of thin air so that the image quality can be better. It would be better to re-encode from the original source where there is more data available for the codec to work on. Some perform better then others after all and may be able to compress more of the data then divx could without throwing some away.

              No one ever said any different. I'm sure I could reencode all 30 movies I currently have in DiVX, if I have a spare month of time to do it. I'd just prefer not to if at all possible.

              If you want as little data to be lost as possible when transcoding, then re-encode it into a format that is lossless (huffyuv?) or even to straight avi frames. The tradeoff is that the files become much much larger, and you will not gain any more quality then was in the original divx'd version.

              I want to convert DiVX to H264, not some other format. I want to do this as losslessly as possible. I am wondering aloud if there is a way to convert data that does not involve (as much) encoding. Obviously I could just reencode them but I want to know if any data can be saved, speeding up conversion in the process. This is my question.

          • Re: (Score:3, Informative)

            Minor note. 1080p is 6.75x the resolution of 640x480. (1920*1080=2073600)/(640*480=307200)=6.75
            That's a lot of extra pixels.

            For a better way to get the mind around the difference, go tot apple's quicktime site and look at the downloads for the HD movie trailers. compare the file size for the 480p and the 1080p. For the Last Legion trailer the difference is 49 MB vs. 150 MB. That's lots of extra info to process. http://www.apple.com/trailers/weinstein/thelastleg ion/hd/ [apple.com]
      • H.264 is great but it does nothing to address the container format like AVI, MP4, MKV. I honestly prefer MKV as it is an open spec and has a lot of nice features. AVI has been dragged along with windows and MP4 while ok, doesn't do some things well like subtitles. You can essentially dump H.264 streams into any of the three container formats (AVI is a little bit of an issue but it can be done), but because there's no standard, you end up installing all of the splitters for each of the containers. That is a