You are not logged in.

#1 2020-01-08 16:56:14

walteweiss
Member
Registered: 2019-09-07
Posts: 8

Minimalistic DLNA Media Server? (headless)

Hello everyone,

I’m looking for a minimalistic media server, who can live on a headless server and work as a back-end with different front-ends (iPad, TV, RPis with Kodi). Nothing fancy, basic DLNA/UPnP should work for my needs. My PC’s Kodi Library (with UPnP being on) is visible from every device, so it should be enough. But I want to move the back-end to my Arch server, which I’m trying to keep as minimal as possible.

I have zero experience with any software of the kind, so I’ve looked through list of Software, Media Servers and picked ReadyMedia (minidlna) or Rygel, since they both are in the official repository.

But here’s the problem: they want so many dependencies! Why is so?

Seems like my kodi box can see all my media through FTP relatively well. And vsftpd package is just about 350 KiB and with no other dependencies. Is there a way to get my server visible from my TV (through DLNA) without so many dependencies and heavy packages being installed?

Also, I don’t like rygel willing more than Kodi itself, which I think is too powered for my very basic needs. But rygel wants even more! With minidlna willing to have almost the same number of dependencies and disk space!

The problem is that I don’t know what server software I want, so I may want to remove some, and I’m worried I’ll leave a lot of dependencies left. Or shouldn’t I?

Would like to hear any feedback on here, thank you.


***
The dependencies are listed below.

MiniDLNA
sudo pacman -S minidlna

resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency

Packages (87) alsa-lib-1.2.1.2-2  alsa-topology-conf-1.2.1-1  alsa-ucm-conf-1.2.1.2-1
              aom-1.0.0.errata1-1  dav1d-0.5.2-1  ffmpeg-1:4.2.1-4  flac-1.3.3-1
              fontconfig-2:2.13.91+24+g75eadca-1  freetype2-2.10.1-1  fribidi-1.0.8-1
              giflib-5.2.1-1  graphite-1:1.3.13-2  gsm-1.0.18-1  harfbuzz-2.6.4-2
              hicolor-icon-theme-0.17-1  jack-0.125.0-8  l-smash-2.14.5-1  lame-3.100-2
              lcms2-2.9-2  libass-0.14.0-1  libasyncns-0.8+3+g68cd5af-2  libavc1394-0.5.4-3
              libbluray-1.1.2-1  libdrm-2.4.100-1  libexif-0.6.21-3  libglvnd-1.3.0-2
              libibus-1.5.21-3  libice-1.0.10-2  libid3tag-0.15.1b-9  libiec61883-1.2.0-5
              libjpeg-turbo-2.0.4-1  libmodplug-0.8.9.0-2  libogg-1.3.4-1
              libomxil-bellagio-0.9.3-2  libpciaccess-0.16-1  libpng-1.6.37-1  libpulse-13.0-2
              libraw1394-2.1.2-2  libsamplerate-0.1.9-2  libsm-1.2.3-1  libsndfile-1.0.28-2
              libsoxr-0.1.3-1  libssh-0.9.3-1  libtheora-1.1.1-4  libtiff-4.1.0-1
              libunwind-1.3.1-1  libva-2.6.0-1  libvdpau-1.3-1  libvorbis-1.3.6-1
              libvpx-1.8.2-1  libwebp-1.1.0-1  libx11-1.6.9-6  libxau-1.0.9-2  libxcb-1.13.1-1
              libxcursor-1.2.0-1  libxdamage-1.1.5-2  libxdmcp-1.1.3-2  libxext-1.3.4-2
              libxfixes-5.0.3-3  libxi-1.7.10-2  libxrender-0.9.10-3  libxshmfence-1.3-1
              libxtst-1.2.3-3  libxv-1.0.11-3  libxxf86vm-1.1.4-3  llvm-libs-9.0.1-1
              lm_sensors-3.6.0-1  mesa-19.3.1-1  opencore-amr-0.1.5-3  openjpeg2-2.3.1-1
              opus-1.3.1-1  sdl2-2.0.10-1  speex-1.2.0-2  speexdsp-1.2.0-1  sysfsutils-2.1.0-11
              v4l-utils-1.18.0-1  vid.stab-1.1-2  vulkan-icd-loader-1.1.130-1  wayland-1.17.0-1
              x264-3:0.157.r2980.34c06d1-2  x265-3.2.1-1  xcb-proto-1.13-4  xorgproto-2019.2-2
              xvidcore-1.3.7-1  zita-alsa-pcmi-0.3.2-2  zita-resampler-1.6.2-2  minidlna-1.2.1-4

Total Download Size:    80.39 MiB
Total Installed Size:  374.99 MiB
Rygel
sudo pacman -S rygel
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: usbmuxd will be installed before its libimobiledevice dependency

