talira

AirPlay/Chrome Cast anything

open sourceApache-2.0self-hostablefree

tvpipe is a command-line tool for low-latency mirroring of video and audio to AirPlay and Google Cast receivers (Apple TV, smart TVs, Chromecast and Google TV) and to browser tabs. It uses each ecosystem's real-time mirroring protocol rather than URL playback, so the TV is a fraction of a second behind the source. It plays files and URLs, mirrors the screen, one window, a browser tab, a camera or a capture card through FFmpeg, sends to several TVs on one timeline, and can share over a public link through a built-in Cloudflare Quick Tunnel or OpenTunnel. It ships as one binary for macOS, Linux and Windows with its own mDNS, protocol stacks and H.264/AAC encoders, plus a Rust crate and a Node.js SDK for streaming frames from your own program, and it runs party games written as web apps with phones joining by QR code.

Problems it solves

  • mirror my Linux or Windows screen to an Apple TV with sound
  • cast a local video file to my Chromecast from the terminal
  • screen mirroring to the TV lags too much to use for slides or games
  • send the same video to two TVs in different rooms in sync
  • put a status dashboard web page on the office TV without a browser on the TV
  • share one app window, not my whole screen, to a smart TV
  • let a friend in another city share their screen to my living room TV
  • stream frames from my own game or program to an AirPlay receiver
  • show a capture card or webcam feed on a Chromecast
  • run a party game on the TV with everyone joining from their phones

Features

  • AirPlay and Google Cast real-time mirroring
  • discover and pair receivers
  • play files and URLs; suitable MP4, MOV and MKV sent without re-encoding
  • screen and single-window mirroring with system audio
  • share a browser tab or a web page rendered headlessly
  • several receivers on one timeline with reconnects
  • play to a browser tab for previews, OBS sources and calls
  • public links through Cloudflare Quick Tunnel or OpenTunnel
  • raw or H.264 frames and audio from stdin
  • party games as web apps with phones joining by QR code
View 2 more
  • Rust crate and Node.js SDK
  • single self-contained binary for macOS, Linux and Windows

Capabilities

Has a command line toolplan not known
Has official SDKsplan not known