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

Youtube 1080p and above. #343

Closed
spaghetti- opened this issue Nov 17, 2013 · 5 comments
Closed

Youtube 1080p and above. #343

spaghetti- opened this issue Nov 17, 2013 · 5 comments

Comments

@spaghetti-
Copy link

At the moment mpv only supports 720p for youtube (maximum, even when I give it a 4K video). Is it hard to implement support for 1080p?

I took a look at the youtube module and _static_decrypt_signature(self, s, video_id, player_url, age_gate) from youtube-dl and there are some differences but it doesnt seem to make a difference.

I am decent at python and would attempt a fix but I'm not sure where to start.

@ghost
Copy link

ghost commented Nov 17, 2013

Youtube switched to its own DASH protocol, which is a reinvention of HLS, and which is not trivial to implement.

@divVerent
Copy link
Member

"Kinda", as DASH is a MPEG standard.

http://en.m.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP

It likely will need support both in quvi and FFmpeg. That can take a
while...
Am 17.11.2013 13:19 schrieb "wm4" notifications@github.com:

Youtube switched to its own DASH protocol, which is a reinvention of HLS,
and which is not trivial to implement.


Reply to this email directly or view it on GitHubhttps://github.com//issues/343#issuecomment-28647518
.

@spaghetti-
Copy link
Author

Thanks for replying even though I accidentally opened an issue here instead of over at chrippa/livestreamer

@marlencrabapple
Copy link

I'm not sure if this is really the right way to do things, but you can easily just download the elementary streams and play them back at the same time. I already download the streams and throw them at an mp4box binary or ffmpeg in a few of my own projects.

@ghost
Copy link

ghost commented Nov 21, 2013

I'm not sure if this is really the right way to do things, but you can easily just download the elementary streams and play them back at the same time.

Hm, that seems to be right. I'm wondering whether mpv's timeline support could be used to merge the fragment into a single virtual timeline. But all in all, this messy stuff is probably best left to libavformat.

The unfortunate thing about livestreamer is that it (probably) doesn't support seeking?

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

No branches or pull requests

3 participants