Packages (109) adobe-source-code-pro-fonts-2.030ro+1.050it-5  adwaita-icon-theme-3.34.3-1
               alsa-lib-1.2.1.2-2  alsa-topology-conf-1.2.1-1  alsa-ucm-conf-1.2.1.2-1
               at-spi2-atk-2.34.1-1  at-spi2-core-2.34.0-1  atk-2.34.1-1
               avahi-0.7+18+g1b5f401-3  brotli-1.0.7-3  cairo-1.17.2+17+g52a7c79fd-2
               cantarell-fonts-1:0.200-1  colord-1.4.4+9+g1ce26da-1  dconf-0.34.0-1
               desktop-file-utils-0.24-1  fontconfig-2:2.13.91+24+g75eadca-1  freetype2-2.10.1-1
               fribidi-1.0.8-1  gdk-pixbuf2-2.40.0-1  glib-networking-2.62.3-1
               graphite-1:1.3.13-2  gsettings-desktop-schemas-3.34.0-1  gssdp-1.2.2-1
               gst-plugins-base-libs-1.16.2-1  gstreamer-1.16.2-1
               gtk-update-icon-cache-1:3.24.13-1  gtk3-1:3.24.13-1  gupnp-1.2.2-1
               gupnp-av-0.12.11+2+gb5ca07c-1  gupnp-dlna-0.10.5+4+gc947eed-1  harfbuzz-2.6.4-2
               hicolor-icon-theme-0.17-1  iso-codes-4.4-1  jansson-2.12-1  jasper-2.0.16-1
               js60-60.9.0-1  json-glib-1.4.4-1  lcms2-2.9-2  libcanberra-0.30+2+gc0620e4-2
               libcups-2.3.1-1  libdaemon-0.14-4  libdatrie-0.2.12-1  libdrm-2.4.100-1
               libepoxy-1.5.4-1  libgee-0.20.2-1  libglvnd-1.3.0-2  libgudev-233-1
               libgusb-0.3.1-2  libimobiledevice-1.2.0+87+g92c5462-6  libjpeg-turbo-2.0.4-1
               libmediaart-1.9.4+1+ga704d0b-1  libnm-1.22.2-1  libogg-1.3.4-1
               libomxil-bellagio-0.9.3-2  libpciaccess-0.16-1  libplist-2.1.0-2  libpng-1.6.37-1
               libproxy-0.4.15-13  librsvg-2:2.46.4-1  libsoup-2.68.3-1  libstemmer-0+713-1
               libthai-0.1.28-1  libtiff-4.1.0-1  libtool-2.4.6+42+gb88cebd5-8
               libunwind-1.3.1-1  libusbmuxd-2.0.0-2  libvorbis-1.3.6-1  libx11-1.6.9-6
               libxau-1.0.9-2  libxcb-1.13.1-1  libxcomposite-0.4.5-2  libxcursor-1.2.0-1
               libxdamage-1.1.5-2  libxdmcp-1.1.3-2  libxext-1.3.4-2  libxfixes-5.0.3-3
               libxft-2.3.3-1  libxi-1.7.10-2  libxinerama-1.1.4-2  libxkbcommon-0.9.1-1
               libxrandr-1.5.2-2  libxrender-0.9.10-3  libxshmfence-1.3-1  libxtst-1.2.3-3
               libxv-1.0.11-3  libxxf86vm-1.1.4-3  llvm-libs-9.0.1-1  lm_sensors-3.6.0-1
               lzo-2.10-3  mesa-19.3.1-1  nspr-4.24-1  nss-3.49-1  orc-0.4.31-1
               pango-1:1.44.7-1  pixman-0.38.4-1  polkit-0.116-3  rest-0.8.1-1
               shared-mime-info-1.15-1  sound-theme-freedesktop-0.8-3  tdb-1.3.18-4
               tracker-2.3.0-2  upower-0.99.11-1  usbmuxd-1.1.0+66+g9af2b12-1  wayland-1.17.0-1
               wayland-protocols-1.18-1  xcb-proto-1.13-4  xkeyboard-config-2.28-1
               xorgproto-2019.2-2  rygel-0.38.3-1

