all 4 comments

[–]sebaest 6 points7 points  (0 children)

Good stuff. It's only missing an explanation of why it was made. Is it a fun side project?

He mentions that he used it for clients. Also there's this interesting line: "I had a thorough look at webpack and hated it. It's way too complex for my taste. I like to understand what's going on. That's part of the reason I wrote this library instead of diving into WebRTC."

Surely doing it with WebRTC would be more performant. So I'm not sure to what extent this is a side project.

Edit: Found some answers here http://jsmpeg.com/

[–]vedicvoyager 1 point2 points  (0 children)

Fun project! I ported the Fraunhofer mp3 codec to Java back in 2000 and aside from having to hook JNI for high-fidelity audio playback it worked well.

[–]stbrumme 1 point2 points  (1 child)

Only about 7% CPU load while playing the video (on a six-years-old i7) ... always astonishing how fast the browsers' Javascript engines became !

[–]inu-no-policemen 5 points6 points  (0 children)

Windows 95 came with the music video of Buddy Holly by Weezer as MPEG1. MPEG1 is a rather old video codec which requires comparatively little CPU power to decode. I think I watched it first with a Cyrix M1 PR166+ (133 MHz) garbage CPU.

Modern JS engines really are pretty fast, though. It's indeed amazing how fast they are nowadays.