# miguelgrinberg/flask-video-streaming

Supporting code for my article on video streaming with Flask.

Repository: https://github.com/miguelgrinberg/flask-video-streaming
Canonical: https://ross.abutalabs.com/products/flask-video-streaming
Homepage: http://blog.miguelgrinberg.com/post/video-streaming-with-flask
Language: Python
License: MIT
License Family: permissive
Last push: 2024-01-05T00:32:30+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4337, "days_push": 972, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1420, forks 517 (observed 2026-08-28T04:04:40.605312+00:00)

## What it is
Supporting example code for Miguel Grinberg's articles on video streaming with Flask. It demonstrates serving live video (e.g., from a camera) to browsers using Flask's streaming generator responses.

## Use cases
- stream live camera video to a web browser with flask
- learn how flask streaming responses work
- serve multipart/x-mixed-replace video in python
- build a simple security camera streaming server
- understand generator-based responses in flask

## When to choose
- you want to learn flask streaming via a worked example
- you need a minimal python video streaming server to adapt
- you're following the accompanying blog articles

## When to avoid
- you need a production-grade streaming server with adaptive bitrate or HLS/DASH
- you use a framework other than flask
- you need maintained, feature-complete video streaming infrastructure

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: http-server, video-processing, web-framework
- domain: web-development, media, tutorials
- platform: python, cross-platform
- tags: flask, video-streaming, streaming-responses, example-code, multipart-response, web-server

## Member repositories
- miguelgrinberg/flask-video-streaming (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:40.605312+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:49.218554+00:00, confidence not recorded.
  - readme: https://github.com/miguelgrinberg/flask-video-streaming (fetched 2026-08-28T04:04:40.605312+00:00, sha 6b85676c8074)
  - homepage: http://blog.miguelgrinberg.com/post/video-streaming-with-flask (fetched 2026-08-29T11:50:10.050262+00:00, sha a9d63ce39d35)
  - site_page: https://blog.miguelgrinberg.com:443/post/about-me (fetched 2026-08-29T11:50:10.060217+00:00, sha 9d2b18ef2f30)
- Data as of 2026-08-30T08:39:29.467469+00:00.
