aboutsummaryrefslogtreecommitdiffstats
path: root/vmedia/Dockerfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 16:16:28 -0700
committerAdam Soltys <[email protected]>2026-10-07 16:16:28 -0700
commit738bace91bcd17c0ab8ba920fe2f0765f6504fc8 (patch)
treecfc620c8a759ae3fc924711956b4b5c7a0218d30 /vmedia/Dockerfile
parent3ffe565b3d50539470a05b1f7a65f5fed419daf5 (diff)
downloadcoinosv3-738bace91bcd17c0ab8ba920fe2f0765f6504fc8.tar.gz
coinosv3-738bace91bcd17c0ab8ba920fe2f0765f6504fc8.zip
Videos: posters for clips that came without one, and an H.264 copy for a clip this browser can't picture (an iPhone's HEVC on Chrome for Linux played sound over black) — vmedia container on cs (bun + ffmpeg, /vmedia/), switch on zero-width metadata or an HEVC header from the probe, a line saying why if the copy fails too
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'vmedia/Dockerfile')
-rw-r--r--vmedia/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/vmedia/Dockerfile b/vmedia/Dockerfile
new file mode 100644
index 0000000..336ddff
--- /dev/null
+++ b/vmedia/Dockerfile
@@ -0,0 +1,8 @@
+# vmedia: bun + ffmpeg. Built and run on cs (see vmedia/server.js):
+# docker build -t vmedia vmedia/
+# docker run -d --name vmedia --network net --restart unless-stopped --cpus 6 --memory 3g \
+# -v ~/vmedia/server.js:/app/server.js:ro -v ~/vmedia/data:/data vmedia
+FROM oven/bun:1
+RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg ca-certificates && rm -rf /var/lib/apt/lists/*
+WORKDIR /app
+CMD ["bun", "server.js"]