Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using youtube-dl to playback files from various streaming sites #3

Open
cnelson opened this issue Feb 23, 2016 · 1 comment

Comments

@cnelson
Copy link
Owner

cnelson commented Feb 23, 2016

If we have youtube-dl installed, use it to fetch content for us for the sites it supports.

@cnelson
Copy link
Owner Author

cnelson commented Feb 26, 2016

Implementation Sketch:

I want to be able to do things like:

$ airplay https://www.youtube.com/watch?v=lDba6HBbmqE

Once #2 is completed, and we have ffmpeg in our pipeline we can use youtube-dl to extract video URLs for the streaming services it supports. It's very simple:

>>> import youtube_dl
>>> y = youtube_dl.YoutubeDL()
>>> y.extract_info('https://www.youtube.com/watch?v=lDba6HBbmqE', download=False)

Then we can pass those video formats to ffmpeg for transcode (if needed!) just like any other direct video link.

TL;DR

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant