|
|
Subscribe / Log in / New account

codec support

codec support

Posted Nov 15, 2012 17:51 UTC (Thu) by DonDiego (guest, #24141)
Parent article: The Shumway open SWF runtime project

So here's the (IMO) most obvious question: Will this be the next project that limits its usefulness by not supporting H.264 and MP3, but only support fringe codecs, at least out-of-the-box?


to post comments

codec support

Posted Nov 15, 2012 18:30 UTC (Thu) by bjartur (guest, #67801) [Link]

Nobody is writing a movie decoder in JavaScript. At least not for Mozilla.

    initialize: function initialize() {
      this._element = document.createElement('video');
      this._element.controls = true;
      this._element.setAttribute("style", "position: absolute; top: 0px; left: 0px");
      this._added = false;
    },
It simply maps to HTML features where available. It will draw vectors to a canvas, but raster images will be handled by the browser.

https://github.com/mozilla/shumway/blob/master/src/flash/media/Video.js

codec support

Posted Nov 16, 2012 12:02 UTC (Fri) by coriordan (guest, #7544) [Link]

Streaming video is only one use of Flash.

If Shumway can get 2D games and websites that have SWF buttons and menus working, then it's a big help and no FLV or MP3 is required.

(I don't have an easy solution for the video formats, but I'm reluctant to start by saying "Let's give up".)


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds