«

»

Aug 08

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.

network_interface=eth1
listening_ip=192.168.0.100
port=8200

 

Configure notification.

inotify=yes
notify_interval=895

 

Descriptive name for the DLNA server eg: MiniDLNA.

friendly_name=MiniDLNA

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

log_dir=/var/log
log_level=warn

 

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 192.168.0.0/24 --dport 8200 -j ACCEPT
-A INPUT -p udp -m udp -s 192.168.0.0/24 --dport 8200 -j ACCEPT
-A INPUT -i eth1 -s 0.0.0.0/32 -d 224.0.0.1/32 -p igmp -j ACCEPT
-A INPUT -i eth1 -d 239.0.0.0/8 -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: Humax HDR-1000s freesat+ with .

TV-miniDLNA

 

Windows Media Player and MinDLNA.

WMP-miniDLNA

 

Mobile Phone – Samsung Galaxy S4 and MinDLNA.

Samsung-miniDLNA

 

MiniDLNA logfile location.

sudo more /var/log/minidlna.log

 

Source:

http://sourceforge.net/projects/minidlna/

 

Leave a Reply

Your email address will not be published. Required fields are marked *