Results 1 to 14 of 14

Thread: minidlna media server for asus routers

  1. Smile minidlna media server for asus routers

    Hi Guys

    I just compiled the awesome minidlna media server for our asus routers. I haven't been able to get the cross compile toolchain and ipkg setup going yet, so compiling it natively on the router. You can get the source code and compiled binaries from the github repository: https://github.com/shantanugoel/minidlna-asus

    This also includes some awesome patches for samsung tvs that haven't been upstream'ed yet.

    Please let me know if you want to see anything special added to it or have any ideas/code to incorporate.

  2. #2
    Hi, I've tried to compile miniDLNA server. I run make and I got lots of errors. Where's problem? (If I make anything wrong don't be mad at me - I'm new with Linux)
    Log is in attachment

    Thanks for answering me
    Attached Files Attached Files

  3. you are missing some dependency packages on your system. I'll put up the complete instructions for from-scratch building and installation this weekend.

  4. #4
    I finally find out where's problem - I missed ffmpeg library. I thought I've got it. Now is everything working. Thanks!

  5. #5
    Hy
    where can i find all the dependences?

    thanks

  6. #6
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by shantanugoel View Post
    I haven't been able to get the cross compile toolchain and ipkg setup going yet, so compiling it natively on the router.
    ipkg tools can be found in the firmware modkit: http://code.google.com/p/firmware-mod-kit/
    just in the ipkg template where they explain how to do it, quite easy.
    Don't forget to remove the .svn folder when you make a ipkg

    For the toolchain just get this: http://code.google.com/p/wl500g/down...+DownloadCount
    (32/64bit)
    extract it in /opt/brcm
    Rename the folder so that you'll have "/opt/brcm/hndtools-mipsel-uclibc"

    then just add it to your path (command line):
    export PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin
    then you could use ./configure like this
    ./configure --prefix=/opt --host=mipsel-linux
    presuming you have the default developer tools installed

  7. #7

    Not working with Samsung TV

    Hi,

    Thank for the post. I could compile the app and run it but unfortunately got "Unhanded format" message at my TV for every movie.

    BTW: I had the same trouble for mkv at my Linux box. The problem was related to ffmpeg.
    Which ffmepg version did you use. I used the last one from http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/ : ffmpeg_0.svn20080409-3_mipsel.ipk
    Last edited by bourbaki; 30-03-2011 at 11:01.

  8. #8
    Good job,

    I was looking for DLNA server few months ago and finally buy Twonky server, which is good, but some FastForward/Backwards, subtitles and language features are not working.

    Have you made a list of your miniDLNA server features?

  9. Quote Originally Posted by bourbaki View Post
    Hi,

    Thank for the post. I could compile the app and run it but unfortunately got "Unhanded format" message at my TV for every movie.

    BTW: I had the same trouble for mkv at my Linux box. The problem was related to ffmpeg.
    Which ffmepg version did you use. I used the last one from http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/ : ffmpeg_0.svn20080409-3_mipsel.ipk

    I'm using the same ffmpeg. Your TV might not be supporting the format of the video. Anyways, this seems like an upstream issue. You can report the same at http://sourceforge.net/projects/minidlna/

  10. Quote Originally Posted by Stewa View Post
    Good job,

    I was looking for DLNA server few months ago and finally buy Twonky server, which is good, but some FastForward/Backwards, subtitles and language features are not working.

    Have you made a list of your miniDLNA server features?
    Please see http://sourceforge.net/projects/minidlna/ for all the features supported by upstream. I'm just trying to port it to asus routers (and take some patches that haven't made it to upstream yet)

    Edit: BTW, I have updated my github repo ( https://github.com/shantanugoel/minidlna-asus )with the latest minidlna 1.0.21. This is vanilla version though and I haven't merged in any samsung TV specific patches yet that I had done last time.

  11. #11

    Thumbs up

    Hey shantanugoel!

    thanks for the git! I successful compiled the asus-samsung branch after meeting the prerequisites (flac was missing in my case)
    I just switched from mediatomb to minidlna, because of the working autoscan.

    DLNA renderer is a Samsung UE37C6700 with T-VALDEUC-3009.2 FW
    I'm now testing subtitles.


    can you specify what samsung specific patches there are around?

    here my start-stop script (altered from lighttpd)

    Code:
    #!/bin/sh
    
    prefix="/opt"
    PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
    NAME=minidlna
    DAEMON=${prefix}/sbin/${NAME}
    DAEMON_OPTS="-f ${prefix}/etc/minidlna.conf"
    
    test -x $DAEMON || exit 0
    
    if [ -z "$1" ] ; then
        case `echo "$0" | sed 's:^.*/\(.*\):\1:g'` in
            S??*) rc="start" ;;
            K??*) rc="stop" ;;
            *) rc="usage" ;;
        esac
    else
        rc="$1"
    fi
    
    case "$rc" in
        start)
            echo "Starting dlna server: $NAME"
            $DAEMON $DAEMON_OPTS
            ;;
        stop)
            if [ -n "`pidof $NAME`" ]; then
                echo "Stopping dlna server: $NAME"
                killall $NAME 2> /dev/null
            fi
            ;;
        restart)
            "$0" stop
            sleep 1
            "$0" start
            ;;
        *)
            echo "Usage: $0 (start|stop|restart|usage)"
            ;;
    esac
    
    exit 0
    Last edited by !gm; 27-09-2011 at 09:53.
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  12. hey !gm. Most of the samsung patches that I was working on have been integrated into upstream already and the asus-samsung branch is now same as the asus branch. The subtitles menu should work with the tip as my patch was upstreamed in late august and i've merged that as well to git.

    Edit: BTW, thanks for your start-stop script. I had created a basic version for my use. Will test yours and update the repo with it so that users can get a working one directly.

  13. #13
    yes subs worked, as expected... (only as .srt not embedded in containers)

    As well as wpte I encourage you too, to create that ipk
    So people with fears of compiling minidlna, can get access to that great media-server.

    S.o. with access will upload it to the repository soon and since you are active in minidlna-development you'll be the perfect maintainer.

    I can help you sorting out the dependencies by mounting a new /opt and test the ipk, if you have trouble with that.
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  14. #14
    Hi guys,

    Can you please tell me what dependencies minidlna needs, I installed libvorbis libid3tag libexif libsqlite3, the ones that I got an error in the make process but still it won't compile.

    Thanks, Laurentiu


    LE: I managed to solve the dependecy problem, but when I say make it gives the error that gcc is not installed

    How should I handle this?

    Thanks again


    LLE:

    Finally managed to get minidlna working, these were the steps:

    downloaded minidlna from: https://github.com/shantanugoel/minidlna-asus
    unziped it
    install all the dependencies:
    libavcodec libavformat libavutil libflac libvorbis libogg libid3tag libexif libjpeg libsqlite3
    the I had a problem with gcc, couldn't get it sorted out without shantanugoels magic word "build-essential"

    so I ran "ipkg install buildroot" which installed all the C libraries, gcc and gutils

    after this I ran "make" and the compilation finished ok

    after this "make install" with the observation that I have changed the installation destination to /usr/local in the "Makefile"

    Thank you shantanugoels
    Last edited by lau_swat; 24-10-2011 at 15:19.

Similar Threads

  1. HOW-TO: Compile/run Fuppes media server on WL700ge
    By neil in forum WL-700g Tutorials
    Replies: 10
    Last Post: 06-04-2009, 19:25
  2. wl-500gPv2 Media server and HDD issue
    By luladude in forum WL-500gP Q&A
    Replies: 2
    Last Post: 21-06-2008, 12:06
  3. WL-500gPv2 Media Server issue with ADSL
    By wrc4 in forum WL-500gP Q&A
    Replies: 7
    Last Post: 31-05-2008, 15:41
  4. Create a FTP Server with two WIFI Routers
    By scottietohottie in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2008, 00:23
  5. Replies: 1
    Last Post: 03-04-2007, 14:04

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •