Skip to content

Version 0.2.0: MULTI TRACK DRIFTING

Compare
Choose a tag to compare
@c-x-berger c-x-berger released this 10 Jan 23:18
  • Add new mutli-streaming mode through the --pipes-as-json flag
    • If passed, all other options except --port will be ignored
    • De-serializes a Vec<Pipe> through the magnificent serde_json crate
    • Intended to be used by other programs or scripts, not humans
    • Malformed JSON will panic with a reasonably descriptive error
    • Examples
      • [{"input": {"Video4Linux": "/dev/video0"}, "encoder": "Camera", "size": {"width": 320, "height": 240, "framerate": 30}, "url": "/json-stream"}] mounts to /json-stream and streams H.264 provided by the drivers for /dev/video0.
      • [{"input": "Raspberry", "encoder": "Camera", "size": {"width": 320, "height": 240, "framerate": 30}, "url": "/json-stream"}] is the same, but uses rpicamsrc to get video instead of Video 4 Linux.
      • [{"input": {"SharedMemory": "/tmp/socket"}, "encoder": "Software", "size": {"width": 320, "height": 240, "framerate": 30}, "url": "/shmem-magic"}] reads I420 frames from /tmp/socket and encodes them as H.264 in software, making the video stream available at /shmem-magic.