Using VLC 3.0.6 chromecast doesn't work. It connects normally, but video is black and playback isn't going further. It's stuck at 0:00.
-
I spent nearly and hour trying to solve this problem.. So I guess it's good to have solution here. – Inline Feb 19 '19 at 22:02
4 Answers
It works, just open the port VLC is using. Default is 8010
, go to Tools > Preferences > Show all settings (checkbox down left) > Stream output > Stout stream > Chromecast > HTTP port.
To open the port:
with
ufw
use:sudo ufw allow 8010
with
iptables
use:sudo iptables -I INPUT 1 -i eth0 -p tcp --dport 8010 -j ACCEPT
Tested on Ubuntu 19.04 and VLC 3.0.7.

- 15,657

- 59
-
Which firewall comes with the default 18.04 ? I hope I can make it work my case too. – user227495 Nov 08 '19 at 06:10
-
1
-
-
I have a workaround for this:
- Start streaming to your TV,
- then in VLC disable your audio track and the video should start,
- re-enable the audio track and it will play fine.

- 15,657

- 41
-
Indeed, just like magic, it works. Had to confirm it would require some conversion when i disabled sound, but yes, after that video came up, and enabling sound again worked. – tshirtman Sep 29 '22 at 20:54
-
This is known VLC issue. See post from VideoLan forum.
Hi, this should be fixed in the next release of VLC. It was broken with updates from google.
VLC 3.0.6 is broken with chromecast 1.36.140076, but it is confirmed working with nightly 4.0.0-dev Otto Chriek (revision 4.0.0-dev-6281-gaf93e96577)
.
For instructions how to install VLC nightly build, see this question

- 217
- 1
- 2
- 9
-
The nightly doesn't work for me either. It doesn't even see the chromecast (doesn't appear in the "Renderers" drop-down). – Jack M Dec 22 '19 at 18:03
-
I had the same problem, after installing VLC 4.0.0-dev Otto Chriek
the problem wasn't solved. Then I tried disabling the firewall and voilà! I can play DVDs and stream them to Chromecast. PS: do not disable your firewall, instead allow VLC port in your firewall configuration (see this post).

- 111
-
How exactly did you disable the firewall? There are multiple solutions posted in your link. – Jack M Dec 22 '19 at 18:03