News for hackers. Stuff that matters.
Re:JSMpeg – Decode It Like It's 1999 by josteink on Tuesday May 07, 2019 @07:25AM (#19848406)
> I could be completely wrong but my gut is telling me that MPEG1 is basically independent, slightly-modified JPEG frames.

Not that simple, but not that far off.

Basically MPEG1 has key-frames (“JPEG” frames) and (forward) delta-frames (diffs).

From my understanding H264 has many improvements, including reverse delta-frames.

My guess is that disabling those in the encoder will improve real-time capabilities.

Re:JSMpeg – Decode It Like It's 1999 by ryanmjacobs on Tuesday May 07, 2019 @10:47AM (#19849938)
Ah gotcha, I think I was mixing up MPEG1 and MJPEG in my head.

I didn't realize that you could disable those features in the encoder. I'll have to look into x264 tunables that lower latency. Might be interesting.

Re:JSMpeg – Decode It Like It's 1999 by Orphis on Tuesday May 07, 2019 @07:58AM (#19848599)
Bingo, that's one of the tuning you can use for real-time communication. There's a lot of ways to tune an encoder, and getting optimal setting for each use case is always tricky.