marcelotk15 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

MiniDLNA Issues #261

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

I've been facing a lot of issues with the version featured at 
SnakeOS.(subtitle, rewind/forward issues, etc).
This version is quite OLD and was compiled by David Mills and posted to 
DealExtreme NAS forum. 
http://groups.google.com/group/dealextreme-nas-/browse_thread/thread/46942c7f48a
d72d2/5e6bf7b146fb519c#5e6bf7b146fb519c

In that sense, this is not the latest version from CVS and a lot of issue has 
been solved since then. Many other features has been included as well.

I could compiled Minidlna as static binary using SnakeOS toolchain.
However, my binary seems not to work: something is wrong with my libavformat 
(ffmpeg) lib, since its compilation was not that straight forward as should be.

Could someone please try to compiled the latest Minidlna CVS code and share 
here to SnakeOS users?

I can help expedite if someone could share the ffmpeg static lib files compiled 
for SnakeOS.

with Best regards

Original issue reported on code.google.com by brunomaz...@gmail.com on 27 Dec 2011 at 3:25

Attachments:

GoogleCodeExporter commented 9 years ago
There's a cvs snapshot of minidlna, its dependencies and Makefiles to build 
everything in our svn. The snapshot is a month or two old though and there are 
some known issues with the resulting package.

See comments here: http://code.google.com/p/snake-os/wiki/MiniDLNA
(I should probably add it to the main article)

To build it do.
svn checkout http://snake-os.googlecode.com/svn/packages/ snake-packages
cd snake-packages
(if you want to make any changes edit minidlna/Makefile to customize the build)
make minidlna

If you are lucky you will end up with a minidlna binary somewhere and a package 
under output/

Make sure you have all the dependencies for building snake installed (see 
FAQ)... Actually, I don't remember why building snake is even required for 
minidlna maybe it's a copy/paste error in the Makefile. Will have to look into 
that, because building snake takes forever..

Original comment by stefansc...@googlemail.com on 30 Dec 2011 at 4:24

GoogleCodeExporter commented 9 years ago
Hi Stefan, I've sucessfully compiled using minidlna version inside 
snake-packages from the svn snake-os you've mentioned. The generate opk worked 
fine! 
However, with the latest minidlna version 1.0.22 branch, you don't have no 
longer support to .configure and to generate the Manifest file (the manifest 
file is static). I was about to try compiling from the Manifest inside 
minidlna-src (latest 1.0.22) and proceed with the packaging (opk related)stuff 
with top level directory manifest but I could not succeed yet and apparently 
YOU DID :-)!! Thanks a lot! So, could you please apply the changes refered to 
latest minidlna sources at the script manifest file inside snake-os package as 
well? Since I'm so close to get it, I would like to apply some patches above 
minidlna source, specific for my TV and other users could do the same. Again, 
thanks for the latest package. With many thanks and kind regards, 

Original comment by brunomaz...@gmail.com on 4 Jan 2012 at 9:32

GoogleCodeExporter commented 9 years ago
It's actually the other way around. Future releases will use configure and the 
static makefile is the old way.

There's now a "minidlna-release" target that will build the latest released 
version (1.0.22).
For this target the source in not included in the svn (it will be downloaded by 
the makefile), which makes applying patches slightly harder. 

To do so try:

make minidlna-release # build normally so you get the source
make -C minidlna-release/minidlna-src/ clean; rm 
minidlna-release/minidlna-release.opk output/minidlna-release.opk # cleanup to 
force rebuild
<apply your patches>
make minidlna-release # build patched version

Original comment by stefansc...@googlemail.com on 5 Jan 2012 at 5:13

GoogleCodeExporter commented 9 years ago
Please post the lastest version of compiled MiniDLNA.. Since older version got 
couple of issues... like cannot FF and rewind..

Original comment by swelab...@gmail.com on 5 Jan 2012 at 11:54

GoogleCodeExporter commented 9 years ago
The packages are in the downlaod section. OR do you just want the binary?

Original comment by stefansc...@googlemail.com on 6 Jan 2012 at 6:04

GoogleCodeExporter commented 9 years ago
Hi, I have come across a issue with miniDLNA. That is after sometime it 
crashes. I mean it stops working. So i need the restrat the service from the 
services menu. Any idea what need to be done? 

Original comment by swelab...@gmail.com on 1 Feb 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Maybe try enabling swap if you haven't already.

Original comment by stefansc...@googlemail.com on 2 Feb 2012 at 12:25

GoogleCodeExporter commented 9 years ago
Hi, 
I had same crash issues and it´s very annoying. It happens while streaming 
always in the same point of the video. Looking at the logs of minidlna on debug 
mode, there is no errors and streaming is interrupted. Service stops working 
(only restarting the service to work again as mentioned). 
My guess is probably lack of enough memory in NAS to run minidlna on Snake-OS. 
I have the swap file enabled already and I would like to try increase the value 
to retest. 
So, how can I increase swap size?  

Original comment by brunomaz...@gmail.com on 9 Mar 2012 at 6:58

GoogleCodeExporter commented 9 years ago
Hi Stefan, 

Any ideias on how to increase swap file?

Additionally, I´ve compiled minidlna 1.0.24 version (attached. The pkg label 
appears 1.0.22 but the running binary is the 1.0.24, if you check at command 
line). 
This version seems better but crash issue is still happenning.

Also, I was wondering if someone could include MEDIATOMB at snakeos svn 
packages. 
I´ve tested one static binary that seems to be more reliable than minidlna. 
However, it doesn´t have subtitle support and I would like to apply some patch 
for SRT subtitle on its source code.

Could you provide same as minidlna?

With many thanks and kind regards,

Original comment by brunomaz...@gmail.com on 20 Mar 2012 at 1:37

Attachments:

GoogleCodeExporter commented 9 years ago
Oups, this kinda went under.

I somehow doubt that it's a swap issue, but something like this should expand 
the swapfile.

swapoff /usb/sda1/swapfile 
dd if=/dev/zero of=/usb/sda1/swapfile bs=1024 count=500000
mkswap /usb/sda1/swapfile
swapon  /usb/sda1/swapfile

count is the size in kilobyte.

Thanks for the updated minidlna. The package version is set in 
minidlna/control/control btw.

I can look into mediatomb. There's some overlap in the dependencies with 
minidlan, that should speed things up.

Original comment by stefansc...@googlemail.com on 22 Mar 2012 at 12:13

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for swap information.I´ll give it a try and check how it goes.

Also, let us know when you get mediatomb stuff done. 

Many thanks

Original comment by brunomaz...@gmail.com on 22 Mar 2012 at 1:29