You are not logged in.
Pages: 1
I've been trying to cast from VLC to my Chromecast since they added that feature in the 3.0 release, so far unsuccesfully.
VLC doesn't detect my chromecast from the GUI and if I try from the cli with this command
vlc --sout="#chromecast{ip=192.168.1.41}" video
I get this error :
gnutls tls client error: Certificate verification failure: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.
I looked around the internet for a solution and found this which seems related to my issue
https://bugs.debian.org/cgi-bin/bugrepo … bug=885127
I installed gnutls28 from the aur, but that didn't fix it, am I missing something or is my issue something else?
Thanks in advance!
Last edited by LucetLux (2018-03-09 18:31:06)
Offline
Did you install the optional deps?
Offline
I was actually missing a few, sigh, now with all the opt depends installed I get a bit further but it gives me this eror with every video file I tried:
stream_out_chromecast stream out error: Media load failed
Thanks for your help!
Last edited by LucetLux (2018-03-09 19:42:14)
Offline
To rectify the tls error I executed the steps described in comment #20 in the aforementioned bugreport.
To accept the Chromecast certificate:
1. Get the certificate with gnutls-cli
$ gnutls-cli --save-cert=chromecast.pem 192.168.1.14:80092. Start VLC with the --gnutls-dir-trust option
$ vlc -vv --gnutls-dir-trust=/home/$USER
--sout="#chromecast{ip=192.168.1.14}" <video file>3. A pop-up window appears with a "Insecure site" warning. Here you can
accept the certificate.
Which gets me this output when I try to cast a video:
[00007f06a8003e80] gnutls tls client error: Certificate verification failure: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.
[00007f06a8003e80] gnutls tls client: Accepting self-signed/untrusted CA certificate.
But still, casting does not really work. I have yet to find a video which is not a stuttering mess.
That seems to be the reason why the chromcast renderer is disabled in the GUI for the linux build.
Offline
Oh, so I guess it's not really working as of yet, I hope they'll get it working later, thanks a lot for your help!
Offline
It works fine for me, and I know others have done it as well.
Offline
It works for me too now.
After checking the optional deps for the 3rd or 4th time I finally noticed that I did not install libmicrodns.
With that you can select the chromecast renderer in the playback menu.
Offline
I have installed all of the optional dependencies (even the ones that don't make sense for this) and it still isn't working, I am trying to do this from a wired computer in case that has something to do with it.
Offline
I see chromecast device (SONY android TV 55") in list and I select it but video and audio do not start and nothing happens in chromecast.
Offline
The Wiki says that you must install libmicrodns and protobuf for Chromecast support. Installing these two packages worked for me.
For some reason, subtitles are not working. Still investigating.
Offline
I'm having the same issue, did you manage to fix it? (The optional dependencies are installed, I can ping the chromecast device from my computer. Still doesn't work.)
Last edited by Ulilop (2020-03-29 12:41:04)
Offline
I also had to start the avahi-daemon.service with systemctl to get it working. Although I don't remember if I disabled it myself.
Last edited by parkour_peter (2020-04-28 06:54:55)
Offline
Pages: 1