derhuerst/play-on-apple-tv

document how to find out & play Youtube HLS URLs

Open

#3 创建于 2019年7月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (6 fork)github user discovery
documentationhelp wanted

仓库指标

Star
 (26 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Sending a YouTube video URL directly to an Apple TV (3rd gen) fails.

You can let the Apple TV play an .mp4 URL just fine (and get it via youtube-dl --get-url -f format-id-here url-here), but in order to let the Apple TV choose video quality, it needs an HLS URL; This works via a periodically re-fetched .m3u8 URL containing links to video chunks in several qualities.

The problem is finding out the HLS URL of a non-live-stream Youtube video. I've tried, but failed.

贡献者指南