Hacker GitHub

← All repos

donatj/mjpeg-php

View on GitHub ↗ ★ 32 PHP

Toy long-polling motion jpeg example script.

5 mentions on Hacker News by 1 person: 0 stories, 5 comments · first 2014-03-05 · latest 2026-07-18

Mentions per year 5 mentions · busiest year 2015 (2)
20082026
  1. …browsers" the entire time those gif hacks were popular. I've built a bunch of cool stuff with it. https://github.com/donatj/mjpeg-php/blob/master/mjpeg.php https://github.com/donatj/imgboard/blob/master/main.go The PHP example here is an…
    comment by donatj · 2026-07-18 · in Regressive JPEGs
  2. …are on posting because the server returns an HTTP 204 - also highly underutilized in my opinion. 1. https://github.com/donatj/mjpeg-php/blob/master/mjpeg.php 2. https://github.com/donatj/imgboard
    comment by donatj · 2017-02-02 · in JSMpeg – Decode It Like It's 1999
  3. …security cameras and is supported by most browsers. It just seems to be not widely known about. https://github.com/donatj/mjpeg-php
    comment by donatj · 2015-12-20 · in Real-time GIF images
  4. …with HTTP1 actually. Its how motion jpeg works. I've actually got a little mjpeg php script here - https://github.com/donatj/mjpeg-php/blob/master/mjpeg.php Just flush every frame and you're golden. I've also seen simple dashboards that do…
    comment by donatj · 2015-03-05 · in Go HTTP2 demo
  5. I wrote a little toy in PHP to play with motion jpeg actually - here: https://github.com/donatj/mjpeg-php/blob/master/mjpeg.php
    comment by donatj · 2014-03-05 · in Introducing the ‘mozjpeg’ Project