So, I have ‘successfully’ installed and mostly configured SubSonic media server on the MBL. It has been quite an adventure, to say the least. The hardware is… somewhat… limiting, and the OS structure is… unconventional. This limits the multimedia capabilities. The real hit is the single-core design. It really does not work well on servers. The PPC architecture is not as much of a problem as I had feared - the Debian community has a well-stocked repo for PPC packages.
A guide will likely be forthcoming, but here’s what I have so far:
SubSonic is installed and running, accepting clients and serving media.
I was able to install it with the standard Debian package from subsonic.org, after installing openjda-6-jre.
UI is… sluggish at times. I’m not sure why. It seems random.
It will not work if mediacrawler is active. I just kill -9 it. Doesn’t seem to have a negative impact on basic NAS servicces.
Currently has to run as root, working on changing that. I’d rather have it set up with a dedicated daemon user, but that has proven challenging for some reason.
Java is a FREAKING FATTY-FAT McFATSO. It eats more than half of the available resources when subsonic is streaming MP3 audio to a single remote client. I do not know if this scales linearly, or what the scaling factor is yet.
Transcoding video is going to be a no-go. I am able to shoehorn a current version of ffmpeg in, so it’s physically possible to do it. However, it transcodes at ~2 FPS, since Fatty McJava is hogging all the resources. So, streaming video isn’t going to happen.
Any alternate suggestions? I’d like to have streamable video transcoding available.
Yeah the single core is very limiting indeed. The things I have installed so far run pretty good on the MBL but it sounds like SubSonic may not be worth any more effort due to hardware limitations. I dunno if there is anything out there that would transcode audio/video on this little box but I could be wrong.
ffmpeg seems to be barely holding its own transcoding FLAC on-the-fly. It transcodes faster than it streams, at least. There’s definitely a bottleneck somewhere, but I haven’t been able to nail it down yet. I’ll keep working on it, because… well, I’m a professor and it’s final exam week. I have nothing better to do.
Although now I have a larger concern - heat. Even if I can get stable transcoding/streaming going, this box was not intended to handle heavy loads. The CPU generates a lot of heat, but there isn’t any active cooling. Or even decent heatsinks. While it may not really cook it, it will definitely shorten the lifespan.
So the next question is… how moddable is the hardware…
If you get REAL bored, try getting Ajenti installed and the admin page to load. I messed with it for a couple of days and could get it installed but could never get the dashboard to load in the web browser
To follow up on the temperature thing, /usr/local/sbin/monitorTemperature.sh runs scripts based on the system temperature. I could have it stop all of the heavy processes when it gets too hot.
Any (good) news with this project? Would you please post at least a draft on how to install them so I can try to reproduce it on my device and share the results?
I know I’d HATE to have running Java (I hate Java) or my poor little device, but I’d really like to have streaming audio capabilities to my Android device. I’m currently streaming via SFTP with a file called ES File Explorer which features a built in media player and manages the streaming by itself, but I’d like to change that app (use another file manager) and also avoid the gaps between track changes (like 5 ~10 seconds) in which it seems to start downloading the next file. The good thing about it is that it works on native SFTP and doesn’t require any extra overhead for that!
i have it working and (pretty) stable. Java uses a TON of resources, but the MBL seems to be able to handle it. The guide is going to take a couple days - final exams just ended and now I have to grade them… Hopefully will get it up this weekend.
For reference: it can transcode and stream FLAC audio fast enough to stream nicely. And there isn’t a noticeable playback gap
When you mean GUI… what do you mean? Via Web? Or what is this GUI?
Care to throw a draft of the steps to install it? No fear to brick it - my device already is :P. Hopefully it won’t use Apache or PHP because they don’t work!
Yeah the SubSonic webpage… I used lame for the transcoder at first, now I’m switching over to ffmpeg to get flac transcoding working. Will post back results