Welcome, Guest. Please login or register.

Author Topic: H.264 playback in AROS?  (Read 1707 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
H.264 playback in AROS?
« 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

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: H.264 playback in AROS?
« Reply #1 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?

 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: H.264 playback in AROS?
« Reply #2 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? ;)

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: H.264 playback in AROS?
« Reply #3 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/
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: H.264 playback in AROS?
« Reply #4 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 :)

Offline B00tDisk

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 1670
    • Show only replies by B00tDisk
    • http://www.thedelversdungeon.com
Re: H.264 playback in AROS?
« Reply #5 on: April 16, 2012, 05:04:56 PM »
Back away from the EU-SSR!
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: H.264 playback in AROS?
« Reply #6 on: April 16, 2012, 05:18:15 PM »
Quote from: B00tDisk;688802
http://jpc.sourceforge.net/home_home.html
That's Java, not JavaScript ;)

Offline B00tDisk

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 1670
    • Show only replies by B00tDisk
    • http://www.thedelversdungeon.com
Re: H.264 playback in AROS?
« Reply #7 on: April 16, 2012, 08:54:40 PM »
Quote from: bloodline;688804
That's Java, not JavaScript ;)


Ok, you got me :)
Back away from the EU-SSR!