mkchromecast icon indicating copy to clipboard operation
mkchromecast copied to clipboard

Accessing / Casting to a chromecast device using it's IP address instead of it's name (--name)

Open stillpointx opened this issue 5 years ago • 2 comments

Is it possible to cast using the IP address of a chromecast device instead of it's name? If so how?

I can cast video.mp4 on port 5000 to the chromecast device called Cast_1TV with the commands below: mkchromecast --name Cast_1TV --video -i "/tmp/video.mp4" -p 5000

I would like to be able to cast to the IP address of the chromecast device is this possible? I tried the commands below but it doesn't work. mkchromecast --name 192.168.5.9 --video -i "/tmp/video.mp4" -p 5000

I know VLC has an option for it called --sout-chromecast-ip but couldn't find something similar in mkchromecast. See example VLC commands below.

vlc "video.mp4" --sout "#chromecast" --sout-chromecast-ip=192.168.6.63 --demux-filter=demux_chromecast

If your wondering why it's for people who have VLAN's and bridges (separate networks for IOT, light bulbs, Alexa, etc.. and another network for the main network) this would make a world of difference.

Note: I'm able to ping the chromecast device from any of the networks successfully.

I'm using Ubuntu 18.04 64bit and mkchromecast v0.3.8.1 installed from the Ubuntu software center

stillpointx avatar Aug 04 '19 19:08 stillpointx

Duplicate of #265

PureTryOut avatar Oct 19 '19 20:10 PureTryOut

Could mkchromecast implement it?

nikolaisen-hhpv avatar Feb 19 '24 16:02 nikolaisen-hhpv