chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 579 forks source link

Some qualities unavailable on Youtube #223

Open spaghetti- opened 11 years ago

spaghetti- commented 11 years ago

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.

chrippa commented 11 years ago

Do you have a example URL?

spaghetti- commented 11 years ago

So the basic issue is that youtube dropped support for anything above 720p for non DASH playback. I accidentally opened an issue over at mpv instead of here because I had both tabs open but they did reply to me so please see:

https://github.com/mpv-player/mpv/issues/343

nyakze commented 9 years ago

So I take it they enabled non-DASH for 1080p, but not 1080p@60 and that's why it's not available yet?

ghost commented 9 years ago

MPV + YOUTUBE-DL + FFMPEG:

mpv --ytdl "https://www.youtube.com/watch?v=sLprVF6d7Ug"
Playing: https://www.youtube.com/watch?v=sLprVF6d7Ug
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=eng (*) 'DASH audio' (opus) (external)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [opengl] 7680x4320 yuv420p

MPEG-DASH (1080p and above ...)

rbong commented 8 years ago

What is currently required to fully support MPEG-DASH? What's holding it back? Will it be a separate module?

Kein commented 8 years ago

any update on this?

z3ntu commented 8 years ago

Would like to know too.

tp0 commented 8 years ago

MPV + YOUTUBE-DL + FFMPEG:

60 fps works with non-live videos, but live ones are still 30 fps.

Live:

mpv --ytdl --v https://www.youtube.com/watch?v=Ga3maNZ0x0w | grep -i "Container reported FPS"
[vd] Container reported FPS: 30.000000

VOD/non-live:

mpv --ytdl --v https://www.youtube.com/watch?v=TLQ6iRl8QPA | grep -i "Container reported FPS"
[vd] Container reported FPS: 59.940060