DMS

一款 UPnP DLNA 数字媒体服务器,包含基本的视频转码功能。在松下 Viera 电视、多个安卓 UPnP 应用程序和 Chromecast 上进行了测试。「A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.」

Github stars Tracking Chart

dms

.. image:: https://circleci.com/gh/anacrolix/dms.svg?style=svg
:target: https://circleci.com/gh/anacrolix/dms

dms is a UPnP DLNA Digital Media Server. It runs from the terminal, and serves
content directly from the filesystem from the working directory, or the path
given. The SSDP component will broadcast and respond to requests on all
available network interfaces.

dms advertises and serves the raw files, in addition to alternate transcoded
streams when it's able, such as mpeg2 PAL-DVD and WebM for the Chromecast. It
will also provide thumbnails where possible.

dms uses ffprobe/avprobe to get media data such as bitrate and duration, ffmpeg/avconv for video transoding, and ffmpegthumbnailer for generating thumbnails when browsing. These commands must be in the PATH given to dms or the features requiring them will be disabled.

.. image:: https://lh3.googleusercontent.com/-z-zh7AzObGo/UEiWni1cQPI/AAAAAAAAASI/DRw9IoMMiNs/w497-h373/2012%2B-%2B1

Installing

Assuming $GOPATH and Go have been configured already::

$ go get github.com/anacrolix/dms

Ensure ffmpeg/avconv and/or ffmpegthumbnailer are in the PATH if the features depending on them are desired.

To run::

$ "$GOPATH"/bin/dms

Running DMS as a service

A sample systemd .service file has been provided to assist in running DMS as a system service.

Known Compatible Players and Renderers

  • Probably all Panasonic Viera TVs.
  • Android's BubbleUPnP and AirWire
  • Chromecast
  • VLC
  • LG Smart TVs, with varying success.

Main metrics

Overview
Name With Owneranacrolix/dms
Primary LanguageGo
Program languageGo (Language Count: 4)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2015-04-05 05:52:38
Pushed At2025-05-20 02:20:11
Last Commit At2025-05-13 23:25:58
Release Count11
Last Release Namev1.7.1 (Posted on )
First Release Namev1.0.0 (Posted on 2019-04-16 08:26:51)
用户参与
Stargazers Count683
Watchers Count37
Fork Count104
Commits Count342
Has Issues Enabled
Issues Count77
Issue Open Count21
Pull Requests Count64
Pull Requests Open Count0
Pull Requests Close Count19
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private