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
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.
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
you are missing some dependency packages on your system. I'll put up the complete instructions for from-scratch building and installation this weekend.
I finally find out where's problem - I missed ffmpeg library. I thought I've got it. Now is everything working. Thanks!
Hy
where can i find all the dependences?
thanks
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):
then you could use ./configure like thisexport PATH=$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin
presuming you have the default developer tools installed./configure --prefix=/opt --host=mipsel-linux
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 10:01.
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?
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/
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.
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 08: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
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.
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
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 14:19.