MiniDLNA UPnP Media Server – Debian – Linux.


MiniDLNA allows you to stream your digital media through your home network and listen to/watch it on a variety of UPnP compatible devices.:

  • PlayStation3 (PS3),
  • Xbox 360,
  • satellite devices,
  • DVB and DVB-T devices,
  • smart TV/DVD,
  • smartphones,
  • youview..



Install MiniDLNA.

Install some needed dependencies.

sudo apt-get install -y ffmpeg imagemagick mediainfo mencoder ffmpegthumbnailer transcode \
subversion unzip frei0r-plugins-dev libdc1394-22-dev \
libmp3lame-dev libx264-dev libdirac-dev libfreetype6-dev \
libvorbis-dev libgsm1-dev libopencore-amrnb-dev libopencore-amrwb-dev \
libopenjpeg-dev librtmp-dev libschroedinger-dev libspeex-dev libtheora-dev \
libva-dev libvpx-dev libvo-amrwbenc-dev libvo-aacenc-dev libbz2-dev \
libgnutls-dev libssl-dev libopenal-dev libv4l-dev libpulse-dev libmodplug-dev \
libass-dev libcdio-dev libcdio-cdda-dev libcdio-paranoia-dev libvdpau-dev \
libxfixes-dev libxext-dev libbluray-dev


Install MiniDLNA.

sudo apt-get install -y minidlna


Configure MiniDLNA.

sudo /etc/init.d/minidlna stop


Edit configfile MiniDLNA.

sudo nano /etc/minidlna.conf


Specify paths to directories containing digital media.

"A" dla music np: media_dir=A,/home/user/music
"P" dla pictures np: media_dir=P,/home/user/pictures
"V" dla video np: media_dir=V,/home/user/video


Configure port nad IP address:

Use your own network interface, address IP and port.



Configure notification.



Descriptive name for the DLNA server eg: MiniDLNA.


Configure path for logfile and log level eg: “off”, “fatal”, “error”, “warn”, “info” or “debug”.



Increase fs.inotify.max_user_watches.

sudo echo 100000 > /proc/sys/fs/inotify/max_user_watches
sudo /etc/init.d/minidlna start


Update MiniDLNA database.

sudo minidlna -R


Configure Firewall – iptables.

MiniDLNA – port 8200.
-A INPUT -p tcp -m tcp -s --dport 8200 -j ACCEPT
-A INPUT -p udp -m udp -s --dport 8200 -j ACCEPT
-A INPUT -i eth1 -s -d -p igmp -j ACCEPT
-A INPUT -i eth1 -d -p igmp -j ACCEPT

MiniDLNA comMands:

  • sudo /etc/init.d/minidlna start
  • sudo /etc/init.d/minidlna stop
  • sudo /etc/init.d/minidlna restart
  • sudo service minidlna force-reload



Satellite Tuner: .



Windows Media Player and MinDLNA.



Mobile Phone – Samsung Galaxy S4 and MinDLNA.



MiniDLNA logfile location.

sudo more /var/log/minidlna.log




Leave a Reply

Your e-mail address will not be published.