Sign inSign up

muziling/stream-drm

By muziling

Updated almost 2 years ago

Image
2

1.2K

muziling/stream-drm repository overview

User N_m3u8DL-RE to stream drm video

Map follow parameter yourself:

  • Start an 8080 port in docker
  • video stream cache dir /tmp/cache in docker
  • read channel config file /app/channels.json in docker

set env HTTP_ADDR to your addr default connect limit is 10, set env CONN_LIMIT to modify

channels.json example:

{
    "CinemaxHD": {
        "url": "https://youraddr/index.m3u8",
        "key1": "yourkey",
        "key2": "",
        "key3": "",
        "useragent": "Mozilla/5.0 (Linux; Android 10; BRAVIA 4K VH2 Build/QTG3.200305.006.S292; wv)",
        "authorization": "",
        "proxy": "",
        "resolution": ""
    },
    "CNBC": {
        "url": "https://youraddr/index.m3u8",
        "key1": "yourkey",
        "key2": "",
        "key3": "",
        "useragent": "Mozilla/5.0 (Linux; Android 10; BRAVIA 4K VH2 Build/QTG3.200305.006.S292; wv)",
        "authorization": "",
        "proxy": "",
        "resolution": ""
    }
}

These json item value pass to N_m3u8DL-RE

Start docker, browser open setted env HTTP_ADDR value

Usage example:

docker run --name=stream-drm --env=TZ=Asia/Shanghai --env=HTTP_ADDR=http://192.168.1.6:5590 --volume=/mnt/user/appdata/channels.json:/app/channels.json:ro --volume=/dev/shm:/tmp/cache:rw --network=bridge -p 5590:8080 muziling/stream-drm

Tag summary

Content type

Image

Digest

sha256:594d44b67

Size

142.6 MB

Last updated

almost 2 years ago

docker pull muziling/stream-drm