News for hackers. Stuff that matters.
Re:JSMpeg – Decode It Like It's 1999 by anovikov on Tuesday May 07, 2019 @05:52AM (#19847917)
Now compare the amount of data it consumes vs h264 for the same resolution/quality... This isn't going to fly. And, WebRTC IS supported on iPhones now, which kills the main area of use for it.
Re:JSMpeg – Decode It Like It's 1999 by vortico on Tuesday May 07, 2019 @06:29AM (#19848078)
How much? Probably only 25-50% more? It's hard to guess, but I imagine it isn't more than a factor of 2.
Re:JSMpeg – Decode It Like It's 1999 by eyesee on Tuesday May 07, 2019 @10:00AM (#19849373)
It's more like 5-10x better at the same quality vs. h.264. MPEG-1 is 30 years old. The available computational capacity along with the tremendous investment in algorithmic research in that period cannot be understated.
Re:JSMpeg – Decode It Like It's 1999 by ahartmetz on Tuesday May 07, 2019 @08:13AM (#19848679)
I'd guess factor 4-10. Most video codec implementations are heavily optimized including use of assembly or SIMD intrinsics. So it's not only that JS is slower for the same code, there are also some optimized constructs that are not possible in JS.
Re:JSMpeg – Decode It Like It's 1999 by vortico on Tuesday May 07, 2019 @08:53AM (#19848890)
anovikov and I are referring to filesize.
Re:JSMpeg – Decode It Like It's 1999 by anovikov on Thursday May 09, 2019 @04:37AM (#19866429)
At least by a factor of 4 and by a factor of 10 in some conditions. MPEG-2 is very processor efficient but in exchange for very low bandwidth efficiency. Today we watch full movies in 720p and decent quality <1GB size, and in MPEG-2 in late 1990s, 2 video CDs (also ~1GB) were needed for a crappy grainy VHS-style movie. Nobody was much pissed because alternative was VHS itself.