- Create a GKE cluster with a GPU node pool:
gcloud container clusters create gpu-sharing-demo --zone us-central1-c
#cloud-config | |
packages: | |
- epel-release # required for jq installation to succeed | |
write_files: | |
- path: /usr/local/bin/mount-scratch-disks | |
owner: root:root | |
permissions: '0700' | |
content: | | |
#!/bin/bash |
Preamble:
In this post I will explore how to stream a video and audio capture from one computer to another using ffmpeg and netcat, with a latency below 100ms, which is good enough for presentations and general purpose remote display tasks on a local network.
The problem:
Streaming low-latency live content is quite hard, because most software-based video codecs are designed to achieve the best compression and not best latency. This makes sense, because most movies are encoded once and decoded often, so it is a good trade-off to use more time for the encoding than the decoding.