Blog

Follow us and stay up to date!

FreeNAS Tutorial Part 4 – UPnP Streaming

26

clip_image002

During our last segment of the FreeNAS install guides, we showed you how to stream your music, pictures, and videos to iTunes. This time we will walk you thru how to stream media to a much more broad range of devices. After this tutorial, your FreeNAS server will essentially be a DLNA media server and will send media to any of your DLNA/UPnP televisions, media boxes, HTPC, Xbox, PS3, tablet, phone, and many other devices. DLNA/UPnP is a network protocol that device manufacturers follow to have their devices discover each other’s existence on a network designed to aid in data sharing. FreeNAS uses FUPPES (Free UPnP Entertainment Services) to stream your content. FUPPES was created by Ulrich Völkel and is available for download on many platforms, find more about it here: http://fuppes.ulrich-voelkel.de/.

clip_image006clip_image004

Just like with our previous tutorials, this one will be really easy to complete. With just a few simple steps, you will be able turn your simple storage server into an entertainment powerhouse that will stream content throughout your Connected Home!

UPnP Setup

1. Login to your FreeNAS web-administration console

2. Click on the ‘Services’ Tab

3. Click on the ‘UPnP’ menu item

clip_image008

4. Click on the ‘Enable’ checkbox to select this item

5. In the ‘Server Name’ field, change this to how you would like your server to appear on your DLNA/UPnP enabled devices

6. Under the ‘Database directory’ section, click on the ellipsis button

7. Navigate to the folder where you would like your configuration files and database to be saved. Once you see the path in the field, click ‘ok’

clip_image010

8. Under the ‘Content’ section, in the ‘Add’ field, type in the location of the folder containing the music, pictures, and videos you would like to share.

9. Click on the ‘Add’ button and your folder should now be listed in the ‘Content’ list

10. Repeat this step until you have added all of the folders you would like to include

clip_image012

11. In the ‘Profile’ section, leave the menu item as ‘Default’

12. In the ‘Transcoding’ section, check the ‘Enable transcoding’ checkbox

13. In the ‘WebGui’ section, check the ‘Enable web user interface’ checkbox

14. Click the ‘Save and Restart’ button and confirm that the changes have been applied successfully

15. Scroll to the bottom of the screen and on the very bottom section is the ‘URL’ section. Click on the link which will bring up the FUPPES administrative webGUI

clip_image014

16. On the left side of the page, click on ‘Options’

17. In the ‘Options’ page, click on the ‘rebuild databases’ link. **Depending on the size of your media collection, this may take a while**

18. The webGUI may not tell you when it is done, so go back to the web browser with the FreeNAS web console

19. Hover your mouse cursor over the ‘Status’ tab

20. Click on the ‘Processes’ menu item

21. If you see the ‘fuppesd’ process at anything over 0%, then the system is still cataloging your media. If it is at 0% or does not show up on the list, you can go to the next step

clip_image016

22. Go back to the FUPPES browser window and click on ‘Options’

23. Click on ‘rebuild virtual container’

24. Repeat steps 19 to 21 to make sure that the system is finished rebuilding

25. Once done, go back to the FUPPES browser window and click on ‘Status’

26. If the count is approximately the count of media files in your collection you are finished!

clip_image018

That’s it! Fire up your DLNA/UPNP-enabled TV, media centre, game console, or toaster (you never know…) and stream that media! You should now be able to access your music, pictures, and videos on multiple devices on your connected home network. Feel free to leave us a comment below if you have any problems with your setup!

If you happen to have missed any of the previous FreeNAS Media Server Build series, you can find the entire series here:

freenas install

FreeNAS Server Setup Part 3 – iTunes Streaming

FreeNAS Server Setup Part 2 – Disk, User, and CIFS Setup

FreeNAS Server Setup Part 1 – Installation and Initial Configuration

John

Your Opinion Counts!
Did you like this article and our website? Please “Share” us and spread the word about the Connected Home craze!

About the Author

