mpv-player / mpv-player/mpv

WebSocket (wss) media streaming support

Open
#16,115 4 comments 0 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

Greek Channel Mega TV uses websocket (wss) for its live streaming, AV1 video/AAC audio
https://www.megatv.com/live/

It would be helpful if mpv could play directly the wss URL from the player e.g.

wss://ume3-edge-01.cdn.vindral.com/subscribe?channelId=alteregomedia_megatv1_ci_6cc490c7-e5c6-486b-acf0-9bb9c20fa670&sessionId=ece2f6d2-b264-48c6-a3fe-2a0f3265b8df&clientId=36e4a9f8-8f57-40c0-92f4-0eadc9caaed2&audio.bitRate=128000&audio.codec=aac&video.width=1280&video.height=720&video.bitRate=2200000&video.codec=av1&burstMs=2000

like it does for segmented mpd and m3u streams. Python code to save the video to file was provided here by larley

Alternative behavior of the wanted feature

No response

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 with the provided wss:// Mega TV URL and the linked Python example to understand the streaming protocol and compare it with mpv's existing segmented MPD and M3U playback. Done means mpv can open the WSS URL directly and play its AV1 video and AAC audio stream.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.