How to cast any video from command line to chromecast. Cast your audio/video to your Google Cast or Sonos Devices, the program to cast audio and video from your macOS, or Linux desktop to your Google Cast devices or Sonos speakers. It is written in Python and streams via node.js, ffmpeg or avconv.
Source code viewer
- # Use your package manager to download mkchromecast.
- mkchromecast --video -i '/dir/to/your/file/video.mkv'Programming Language: Bash