vascorsd,
@vascorsd@mastodon.social avatar

You know what sucks? dumb software.

Here I am after so many times trying to have a good way to cast stuff from the pc or urls to my google cast enabled android tv, finding out about this new blog post which finally makes it simpler to discover the cast device using mdns - https://linderud.dev/blog/stream-to-chromecast-with-resolved-vlc-and-bash/- and it all failling because the stupid cvlc command has no way to accept the self signed certificate.

But fuck, if you choose the renderer manually on vlc interface it does auto accept it and WORKS!

vascorsd,
@vascorsd@mastodon.social avatar

Obviously the resolvectl command to search for the cast service doesn't work, but at least the whole thing to find the service by manually fetching the info from the dns records works reliably enough.

I'm at a point where it's all so frustrating that I just want to implement everything from the start by myself.

mdns / avahi, casting shit, should be easy and dumb tech and it's not.

vascorsd,
@vascorsd@mastodon.social avatar

The plugin that existed to cast on firefox used avahi service which normal ppl should not have anymore since systems are now using resolvectl in more and more places. But there's basically zero info that can be used reliably about how to query that info.

VLC itself uses a thing called microdns to find the cast device.

But then it fails if you want to use the cli because gnutls sucks ass here somehow.

The only way to find things on the network that actually works well avahi-discover-standalone

vascorsd,
@vascorsd@mastodon.social avatar

I hate computers 😞

brunomiguel,
@brunomiguel@masto.pt avatar

@vascorsd I have a first-gen Chromecast plugged into my dumb TV. My network is very simple so that I can use catt to cast movies (with subtitles) and Youtube videos to the TV https://github.com/skorokithakis/catt

brunomiguel,
@brunomiguel@masto.pt avatar

@vascorsd the only downside, but this is from the Chromecast, is being forced to use x264 if I want audio on the video files. with h264, sometimes the audio codec is not supported and I either have to transcode it or get a x264 version of the video

vascorsd,
@vascorsd@mastodon.social avatar

@brunomiguel I had installed that one some time ago and ended up uninstalling. I guess I had the same usual problem. Which is I have to manually resolve the ip in the lan of the chrome device myself.

I have around castnow command which mostly works, but the auto discovery never works. I have to either open avahi-discover-standalone, manually find the service, copy the ip and then pass the to the command as castnow --address IP.

vascorsd,
@vascorsd@mastodon.social avatar

@brunomiguel The VLC interface works well, but it's very slow to find the renderer. Which sounds crazy.

mdns discovery should all be contained in a simple daemon locally with all services found in the network, not being slow to find stuff 😔 .

The problem with castnow cli is that it sends to the cast device, but if I exit it then I have no way to control or cancel the stream anymore.

On vlc I can control sound, pause and the video position.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines