aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/media_probe.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/media_probe.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/media_probe.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/media_probe.py b/packages/meshbay-node/src/meshbay_node/media_probe.py
index e0c59e3..ad668fa 100644
--- a/packages/meshbay-node/src/meshbay_node/media_probe.py
+++ b/packages/meshbay-node/src/meshbay_node/media_probe.py
@@ -43,6 +43,14 @@ async def probe_video(
faithfully reports "hev1..." for a source this pipeline cannot actually
deliver copied.
+ **A `None` codec string means "this must be re-encoded", not "this cannot
+ be played".** Only the four codecs a browser can decode through MediaSource
+ are mapped; everything else — MPEG-4 Part 2 (Xvid, DivX), MPEG-2, VC-1,
+ WMV, Theora — has no string to report because there is no browser decoder
+ to report it to, and the streaming path answers that by re-encoding to
+ H264. It answered it by refusing until 2026-09-09, which read to the
+ operator as a broken file rather than as an unwired code path.
+
width/height come from the same ffprobe call (one extra `-show_entries`
field, no second process spawn) — resolution is deliberately never
guessed from the filename (docs/mediacenter.md §3.5).