Total Download Size:   110.51 MiB
Total Installed Size:  521.88 MiB
Kodi
sudo pacman -S kodi
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency
warning: dependency cycle detected:
warning: kodi-bin will be installed before its kodi dependency
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (91) alsa-lib-1.2.1.2-2  alsa-topology-conf-1.2.1-1  alsa-ucm-conf-1.2.1.2-1
              avahi-0.7+18+g1b5f401-3  bluez-libs-5.52-2  cifs-utils-6.10-1  confuse-3.2.2-1
              desktop-file-utils-0.24-1  flac-1.3.3-1  fontconfig-2:2.13.91+24+g75eadca-1
              freetype2-2.10.1-1  fribidi-1.0.8-1  graphite-1:1.3.13-2  harfbuzz-2.6.4-2
              hicolor-icon-theme-0.17-1  jansson-2.12-1  kodi-bin-18.5-1  lcms2-2.9-2
              ldb-1:1.5.6-2  libaio-0.3.112-2  libass-0.14.0-1  libasyncns-0.8+3+g68cd5af-2
              libbluray-1.1.2-1  libbsd-0.10.0-1  libcddb-1.3.2-5  libcdio-2.1.0-1
              libcec-4.0.4-2  libcups-2.3.1-1  libdaemon-0.14-4  libdrm-2.4.100-1  libftdi-1.4-4
              libglvnd-1.3.0-2  libice-1.0.10-2  libimagequant-2.12.5-1  libjpeg-turbo-2.0.4-1
              libmicrohttpd-0.9.69-1  libnfs-4.0.0-3  libogg-1.3.4-1  libomxil-bellagio-0.9.3-2
              libpciaccess-0.16-1  libpng-1.6.37-1  libpulse-13.0-2  libsm-1.2.3-1
              libsndfile-1.0.28-2  libtiff-4.1.0-1  libunwind-1.3.1-1  libusb-compat-0.1.5-2
              libva-2.6.0-1  libvdpau-1.3-1  libvorbis-1.3.6-1  libwbclient-4.10.10-2
              libx11-1.6.9-6  libxau-1.0.9-2  libxcb-1.13.1-1  libxcomposite-0.4.5-2
              libxdamage-1.1.5-2  libxdmcp-1.1.3-2  libxext-1.3.4-2  libxfixes-5.0.3-3
              libxi-1.7.10-2  libxinerama-1.1.4-2  libxrandr-1.5.2-2  libxrender-0.9.10-3
              libxshmfence-1.3-1  libxslt-1.1.34-2  libxtst-1.2.3-3  libxxf86vm-1.1.4-3
              lirc-1:0.10.1-4  llvm-libs-9.0.1-1  lm_sensors-3.6.0-1  lmdb-0.9.24-1  lzo-2.10-3
              mariadb-libs-10.4.11-1  mesa-19.3.1-1  openjpeg2-2.3.1-1  p8-platform-2.1.0.1-3
              python2-2.7.17-1  python2-pillow-6.2.1-1  python2-pycryptodomex-3.9.0-3
              python2-simplejson-3.17.0-1  smbclient-4.10.10-2  taglib-1.11.1-3  talloc-2.3.1-1
              tdb-1.3.18-4  tevent-1:0.9.39-4  tinyxml-2.6.2-6  wayland-1.17.0-1
              xcb-proto-1.13-4  xorg-xdpyinfo-1.3.2-3  xorgproto-2019.2-2  kodi-18.5-1

Total Download Size:   121.01 MiB
Total Installed Size:  479.20 MiB

Last edited by walteweiss (2020-01-09 11:12:24)

Offline

#2 2020-01-09 13:43:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,640

Re: Minimalistic DLNA Media Server? (headless)

minidlna depends on ffmpeg which depends on a graphical environment so you get X11 and wayland on your server.

Rygel is part of the gnome DE, so you get X11 , wayland and gnome .

If you don't want a graphical environment on your server you'll have to look further.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2020-01-16 18:02:50

walteweiss
Member
Registered: 2019-09-07
Posts: 8

Re: Minimalistic DLNA Media Server? (headless)

Hello, thank you, I am still looking for the solution. At this point I installed minidlna with its 87 dependencies, because I found no alternative with less dependencies.

Although not relevant to Arch Linux, but today I have found minidlna has just 13 (3 for build and 10 for libraries) on FreeBSD ports, maybe it’s more, but I see no ffmpeg dependency. That’s what I was looking for (and am still looking, since I use Arch, not FreeBSD). Maybe there’s a way to install it without the extra dependencies I don’t need on a headless server.

Offline

#4 2020-01-16 19:01:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,903
Website

Re: Minimalistic DLNA Media Server? (headless)

I wonder if you can look at ffmpeg and create a custom PKGBUILD for it that lacks the DE stuff?  Google it?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2020-01-16 19:26:29

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,969

Re: Minimalistic DLNA Media Server? (headless)

https://aur.archlinux.org/packages/ffmpeg-headless/ ?

Read the comments on the AUR page if you try this.

Offline

#6 2020-01-18 12:34:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,640

Re: Minimalistic DLNA Media Server? (headless)

walteweiss wrote:

but today I have found minidlna has just 13 (3 for build and 10 for libraries) on FreeBSD ports, maybe it’s more, but I see no ffmpeg dependency.

From the list of library dependencies on freshports :

7. libavformat.so : multimedia/ffmpeg

https://www.freshports.org/multimedia/ffmpeg/ lists 18 library dependencies .
Looks like needed dependencies for minidlna will not be far apart between arch & freebsd.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2020-01-19 21:16:14

Chuck Arch Linux
Member
Registered: 2011-06-23
Posts: 75

Re: Minimalistic DLNA Media Server? (headless)

And what about trying Universal Media Server.
It work well with a lot of renderers.

Offline

Board footer

Powered by FluxBB