30 May 2019

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
  1. # Use your package manager to download mkchromecast.
  2.  
  3. mkchromecast --video -i '/dir/to/your/file/video.mkv'
Programming Language: Bash