tunarr
tunarr copied to clipboard
Add YouTube as a media source
It would be great to be able to input a Youtube channel or playlist as a media source and have Tunarr stream is seamlessly. We could package yt-dlp in our Docker images and feed streams from there right into ffmpeg sources, potentially. I'm sure there are other ways to do this as well.
Minimal example of streaming directly from YT > FFMPEG:
yt-dlp -f 'bv+ba/b' https://www.youtube.com/watch\?v\=IjoiaKngj2g -o - | \
ffmpeg -f webm -i pipe: -map v:0 -map a:0 -c:v h264_videotoolbox -b:v 30000k -c:a copy -f mpegts pipe:1 | \
ffplay -
Any recent plans on implementing this? Would be very convenient for saving storage space.