{"id":38793147,"url":"https://github.com/cremuzzi/docker-mpv","last_synced_at":"2026-01-17T12:40:19.001Z","repository":{"id":38691146,"uuid":"279493998","full_name":"cremuzzi/docker-mpv","owner":"cremuzzi","description":"Dockerization of mpv.io. A free, open source, and cross-platform media player. Image available at https://hub.docker.com/r/cremuzzi/mpv/","archived":false,"fork":false,"pushed_at":"2024-11-03T14:18:39.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-03T15:22:32.620Z","etag":null,"topics":["audio-player","docker","mpv","video-player"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/cremuzzi/mpv/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cremuzzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-14T05:45:42.000Z","updated_at":"2024-02-16T17:36:17.000Z","dependencies_parsed_at":"2022-08-30T22:10:27.457Z","dependency_job_id":null,"html_url":"https://github.com/cremuzzi/docker-mpv","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cremuzzi/docker-mpv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cremuzzi%2Fdocker-mpv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cremuzzi%2Fdocker-mpv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cremuzzi%2Fdocker-mpv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cremuzzi%2Fdocker-mpv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cremuzzi","download_url":"https://codeload.github.com/cremuzzi/docker-mpv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cremuzzi%2Fdocker-mpv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-player","docker","mpv","video-player"],"created_at":"2026-01-17T12:40:18.889Z","updated_at":"2026-01-17T12:40:18.978Z","avatar_url":"https://github.com/cremuzzi.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to use this image\n\n## Start an MPV instance\n\n```sh\ndocker run --rm -i -t \\\n    --device /dev/dri \\\n    --network host \\\n    -e DISPLAY \\\n    -e XDG_RUNTIME_DIR \\\n    -v /etc/machine-id:/etc/machine-id:ro \\\n    -v /run/user/1000/pulse:/run/user/1000/pulse \\\n    -v $HOME/.Xauthority:/home/mpv/.Xauthority \\\n    -v /path/to/your/media/:/home/mpv/media:ro \\\n    cremuzzi/mpv\n```\n\nwhere `/path/to/your/media` is the path on your host with the media files you want to play.\n\nThe command above will leave you with an interactive terminal inside the working directory `/home/mpv/media` of the container.\n\nOnce you are there, you can just explore the folder and play the media file that you need.\n\nPlease notice in the example above that we are mounting a few volumes that allow your container to\nconnect as a client to your host's pulseaudio and Xorg server.\n\n## yt-dl\n\nThis image comes with **yt-dl** installed.\nYou can play yt-dl supported content via\nrunning this image with command `mpv https://media/url/`.\n\nEg.:\n\n```sh\ndocker run --rm -i -t \\\n    --device /dev/dri \\\n    --network host \\\n    -e DISPLAY \\\n    -v /etc/machine-id:/etc/machine-id:ro \\\n    -v /run/user/1000/pulse:/run/user/1000/pulse \\\n    -v $HOME/.Xauthority:/home/mpv/.Xauthority \\\n    cremuzzi/mpv mpv https://media/url/\n```\n\nAs long as your media url is retrievable by yt-dl then mpv should take care of reproducing it.\n\n## Further reading\n\nFor a complete guide on the usage of MPV please visit the official page at [mpv.io/manual/stable/](https://mpv.io/manual/stable/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcremuzzi%2Fdocker-mpv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcremuzzi%2Fdocker-mpv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcremuzzi%2Fdocker-mpv/lists"}