Difference between revisions of "DLNA"

From Amahi Wiki
Jump to: navigation, search
m
Line 4: Line 4:
 
Working page for [http://www.amahi.org/apps/dlna Amahi DLNA], the Amahi port of [http://sourceforge.net/projects/minidlna/ MiniDLNA]. It makes your Amahi HDA the best media server for all your clients.   
 
Working page for [http://www.amahi.org/apps/dlna Amahi DLNA], the Amahi port of [http://sourceforge.net/projects/minidlna/ MiniDLNA]. It makes your Amahi HDA the best media server for all your clients.   
  
'''NOTE:''' 
+
What is DLNA?
# The majority of the guidance here is specific to Fedora and may not apply to Ubuntu.  We hope to revise soon.
+
 
# DLNA does not support server "transcoding" on the fly.
+
__TOC__
<br>
+
 
 
Amahi has other media server apps available as well:
 
Amahi has other media server apps available as well:
 
* [http://www.amahi.org/apps/mediatomb MediaTomb], which has transcoding on the fly for more compatibility
 
* [http://www.amahi.org/apps/mediatomb MediaTomb], which has transcoding on the fly for more compatibility
Line 13: Line 13:
 
* [http://www.amahi.org/apps/ushare UShare] works well with the xbox360
 
* [http://www.amahi.org/apps/ushare UShare] works well with the xbox360
 
<br>
 
<br>
= Tips =
+
'''NOTE:''' 
 +
# The majority of the guidance here is specific to Fedora and may not apply to Ubuntu.  We hope to revise soon.
 +
# DLNA does not support server "transcoding" on the fly.
 +
=== Tips ===
  
 
* You can configure its options in the ".conf" file in:
 
* You can configure its options in the ".conf" file in:
Line 62: Line 65:
 
  data files. Such as cases where a "target" device does not support a source format.
 
  data files. Such as cases where a "target" device does not support a source format.
  
= Troubleshooting =
+
=== Troubleshooting ===
  
 
* If you have problems where DLNA cannot see some files, it may be due to some ownership/permissions issues. You can do this (change the path and USERNAME accordingly):
 
* If you have problems where DLNA cannot see some files, it may be due to some ownership/permissions issues. You can do this (change the path and USERNAME accordingly):
Line 85: Line 88:
 
* If you suddenly realize that ONLY a part of your library is delivered by your amahi-dlna server to your clients you (most probably) have add a file to the library that forces dlna daemon parser to crash. Check [http://forums.amahi.org/viewtopic.php?f=19&t=3816 this] out if this is the case.
 
* If you suddenly realize that ONLY a part of your library is delivered by your amahi-dlna server to your clients you (most probably) have add a file to the library that forces dlna daemon parser to crash. Check [http://forums.amahi.org/viewtopic.php?f=19&t=3816 this] out if this is the case.
  
= DLNA Players =
+
=== DLNA Players ===
 
There is no list of '''Amahi Certified DLNA Players''' because most (99.999%) of clients will work. The client has to support the format of the file that the server is streaming. Not all clients support all the formats. Typically [http://www.divx.com/ DivX] format are widely supported, but newer formats like [http://www.matroska.org/ Matroska] may not be supported by some clients.
 
There is no list of '''Amahi Certified DLNA Players''' because most (99.999%) of clients will work. The client has to support the format of the file that the server is streaming. Not all clients support all the formats. Typically [http://www.divx.com/ DivX] format are widely supported, but newer formats like [http://www.matroska.org/ Matroska] may not be supported by some clients.
  
 
Below you will find a list of some client devices/applications. Feel free to add your client and what features it supports.
 
Below you will find a list of some client devices/applications. Feel free to add your client and what features it supports.
== WD TV Live ==
+
==== WD TV Live ====
  
 
At the moment, with a [http://www.westerndigital.com/en/products/Products.asp?DriveID=735 WD TV Live] player, we can stream from .avi files to full 1080p content from this server.
 
At the moment, with a [http://www.westerndigital.com/en/products/Products.asp?DriveID=735 WD TV Live] player, we can stream from .avi files to full 1080p content from this server.
Line 95: Line 98:
 
With Matroska files it also supports subtitles in various languages and multiple audio tracks.
 
With Matroska files it also supports subtitles in various languages and multiple audio tracks.
  
== PS3 ==
+
==== PS3 ====
  
 
Notes on working state with [http://www.playstation.com/ PS3].
 
Notes on working state with [http://www.playstation.com/ PS3].
Line 103: Line 106:
 
Playing of mp3-files has been no problem - worked fine.
 
Playing of mp3-files has been no problem - worked fine.
  
== Xbox 360 ==
+
==== Xbox 360 ====
  
 
Notes on working state with [http://www.xbox.com Xbox 360]:
 
Notes on working state with [http://www.xbox.com Xbox 360]:
Line 115: Line 118:
 
Repeat for Picture Library.
 
Repeat for Picture Library.
  
== O!Play Air ==
+
==== O!Play Air ====
  
 
Notes on working state with [http://www.asus.com/Search.aspx?SearchKey=o!play O!Play Air]
 
Notes on working state with [http://www.asus.com/Search.aspx?SearchKey=o!play O!Play Air]
  
== Samsung TV with Media@ capability ==
+
==== Samsung TV with Media@ capability ====
  
 
The TV will play all media (pictures, music, movies) over WLAN/LAN, in TVs like the [http://www.samsung.com/uk/consumer/learningresources/tv/mediasolution/introduction.html Samsung with Media@ features], no problem.
 
The TV will play all media (pictures, music, movies) over WLAN/LAN, in TVs like the [http://www.samsung.com/uk/consumer/learningresources/tv/mediasolution/introduction.html Samsung with Media@ features], no problem.
  
== Windows Media Center ==
+
==== Windows Media Center ====
  
 
Windows 7 (Ultimate pre-release) Media Center will display pictures and play music. Video doesn't work.
 
Windows 7 (Ultimate pre-release) Media Center will display pictures and play music. Video doesn't work.
  
== Windows Media Player 11 ==
+
==== Windows Media Player 11 ====
  
 
On Windows 7 the Windows Media Player 11 shows successfully the Amahi-Server. On Windows XP this doesn't work.
 
On Windows 7 the Windows Media Player 11 shows successfully the Amahi-Server. On Windows XP this doesn't work.
  
== VLC Media Player ==
+
==== VLC Media Player ====
  
 
VLC Media Player will connect to DLNA on Mac & Linux.
 
VLC Media Player will connect to DLNA on Mac & Linux.
Line 139: Line 142:
 
On Mac you can click on File > Service discovery > Universal Plug'n'Play discovery.
 
On Mac you can click on File > Service discovery > Universal Plug'n'Play discovery.
  
== 4u2stream ==
+
==== 4u2stream ====
  
 
The client which is available at http://4u2stream.4u2sites.com works under windows xp.
 
The client which is available at http://4u2stream.4u2sites.com works under windows xp.
  
== Moxi ==
+
==== Moxi ====
  
 
Music, video, and pictures all work perfectly on [http://moxi.com Moxi]. Go to Media Link on the Moxi menu, and Amahi shows up in the list of media servers, complete with a Penguin for the logo.
 
Music, video, and pictures all work perfectly on [http://moxi.com Moxi]. Go to Media Link on the Moxi menu, and Amahi shows up in the list of media servers, complete with a Penguin for the logo.
  
== TerraTec NOXON iRadio ==
+
==== TerraTec NOXON iRadio ====
  
 
Working, no changes are needed, by default a server called Amahi appears in the list of the home menu.
 
Working, no changes are needed, by default a server called Amahi appears in the list of the home menu.
  
= FAQs =
+
=== FAQs ===
  
 
* Q: Does it support Matroska (.mkv) files?: Yes!
 
* Q: Does it support Matroska (.mkv) files?: Yes!
Line 161: Line 164:
 
* Q: I added additional share locations into the config file but they do not appear!: try removing files.db under /tmp/minidlna/ and restarting the amahi-dlna service
 
* Q: I added additional share locations into the config file but they do not appear!: try removing files.db under /tmp/minidlna/ and restarting the amahi-dlna service
  
=Playlists=
+
=== Playlists ===
  
 
TBD
 
TBD
  
=Update to latest minidlna=
+
=== Update to latest minidlna ===
 
Coming soon...
 
Coming soon...
  
= App's screenshot and logo =
+
=== App's screenshot and logo ===
  
 
[[Image:dlna-sshot.jpg]]
 
[[Image:dlna-sshot.jpg]]

Revision as of 05:10, 31 December 2012

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


by northridgegrp


Working page for Amahi DLNA, the Amahi port of MiniDLNA. It makes your Amahi HDA the best media server for all your clients.

What is DLNA?

Amahi has other media server apps available as well:


NOTE:

  1. The majority of the guidance here is specific to Fedora and may not apply to Ubuntu. We hope to revise soon.
  2. DLNA does not support server "transcoding" on the fly.

Tips

  • You can configure its options in the ".conf" file in:

Fedora:

       /var/hda/apps/dlna/amahi.conf

Ubuntu:

       /etc/minidlna.conf
  • One section of the ".conf" file allows for changing where the directory locations where media files are stored.
# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=A,/var/hda/files/music <======================================= music
media_dir=V,/var/hda/files/movies <====================================== videos
media_dir=P,/var/hda/files/pictures <==================================== photos, pictures
  • Another section of the ".conf" file allows for setting the name of the Amahi DLNA server.
# set this if you want to customize the name that shows up on your clients
friendly_name=Amahi Media Server <============================================ set DLNA server name
  • It has some Tivo support.
  • It picks up new files added automatically (as opposed to uShare).
  • Check the log file for the app at:

Fedora:

       /tmp/minidlna/minidlna.log

Ubuntu:

       /var/log/minidlna.log
  • In the cases where the DNLA Players cannot support a video format, utility software on a client workstation can be used for "transcoding". The final transcoded file(s) then can be uploaded to an Amahi media directory.
Definition: transcoding
The direct digital-to-digital data conversion of one encoding format to another, such as video or audio 
data files. Such as cases where a "target" device does not support a source format.

Troubleshooting

  • If you have problems where DLNA cannot see some files, it may be due to some ownership/permissions issues. You can do this (change the path and USERNAME accordingly):
bash code
​cd /var/hda/files/movies && chown -R USERNAME:users *​

NOTE:
Some Amahi applications that share the same media files require specific ownership/permissions to media directories and files.

In the case of Fedora the following could apply:

bash code
​cd /var/hda/files/ chown -vR apache:users movies chmod -vR 775 * cd movies chmod -vR 775 *​
  • If you installed too early, uninstall DLNA, uninstall RPM Fusion (Non-free) and RPM Fusion, in that order, refreshing each time the available apps page in your HDA.
  • If you suddenly realize that ONLY a part of your library is delivered by your amahi-dlna server to your clients you (most probably) have add a file to the library that forces dlna daemon parser to crash. Check this out if this is the case.

DLNA Players

There is no list of Amahi Certified DLNA Players because most (99.999%) of clients will work. The client has to support the format of the file that the server is streaming. Not all clients support all the formats. Typically DivX format are widely supported, but newer formats like Matroska may not be supported by some clients.

Below you will find a list of some client devices/applications. Feel free to add your client and what features it supports.

WD TV Live

At the moment, with a WD TV Live player, we can stream from .avi files to full 1080p content from this server.

With Matroska files it also supports subtitles in various languages and multiple audio tracks.

PS3

Notes on working state with PS3.

Playing avi and mkv files (mostly with h.264 content) worked great! Video seems to be working nicely!

Playing of mp3-files has been no problem - worked fine.

Xbox 360

Notes on working state with Xbox 360:

  • Install Amahi-dlna
  • Turn on Xbox 360 and Navigate to My Xbox
  • Scroll to the right until you see Music Library
  • Hit "A" on your controller.
  • Amahi should be one of your choices if amahi-dlna was installed correctly.

Repeat for Picture Library.

O!Play Air

Notes on working state with O!Play Air

Samsung TV with Media@ capability

The TV will play all media (pictures, music, movies) over WLAN/LAN, in TVs like the Samsung with Media@ features, no problem.

Windows Media Center

Windows 7 (Ultimate pre-release) Media Center will display pictures and play music. Video doesn't work.

Windows Media Player 11

On Windows 7 the Windows Media Player 11 shows successfully the Amahi-Server. On Windows XP this doesn't work.

VLC Media Player

VLC Media Player will connect to DLNA on Mac & Linux.

On Linux you will need the CyberLink UPnP plugin. If you manage to install it, please report back here!

On Mac you can click on File > Service discovery > Universal Plug'n'Play discovery.

4u2stream

The client which is available at http://4u2stream.4u2sites.com works under windows xp.

Moxi

Music, video, and pictures all work perfectly on Moxi. Go to Media Link on the Moxi menu, and Amahi shows up in the list of media servers, complete with a Penguin for the logo.

TerraTec NOXON iRadio

Working, no changes are needed, by default a server called Amahi appears in the list of the home menu.

FAQs

  • Q: Does it support Matroska (.mkv) files?: Yes!
  • Q: Can it stream .iso files?: Nope
  • Q: Can it stream full DVDs: Nope, only the VOB files
  • Q: Does it have support for album art and covers?: Yes!
  • Q: Does it have support for subtitles?: Yes!
  • Q: Does it transcode on the fly while streaming?: Nope
  • Q: I added additional share locations into the config file but they do not appear!: try removing files.db under /tmp/minidlna/ and restarting the amahi-dlna service

Playlists

TBD

Update to latest minidlna

Coming soon...

Dlna-sshot.jpg

Dlna-logo.jpg