VP8 - WebM JavaScript Decoder for every browser

302 views
Skip to first unread message

Pascal Massimino

unread,
Feb 7, 2012, 8:07:11 AM2/7/12
to WebM Discussion, WebP Discussion
Hi everybody,

Dominik did it! have a look at his WebM video decoder in Javascript here:


Works fairly well: i couldn't spot artifacts for the few files i tried. Well done!


Ralph Giles

unread,
Feb 7, 2012, 11:18:40 AM2/7/12
to webm-d...@webmproject.org
On 7 February 2012 05:07, Pascal Massimino <pascal.m...@gmail.com> wrote:

> Dominik did it! have a look at his WebM video decoder in Javascript here:
>
>   http://libwebpjs.appspot.com/vp8/webm-javascript-decoder/

Site is over quota. :(

At relation to bemasc's effort?

http://people.xiph.org/~bens/route9/route9.html

-r

--
Ralph Giles
Xiph.org Foundation for open multimedia

Basil Mohamed Gohar

unread,
Feb 7, 2012, 11:20:10 AM2/7/12
to webm-d...@webmproject.org
On 02/07/2012 11:18 AM, Ralph Giles wrote:
> On 7 February 2012 05:07, Pascal Massimino <pascal.m...@gmail.com> wrote:
>
>> Dominik did it! have a look at his WebM video decoder in Javascript here:
>>
>> http://libwebpjs.appspot.com/vp8/webm-javascript-decoder/
> Site is over quota. :(
>
> At relation to bemasc's effort?
>
> http://people.xiph.org/~bens/route9/route9.html
>
> -r
>
The original post mentioned no decoding artifacts, which, if true in all
cases, is a big plus over Ben's initial go at an Emscripten libvpx
(something he mentioned was mainly proof of concept).

Pascal Massimino

unread,
Feb 7, 2012, 11:40:09 AM2/7/12
to webm-d...@webmproject.org, Dominik Homberger
+cc Dominik
Hi,

it's been re-written from scratch, not from Emscripten. It's a one-man project,
different from Route9. Looks like it's a little bit too successful :)
 

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To post to this group, send email to webm-d...@webmproject.org.
To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.


Pascal Massimino

unread,
Feb 7, 2012, 12:23:57 PM2/7/12
to webm-d...@webmproject.org, Dominik Homberger
Hi,

On Tue, Feb 7, 2012 at 8:40 AM, Pascal Massimino <pascal.m...@gmail.com> wrote:
+cc Dominik
Hi,

On Tue, Feb 7, 2012 at 8:20 AM, Basil Mohamed Gohar <abu_hu...@hidayahonline.org> wrote:
On 02/07/2012 11:18 AM, Ralph Giles wrote:
> On 7 February 2012 05:07, Pascal Massimino <pascal.m...@gmail.com> wrote:
>
>> Dominik did it! have a look at his WebM video decoder in Javascript here:
>>
>>   http://libwebpjs.appspot.com/vp8/webm-javascript-decoder/
> Site is over quota. :(
>
> At relation to bemasc's effort?
>
> http://people.xiph.org/~bens/route9/route9.html
>
>  -r
>
The original post mentioned no decoding artifacts, which, if true in all
cases, is a big plus over Ben's initial go at an Emscripten libvpx
(something he mentioned was mainly proof of concept).

it's been re-written from scratch, not from Emscripten. It's a one-man project,
different from Route9. Looks like it's a little bit too successful :)

Ralph Giles

unread,
Feb 7, 2012, 1:06:42 PM2/7/12
to webm-d...@webmproject.org, Dominik Homberger
On 7 February 2012 08:40, Pascal Massimino <pascal.m...@gmail.com> wrote:

> it's been re-written from scratch, not from Emscripten. It's a one-man
> project,
> different from Route9. Looks like it's a little bit too successful :)

A hand translation? Wow.

thebeatles

unread,
Mar 12, 2012, 5:09:10 PM3/12/12
to WebM Discussion
I feel my aneroid pad is burning . Nice idea though

On Feb 7, 11:06 am, Ralph Giles <gi...@xiph.org> wrote:

Fernando Cassia

unread,
Mar 12, 2012, 11:00:27 PM3/12/12
to webm-d...@webmproject.org, Dominik Homberger
On Tue, Feb 7, 2012 at 14:23, Pascal Massimino
<pascal.m...@gmail.com> wrote:
> it's back at http://libwebpjs.hohenlimburg.org/vp8/webm-javascript-decoder/
>
> enjoy!

Since the trend seems to be software inefficiency and redundancy, I
won´t touch anything less than a VP8 decoder in a Bash script.

;-P

(sarcasm)

FC

Vladimir Pantelic

unread,
Mar 13, 2012, 1:37:38 PM3/13/12
to webm-d...@webmproject.org

I raise you: 'sed'

Pascal Massimino

unread,
Mar 16, 2012, 7:42:12 AM3/16/12
to webm-d...@webmproject.org

Real hackers do it in postscript.

Vladimir Pantelic

unread,
Mar 16, 2012, 8:04:20 AM3/16/12
to webm-d...@webmproject.org
Pascal Massimino wrote:

>
> On Mar 13, 2012 6:38 PM, "Vladimir Pantelic" <vlad...@gmail.com <mailto:vlad...@gmail.com>> wrote:
> >
> > Fernando Cassia wrote:
> >>
> >> On Tue, Feb 7, 2012 at 14:23, Pascal Massimino
> >> <pascal.m...@gmail.com <mailto:pascal.m...@gmail.com>> wrote:
> >>>
> >>> it's back at http://libwebpjs.hohenlimburg.org/vp8/webm-javascript-decoder/
> >>>
> >>> enjoy!
> >>
> >>
> >> Since the trend seems to be software inefficiency and redundancy, I
> >> won�t touch anything less than a VP8 decoder in a Bash script.
> >
> >
> > I raise you: 'sed'
> >
> Real hackers do it in postscript.

using something Turing-complete is cheating :)

Kvds

unread,
Apr 24, 2012, 7:55:59 AM4/24/12
to webm-d...@webmproject.org, WebP Discussion
Hi!

This is a great work, and judging by the speed improvement in version 2, it will be feasible in a future to use javascript decoding for videos, at least for small ones.

Anyway, I'm really interested in the source code, so I was wondering if the unminimized scripts will be made public, or if they already are somewhere.

Many thanks!

Matthew Heaney

unread,
Apr 26, 2012, 5:12:32 PM4/26/12
to webm-d...@webmproject.org, WebP Discussion
On Tue, Apr 24, 2012 at 7:55 AM, Kvds <kiro...@gmail.com> wrote:
>
> Anyway, I'm really interested in the source code, so I was wondering if the
> unminimized scripts will be made public, or if they already are somewhere.


Yes, I'd like to peruse the sources as well. I'd like to write the
decoder using a different language, but the JS sources would
definitely give me some ideas.

-Matt

skal

unread,
Oct 31, 2012, 11:37:36 PM10/31/12
to webm-d...@webmproject.org, WebP Discussion
Hi,
Dominik was kind enough to publish the sources. It's here:


 
-Matt

kiranr...@gmail.com

unread,
Jun 12, 2017, 7:37:08 AM6/12/17
to WebP Discussion, webm-d...@webmproject.org
The decoder produces corrupted pixels when the keyframe interval is high(i.e. when key frame occurs for every 500 or 1000 interframes). The famous big buck bunny webm video widely found on the internet has approximately a key frame for every 30 interframes. If you try to play the attached video(zzz.webm which containes a key frame followed by 334 interframes), you can see some pixels changing color but it does not happen in any other media players.
zzz.webm

Cristian Lorenzetto

unread,
Jun 12, 2017, 8:37:03 AM6/12/17
to webm-d...@webmproject.org
that decoder permits random access points in the stream?

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+unsubscribe@webmproject.org.

To post to this group, send email to webm-d...@webmproject.org.

kiranr...@gmail.com

unread,
Jun 13, 2017, 2:37:27 AM6/13/17
to WebM Discussion
yes it permits random access point


On Monday, June 12, 2017 at 6:07:03 PM UTC+5:30, Cristian Lorenzetto wrote:
that decoder permits random access points in the stream?
2017-06-12 13:37 GMT+02:00 <kiranr...@gmail.com>:
The decoder produces corrupted pixels when the keyframe interval is high(i.e. when key frame occurs for every 500 or 1000 interframes). The famous big buck bunny webm video widely found on the internet has approximately a key frame for every 30 interframes. If you try to play the attached video(zzz.webm which containes a key frame followed by 334 interframes), you can see some pixels changing color but it does not happen in any other media players.

On Tuesday, February 7, 2012 at 6:37:11 PM UTC+5:30, skal wrote:
Hi everybody,

Dominik did it! have a look at his WebM video decoder in Javascript here:


Works fairly well: i couldn't spot artifacts for the few files i tried. Well done!


--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.

Cristian Lorenzetto

unread,
Jun 13, 2017, 4:08:56 AM6/13/17
to webm-d...@webmproject.org
vp8 decoder seams work very well , i tried also h264 decoder but dont work well... , instead h265 works well 

To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+unsubscribe@webmproject.org.

Cristian Lorenzetto

unread,
Jun 13, 2017, 4:10:03 AM6/13/17
to webm-d...@webmproject.org
did you find another h264 decoder working well (i tested this one : https://github.com/mbebenita/Broadway)?

Cristian Lorenzetto

unread,
Jun 13, 2017, 4:52:34 AM6/13/17
to webm-d...@webmproject.org
another question is not clear about random access point. Inside the MSE stream i didnt undertand if it is usefull or nor. Probably player uses them for understanding where to place in a seeking request 

Brian Autumn

unread,
Jun 13, 2017, 2:24:51 PM6/13/17
to WebM Discussion, webp-d...@webmproject.org
It's because this decoder isn't finished.

Try this newer one : https://github.com/jscodec/jsvpx
You can can run the test vectors in browsers to make sure it works: http://jscodec.com/jsvpx-tests/
Message has been deleted

Dominik Homberger

unread,
Jul 6, 2017, 10:06:14 AM7/6/17
to WebM Discussion, webp-d...@webmproject.org
Reply all
Reply to author
Forward
0 new messages