]> git.sesse.net Git - cubemap/blobdiff - README
Add a LD_PRELOAD-able library to force Metacube output from FFmpeg.
[cubemap] / README
diff --git a/README b/README
index e9520d3aec889da9e53f9bad82f69352024080c3..15913a180ecce80f881a1d9da8739a2a8b072864 100644 (file)
--- a/README
+++ b/README
@@ -43,6 +43,15 @@ compile and start cubemap.
 Nageru, my free video mixer, can also produce Metacube streams natively.
 See the manual at https://nageru.sesse.net/doc/ for more information.
 
+If you feel very adventurous, you can use LD_PRELOAD to load
+ffmpeg_metacube_hack.so into an FFmpeg-using binary. (This is
+experimental; native Metacube support is vastly preferred.)
+For instance, here's one way you can use the ffmpeg(1) binary
+to serve your webcam to Cubemap:
+
+  LD_PRELOAD=ffmpeg_metacube_hack.so ffmpeg -i /dev/video0 -f mpegts -listen 1 'http://[::]:9095'
+
+
 To upgrade cubemap (after you've compiled a new binary), or to pick up new
 config: