mpv-player / mpv-player/mpv

SABR streaming support

Open
#16,645 4 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream:ffmpeg meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

It's looking like youtube has rolled out a new streaming protocol called SABR as mentioned in this yt-dlp issue https://github.com/yt-dlp/yt-dlp/issues/12482 in which they eventually implemented their own downloader to support fetching these videos. However, this doesn't allow for streaming the videos directly via mpv, making ytdl_hook fairly useless to people for who this feature has been rolled out to for youtube, unless you love 360p video.

Alternative behavior of the wanted feature

I'm not sure if this should be supported at the mpv or ffmpeg layer nor do I know at what level there is interest in this, but alternatively I guess it could be at ffmpeg's end.

Log File

No response

Sample Files

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked yt-dlp issue 12482 and its SABR downloader implementation, then compare that with mpv's ytdl_hook and the possible ffmpeg layer. Determine where SABR support belongs and define completion as streaming the affected YouTube videos directly via mpv rather than being limited to 360p.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.