mpv-player / mpv-player/mpv

mplv play encrypted channels from m3u playlist

Open
#17,063 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

-playing encrypted channels, m3u looks like this, single key:


#EXTINF:-1 tvg-logo="", name1
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key=a18b6aa739be4c0b114605fcfb5d6b68:b41c3a6f7511b2e3a828d9580124c89d
https://.../index.mpd

or with multple keys, 3 or 5 keys

#EXTINF:-1 tvg-logo="", name2
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key={15965a6dbafd12c4af6aca127b271d5b:23dd40b93306de23ec667fb17a61f322,3decf356cc9351019fb1b627b089446d:4f7e516d3253d964e55b5c36f7f65d4a,511e929c12e0596bab59b11452de49a8:6f17d11eb6e069f4165bf48b425f9ea3}
https://.../index.mpd

there is also this, but not widespread, so it is lower priority, I guess

#EXTINF:-1 ,name3
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://....?drm-type=widevine
https://something....

I believe shaka player (open source) can play these

Numbers are changed obviously

Thanks

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

No files or tests are named. Start by locating mpv's playlist parsing and DASH playback entry points, then trace how the m3u properties could carry ClearKey and Widevine license data. Done means the supplied single-key and multi-key ClearKey playlists play their encrypted channels, with the lower-priority Widevine case addressed or explicitly scoped.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.