mkchromecast
mkchromecast copied to clipboard
yt-download problems for some urls
I'm trying to use this tools to stream online videos (german TV, supported by yt-download) to my chromecast. So far this works for most short videos like news etc. But with larger streams there seems to be some problems.
I'm using mkchromecast -y https://some-url --video --control
For larger clips the yt-download seems to hang up somehow, only downloading some MiB and not making any progress after that.
The download progress shows something like this [download] 2.8% of ~121.21MiB at Unknown speed ETA Unknown ETA ipadress
Oddly enough this does not seem to happen on all urls, e.g. youtube-urls work without problems (videos 1h+ tested). My first thought was that the problem might be located in yt-download itself, but as I can actually download the same video, I don't think that's the case.
While I can stream the downloaded video without any issues, for longer streams like 1h+ it would be great if it worked out of the box.
Can you give a more clear example to see if I can reproduce it?
For example most clips at https://www.zdf.de/sendung-verpasst don't work directly. Copying the url of a clip it gets stuck at downloading and won't start the stream, but downloading the file just with yt-download is working fine. Inspecting the html-Code and finding the "direct"-link to the mp4 file works fine too.
Interestingly using urls from other pages that function quite the same e.g. https://www.ardmediathek.de/daserste/program it works flawlessly.
I believe that this is a youtube-dl issue, or rather yt-dlp as youtube-dl is deprecating. This shouldn't be an issue of mkchromecast but an issue of another upstream. I'd close this issue.
Cross-linking to relevant issue about deprecated youtube-dl at #432