I've finally managed to run MediaTomb on my ReadyNAS Ultra 4. With the current setup I can stream any video to my PS3. Subtitles are supported but only as external srt or sub file (that must be named exactly like the video file with the exception of the extesion that can be either srt or sub).

I've also made a bin package for readynas. Before installing it you must enable ssh access and install a few external dependecies:

(1) MediaTomb, the actual DLNA server(2) mencoder, used for transoding video and audio to formats that are supported by the PS3(3) mediainfo, used to extract infomation from the video file (such as codec and resolution)

is used in order to understand if the video and audio shall be streamed to the PS3 or if it must be transcoded. In the later case the format used is mpeg2. Notice that if a subtitle is found the video is always trancoded since that is the only way to deliver subs over DLNA.

After installing the package you will see a new section in Addons -> Installed. This section, named MediaTomb, contains a single button that redirects to the MediaTomb configuration interface (that is quite straightforward).

Finally, this mess between etch packages and lenny packages is a nighmare, for example the development version of the freetype package is from debian etch while the freetype package is from lenny, which make impossible to install libfreetype6-dev using apt-get.

Last edited by hamvil on Fri Jan 27, 2012 4:31 pm, edited 7 times in total.

I've uploaded a new version of the package. Now it supports multiple external subtitles.

Basically you place video (avi, ogm, mkv, mp4) and subtitles (srt, sub) in the same directory and you make sure the the subtitles are named according in the following format:

videoclip.avivideoclip.srtvideoclip.en.srtvideoclip.it.srt

In your PS3 you will see 4 entries: one avi and three subtitles. If you play the avi file you will get the default subtitle track, i.e. videoclip.srt. Instead if you play the third or the forth entry you will get the subtitles in either english or italian.

Notice that if the file videoclip.srt is not available the videoclip could be streamed without transcoding (if the codecs are supported by the PS3) which should improve the video quality. Instead if you use subtitles the video is always transoded.

Tested on a readynas ultra4 (firmware 4.2.19) and a PS3 slim.

R.

Last edited by hamvil on Fri Jan 27, 2012 2:48 am, edited 1 time in total.

Preliminary "tests", that is trying to play some movie, are disappointing.

For example I was trying to stream a movie with resolution 1280x720, but mencoder can generate up to 20/21 frames per seconds. So the Ultra 4 cpu is too slow to handle such content. Notice that mencoder was already compiled with yasm (without the framerate was 10/12 fps)

In order to get a smooth playback I must use an HORIZONTAL resolution of 512 pixel.

Well I should have bought the Ultra Plus or maybe with the money I saved I could buy a Boxee

Does anybody know if it is possible to replace the atom CPU? Is it soldered or it is on a socket? What about overclocking?

Last edited by hamvil on Fri Jan 27, 2012 2:52 am, edited 1 time in total.

nas-8B-2D-9C:~# apt-get install libfreetype6 ttf-dejavu ffmpeg lsdvdReading package lists... DoneBuilding dependency tree... DoneYou might want to run `apt-get -f install' to correct these:The following packages have unmet dependencies: ffmpeg: Depends: libavcodec0d (>= 0.cvs20060823) but it is not going to be installed Depends: libavformat0d (>= 0.cvs20060823) but it is not going to be installed Depends: libsdl1.2debian (>= 1.2.10-1) but it is not going to be installed libsigc++-2.0-dev: Depends: pkg-config but it is not going to be installed Depends: libstdc++-dev squeezeboxserver: Depends: sox but it is not going to be installed Depends: libvorbisenc2 but it is not going to be installed Depends: libvorbisfile3 but it is not going to be installed ttf-dejavu: Depends: defoma but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Well it seems that there some difference between my repos and yours. I do not have access to my readynas, but as far as I remember I;m using the default configuration for APT. Maybe I;ve also activated the backports repo. In order to do so you must uncomment a line in the apt configuration file. It should be in /etc/apt/sources.