OpenWrt Forum Archive

Topic: Mediatomb?

The content of this topic has been archived on 7 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hey guys,
  I was thinking about picking up a WRT610N for my wifi AP so I can serve files off of my 500G usb drive via MediaTomb to my PS3.  Has anyone tried this using openwrt?  I also have a weather station that I have running off of a serial->usb interface that uploads data every minute to my weather website (http://wx.hemna.com) and I was planning on using the WRT610N running openwrt for this as well.  I just need to compile a C app to read data from the serial interface, then make a curl call to a url to update the database that the weather site uses.  Do you think this will be possible on openwrt?  Is there a gcc compiler that ships with openwrt?

Thanks guys,
Walt

I got MediaTomb working back last May 2008, but there is a problem:  due to some bug (I think in the c runtime implementation, or maybe even further down) the executable will spin, consuming 100% available CPU.  Basically a waitable timer is not waiting, but returning immediately.

I worked with the developer a couple weeks to try to fix it, but both he and I stopped persueing in.  I don't have a PS3 anymore, so it wasn't critical to me because SAMBA serves my needs otherwise.

It did work quite well save the CPU usage issue.  The ability to tweak things to make my avi files work on PS3 was great -- I was able to play about 93% of my content (without the type remapping I could play maybe about 5%).  A key thing about PS3 video:  don't use GMC, dont use QPEL -- it can't play files encoded with these MPEG-4 features (alas).  The high CPU usage meant that indexing took about 4 days to complete (over 2,000 video files, 13,000 audio).  Should have took maybe an hour or so (based upon running media tomb on a really pokey PC I have).

The same codebase apparently works fine on NSLU2, so I really think it's either the C runtime or deeper in the kernel, wherever the waitable event mecahnism is implemented (sorry I can't recall the datails better).

The discussion might have continued from here.