Amiga.org

Operating System Specific Discussions => AROS Research Operating System => Topic started by: bloodline on April 16, 2012, 12:08:16 PM

Title: H.264 playback in AROS?
Post by: bloodline on April 16, 2012, 12:08:16 PM
Here is a nice little report about an H.264 video decoder written in JavaScript... Ok, only the latest builds of FireFox will actually run this right now (at 30fps!!), but it really is exciting for us Amiga guys as it leads to way for us to have H.264 playback in our browsers!

On a more interesting note (for me anyway), JavaScript is growing into a VERY powerful language :)

http://arstechnica.com/open-source/news/2011/10/native-javascript-h264-decoder-offers-compelling-demo-of-js-performance.ars?clicked=related_right
Title: Re: H.264 playback in AROS?
Post by: Piru on April 16, 2012, 12:31:17 PM
Wouldn't it be more sensible to support H.264 with html5 video tag like in MorphOS Odyssey?

(http://sintonen.fi/pics/odyssey-html5test2.png)
Title: Re: H.264 playback in AROS?
Post by: bloodline on April 16, 2012, 01:06:41 PM
To be honest, the video decoding is secondary to me (I'm sure there are plenty of free H.264 codecs that are available)... It's the fact that it can be done at reasonable speed in JavaScript that really made me sit up and take note... UAE in a web browser anyone? ;)
Title: Re: H.264 playback in AROS?
Post by: Piru on April 16, 2012, 01:53:48 PM
Quote from: bloodline;688768
It's the fact that it can be done at reasonable speed in JavaScript that really made me sit up and take note... UAE in a web browser anyone? ;)

I actually found this rather expected. Things such as emulation have already been done, for instance x86 running linux in js: http://bellard.org/jslinux/
Title: Re: H.264 playback in AROS?
Post by: bloodline on April 16, 2012, 02:46:33 PM
Quote from: Piru;688771
I actually found this rather expected. Things such as emulation have already been done, for instance x86 running linux in js: http://bellard.org/jslinux/
Expected, but it's been a long time coming... I guess the next step to to look at the Emscripten compiler backend and see what else it can do :)
Title: Re: H.264 playback in AROS?
Post by: B00tDisk on April 16, 2012, 05:04:56 PM
http://jpc.sourceforge.net/home_home.html
Title: Re: H.264 playback in AROS?
Post by: bloodline on April 16, 2012, 05:18:15 PM
Quote from: B00tDisk;688802
http://jpc.sourceforge.net/home_home.html
That's Java, not JavaScript ;)
Title: Re: H.264 playback in AROS?
Post by: B00tDisk on April 16, 2012, 08:54:40 PM
Quote from: bloodline;688804
That's Java, not JavaScript ;)


Ok, you got me :)