DLNA - Digital Living Network Alliance - more on what it is

DLNA servers allow you to stream your media library to any DLNA enabled client - PC, phone, tablet or Hi-Fi Network Player/streamer. The Banana Pi/Pro (BP) makes an ideal server since it has a SATA port (for hard drive) and Gigabye ethernet, all ideal for streaming HD FLAC files and HD video.
Below is how I make my BP DLNA complient with Raspbian OS. The info originally came from htpcguides for a Raspberry Pi - thanks to them indeed as the changes I have have only needed to be minor.

This will install the latest ReadyMedia miniDLNA on your Banana Pro.

We are going to compile ReadyMedia miniDLNA from source on Raspbian as this will ensure it's the latest version

Remove any old miniDLNA version....
sudo apt-get purge minidlna -y
sudo apt-get remove minidlna
sudo apt-get autoremove -y

Make sure you have a source repository, default Raspbian does not include this, change wheezy to jessie if you know you are on jessie
echo "deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free" | sudo tee -a /etc/apt/sources.list

Update repositories so it will detect your new source repo....
sudo apt-get update

Grab dependencies for building it from source....
sudo apt-get build-dep minidlna -y

If you get any errors you can install the dependencies manually....
sudo apt-get install autopoint debhelper dh-autoreconf gcc libavutil-dev libavcodec-dev libavformat-dev libjpeg-dev libsqlite3-dev libexif-dev libid3tag0-dev libogg-dev libvorbis-dev libflac-dev -y

Download the latest miniDLNA source....
wget http://sourceforge.net/projects/minidlna/files/latest/download?source=files -O minidlna.tar.gz

The latest file at the time of writing is version 1.1.5.

Unpack miniDLNA....
tar -xvf minidlna.tar.gz

Enter the miniDLNA directory....
cd  minidlna-1.1.5

Configure, make and install miniDLNA, it may take a few minutes....
./configure && sudo make && sudo make install

Copy the default configuration file....
sudo cp minidlna.conf /etc/

Copy the startup daemon script to autostart ReadyMedia miniDLNA on boot....
sudo cp linux/minidlna.init.d.script /etc/init.d/minidlna

Make the startup script executable....
sudo chmod +x /etc/init.d/minidlna

Update rc to use the miniDLNA defaults....
sudo update-rc.d minidlna defaults

Edit the configuration so settings point to your media folders....
sudo nano /etc/minidlna.conf

This version of minidlna will give you multiple folders under Video. Before movies and TV would have been under separate categories, now movies and TV will both be under the category video. It will also show the folder structure of them instead of showing just the video files. Avi files will also show up and be streamable.
inotify uses resources because it autoupdates your library, if you don’t use inotify you will have to manually restart and reload the miniDLNA service.
The friendly name is how your miniDLNA server will show up to its streaming clients

media_dir=V,/home/your route to/Movies
media_dir=V,/home/your route to/TV
media_dir=A,/home/your route to/Music
media_dir=P,/home/your route to/Pictures
# Names the DLNA server
friendly_name=Banana Media Server
# Tells the DLNA to update the library when there are changes

Ctrl+X, Y and Enter to save and exit

Start the minidlna service....
sudo service minidlna start

Now make sure miniDLNA starts on boot
It will run on port 8200 so you can check how many media files it has indexed there.....
sudo reboot

Your Banana Pro DLNA server will now be accessible to stream media to your clients: PCs, XBOX, PS3, Phones, TVs and HiFi network streamer.