John ReyesJohn, a seasoned IT professional working in the field since the Dot-Com Era, currently works as a system engineer for a large health care organization. In addition to his full time job, John also specializes in small business consulting, data recovery, forensics and freelance writing. He is also very active in the open-source community. When he’s not in front of a computer, you’ll usually find him mountain biking on a hill somewhere.View all posts by John Reyes

  1. JFR
    JFR02-06-2011

    Hey john thanks for your blog very nice,
    im setting up FreeNas for media streaming to my dlna tv sony bravia 55hx701
    everything is working fine with my pc in my network, my ps3 also i have no problem
    but my tv, when i go in the media server troubleshooting tells me server name FreeNas:, the server does not support DLNA. Any idea what I did wrong?
    I cant find anything online about this issue
    thanks
    JF

  2. brad
    brad04-25-2011

    Having the same issue with my LG tv. I can see the list of movies and pictures but I am unable to see any of them…

  3. Wojtek
    Wojtek10-08-2011

    Hi,
    I wanted to have a media server for my Samsung TV.
    (Samsung UE32C6600 and FreeNAS 0.7.2 (Sabanda) on a PC)
    In order to do this I have :
    – installed FreeNAS on a PC in my LAN, mounted a partition DATA1 on /mnt/
    – run a uPNP server with Database directory and Content set to /mnt/DATA1/
    – run a SMB server with a share SHARE1 on path /mnt/DATA1/
    – placed audio/video files by using SMB on SHARE1 share.
    – browsed available locations on server by TV.
    The success is that the TV can see a folder „DATA1”.
    But the folder is shown as empty, no audio/video files are there. Only a subdirectory .snap is visible.

    Why?

    I thouhgt the files should be accessible in this location by both protocols.

    My ideas are: missing privileges or location is not the same.

    Please help me. This is my first time with FreeNAS and DLNA.

    Wojtek

    PS Thank you for the tutorial. Really helpful.

  4. Wojtek
    Wojtek10-08-2011

    Hi,
    already found my mistake: everything works well but I was browsing with video files filter on, while only music files were in the folders. Thus I couldn't see anything.
    Thank you for the tutorials again, John.

    Wojtek

  5. kasper6986
    kasper698611-07-2011

    i have a toshiba led tv with wifi and i cannot get it to say anything but no applicable media files

  6. Tom Abell
    Tom Abell11-08-2011

    Hmm, I guess the obvious question would be if you have the right kind of media files on the server. What video format are you using?

  7. Jens Peter
    Jens Peter12-05-2011

    Looks like the UPNP service have gone missing in FreeNass 8.02.
    Do you know of any (easy) ways to make the Freenas server as a media server ?

  8. Danswan
    Danswan01-04-2012

    Any tips for getting album art to show on clients? I've tried a windows client (Media player 11) and an android one on my phone (Bubble UPnP I believe) and although music plays fine I dont get the album art from the folder, usually in the form of a folder.jpg file.

  9. bob
    bob01-19-2012

    thanks

  10. Rich
    Rich01-30-2012

    ah this is fustrating. I have set up UPnP as i should of and followed the steps meticulously.

    I am attepmpting to share the folders with my Xbox360, I have shared the folder and it is displayed on my xbox although when i enter the folder i cannot view any media. I have tried various file types from avi to mkv to no avail.

    Have you seen this problem before?

  11. Kevin Malmo
    Kevin Malmo02-04-2012

    I have been reading about freeNAS for my next home project and I hope I can decide to go ahead with it. out of the shelves NAS is another consideration that I am thinking.

  12. Chuck
    Chuck02-17-2012

    Can freenas 8.03 support any media streaming? any links on this ? What the best zfs setup for smooth video streaming?

  13. Thanh
    Thanh02-19-2012

    I can't find this service ???

    UPnP Setup

    1. Login to your FreeNAS web-administration console

    2. Click on the ‘Services’ Tab

    3. Click on the ‘UPnP’ menu item

  14. Thanh
    Thanh02-19-2012

    I install FreeNAS-8.2.1-ALPHA-r10163-x86
    Then I'm looking for UPNP service for media streaming
    Why my NAS hasn't UPNP service

  15. jay
    jay02-28-2012

    FreeNas 8.x does not support UPnP. They have plans to add it as a module in a future release. The latest version of FreeNas that supports UPnP seems to be 0.7.2 Sabanda (revision 8191).

Leave a Reply

Setup & Integration of Home Technology: Home Theater - Home Server - HTPC - Home Networks