General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Sep 21, 2014 10:08 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Mar 25, 2011 4:18 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Hi,

Did anyone tried to install PS3MediaServer http://code.google.com/p/ps3mediaserver/ on a Lacie NAS?

I would really like to do this to replacing TwonkyMedia since this can put subtitles in the videos.
But my linux/UNIX knowledge does't allow me to try this.

For what i can understand that had allready been done in other NAS systems:
- Synology DS-207+ http://www.ps3mediaserver.org/forum/viewtopic.php?f=3&t=486
- Thecus NAS N7700/N5200 http://www.ps3mediaserver.org/forum/viewtopic.php?f=3&t=2226&p=35132

Is it possible?
I think that would be very nice! What do you think?

Thank you

PS: Sorry my english


Top
 Profile  
 
PostPosted: Fri Mar 25, 2011 7:01 pm 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
I havent tried that but if u will install Debian system in NAS, its probably possible. Ofcourse machine cpu is very slow so hd and full hd streaming dont work well.


Top
 Profile  
 
PostPosted: Fri Mar 25, 2011 7:24 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
So it can be done but the harwdware can't handle the transcoding requirements?

The 2Big Network 2 processor is:
Code:
cat /proc/cpuinfo
Processor   : ARM926EJ-S rev 1 (v5l)
BogoMIPS   : 1199.30
...

And the memory:
Code:
cat /proc/meminfo
MemTotal:       256840 kB
...

One tutorial how to install in a QNAP NAS http://wiki.qnap.com/wiki/PS3_Media_Server i think without debian

Do you think there's another way for streaming the video files with *.str subtitles to a PS3?


Top
 Profile  
 
PostPosted: Sat Mar 26, 2011 11:38 am 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
Yes its possible, but hardware is limited. I have almost same setup, but i use server for running PS3 Media Server. I have all my movies in Lacie 2Big Network2. I share it using nfs4 -> to my Dual Xeon server (PS3 Media Server) -> PS3. All wires are 1GB ethernet. I havent found any other way share movies with working subtitles. Main reason why people want install media server direct in NAS is streaming mp3 and low resolution videos. I dont think so that any NAS can handle hd streaming.


Top
 Profile  
 
PostPosted: Sun Mar 27, 2011 2:28 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Ok i had allready tried the PS3 Media Server on my laptop in this configuration:

2big2 -> laptop (running PS3 Media server) -> PS3

All wireless connections because they are in different rooms.
And as expected the results are not very good. Works but with lags.

My idea has to cut the laptop from that process: 2big2 -> PS3, exactly like TwonkyMedia server, but with subtitles.

I don't use much HD videos and for that cases i can connect USB PEN with the video to the PS3 and read it with showtime http://www.lonelycoder.com/redmine/projects/showtime/wiki/PS3_usage_guide.

So, since it's possible, would it work for divx size (~700MB) video?
And if so, how would i do it? Can you give me some instructions?

Thanks in advance


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 11:14 am 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
Than it will work probably. If u want use original system, u need first enable ssh access to ur NAS and than try follow other NAS guides and install all needed packages and debendies. U can try use http://downloads.buffalo.nas-central.org/LSPro_ARM9/Distributions/Genlink/Binaries/armv5tejl-softfloat-linux-gnueabi/ packages.

If u choice install fully Debian, u can follow this guide: http://www.ps3mediaserver.org/forum/viewtopic.php?f=3&t=5589


Top
 Profile  
 
PostPosted: Sat Apr 02, 2011 11:23 am 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Thanks ZZRX for all your help!

I tried the first option but i also don't know how to put FFMpeg working?
The ipkg part:
Code:
# ipkg update
[root@lacie2big2 twonkymedia]# ipkg update
-sh: ipkg: command not found

I only tried FFMPEG because i discovered other way that may be possible with little modyfication: the ideia is to put TwonkyMedia transcoding with FFMpeg (guide: http://www.twonkyforum.com/mediawiki/in ... ranscoding) but i don't know how to install it on my NAS so them i can try to put subtitles on it (http://www.ffmpeg.org/ffmpeg.html#SEC10).

I'm not very much skilled at linux and i'm afraid i can brick the NAS if i do something wrong.
What do you think? It's it possible? Can anyone help me?

Thank in advance


Top
 Profile  
 
PostPosted: Sat Apr 02, 2011 11:46 am 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
Well its very risky do something if u dont know what u do exactly, and u can brick ur machine if u destroy wrong files or use wrong commands. Problem installing ffmpeg is that in 2Big2 isnt ipkg command in factory settings, u need install it first manually. One guide setup ipkg is here viewtopic.php?f=236&t=2348 but remember that dont do anything that u dont understand.


Top
 Profile  
 
PostPosted: Sat Apr 02, 2011 12:55 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Ok. I will put where my commands in case anyone needs it.
Installing PS3MediaServer.

1. Get SSH root access
How to: http://forum.nas-central.org/viewtopic.php?f=236&t=2518

2. ipkg command
2.1. Install:
Code:
[root@lacie2big2 ~]# cd /opt

[root@lacie2big2 opt]# feed=http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable

[root@lacie2big2 opt]# feednative=http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable

[root@lacie2big2 opt]# ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`

[root@lacie2big2 opt]# wget $feed/$ipk_name
Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
ipkg-opt_0.99.163-10 100% |*******************************************************************************************************************************************************| 74460  00:00:00 ETA

[root@lacie2big2 opt]# tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
./
./opt/
./opt/bin/
./opt/bin/ipkg
./opt/bin/ipkg-opt
./opt/bin/update-alternatives
./opt/etc/
./opt/etc/ipkg.conf
./opt/lib/
./opt/lib/libipkg.so
./opt/lib/libipkg.so.0
./opt/lib/libipkg.so.0.0.0
./opt/share/
./opt/share/ipkg/
./opt/share/ipkg/intercept/
./opt/share/ipkg/intercept/depmod
./opt/share/ipkg/intercept/ldconfig
./opt/share/ipkg/intercept/update-modules

[root@lacie2big2 opt]# mkdir -p /opt/etc/ipkg

[root@lacie2big2 opt]# echo "src cross $feed" > /opt/etc/ipkg/feeds.conf

[root@lacie2big2 opt]# echo "src native $feednative" >> /opt/etc/ipkg/feeds.conf

[root@lacie2big2 opt]# export PATH=/opt/bin:$PATH

Source: http://forum.nas-central.org/viewtopic.php?f=236&t=2348

2.2. Test & Update:
Code:
[root@lacie2big2 opt]# ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/Packages
Updated list of available packages in /opt/lib/ipkg/lists/cross
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/Packages
Updated list of available packages in /opt/lib/ipkg/lists/native
Successfully terminated.

Note: If you stop your SSH session, you have to repeat "export PATH=/opt/bin:$PATH" command

3. FFmpeg
3.1. Install:
Code:
[root@lacie2big2 opt]# ipkg install ffmpeg
Installing ffmpeg (0.svn20080409-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ffmpeg_0.svn20080409-3_arm.ipk
Configuring ffmpeg
Successfully terminated.

3.2. Test:
Code:
[root@lacie2big2 opt]# wget http://www.arielnet.com/topics2/AVI_files/tenis0001.avi
Connecting to www.arielnet.com (173.201.165.67:80)
tenis0001.avi        100% |*******************************************************************************************|  1916k 00:00:00 ETA

[root@lacie2big2 opt]# /opt/bin/ffmpeg -i tenis0001.avi teste.yuv
FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi- --arch=arm --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
  libavutil version: 49.6.0
  libavcodec version: 51.54.0
  libavformat version: 52.13.0
  libavdevice version: 52.0.0
  built on Nov 23 2010 22:02:29, gcc: 4.2.3

Seems stream 0 codec frame rate differs from container frame rate: 1.00 (1000/1000) -> 1.00 (1/1)
Input #0, avi, from 'tenis0001.avi':
  Duration: 00:02:12.0, start: 0.000000, bitrate: 118 kb/s
    Stream #0.0: Video: msvideo1, rgb555, 576x440,  1.00 tb(r)
Output #0, rawvideo, to 'teste.yuv':
    Stream #0.0: Video: rawvideo, rgb555, 576x440, q=2-31, 200 kb/s,  1.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  132 fps= 79 q=0.0 Lsize=   65340kB time=132.0 bitrate=4055.0kbits/s
video:65340kB audio:0kB global headers:0kB muxing overhead 0.000000%

4. Java
4.1. Install:
Code:
[root@lacie2big2 opt]# ipkg install classpath
Installing classpath (0.98-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/classpath_0.98-1_arm.ipk
Installing file (5.05-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/file_5.05-1_arm.ipk
Installing zlib (1.2.5-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/zlib_1.2.5-1_arm.ipk
Installing libgmp (4.3.2-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libgmp_4.3.2-1_arm.ipk
Configuring classpath
Configuring file
Configuring libgmp
Configuring zlib
Successfully terminated.

[root@lacie2big2 opt]# ipkg install jamvm
Installing jamvm (1.5.3-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/jamvm_1.5.3-1_arm.ipk
Configuring jamvm
Successfully terminated.

[root@lacie2big2 opt]# ipkg install jikes
Installing jikes (1.22-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/jikes_1.22-1_arm.ipk
Installing libstdc++ (6.0.9-6) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libstdc++_6.0.9-6_arm.ipk
Configuring jikes
Configuring libstdc++
Successfully terminated.

[root@lacie2big2 opt]# ln -s /opt/bin/jamvm /opt/bin/java

[root@lacie2big2 opt]# echo "/opt/bin/jikes -classpath /opt/share/jamvm/classes.zip:/opt/share/classpath/glibj.zip \$*" > /opt/bin/javac

[root@lacie2big2 opt]# chmod 0755 /opt/bin/javac

Note: the last 3 lines is to create more friendly usage

Source: http://www.dpembo.ukfsn.org/2008/08/28/java-compiler-vm-on-the-nslu2/

4.2. Test:

Code:
[root@lacie2big2 opt]# wget http://introcs.cs.princeton.edu/11hello/HelloWorld.java
Connecting to introcs.cs.princeton.edu (128.112.136.36:80)
HelloWorld.java.html 100% |***********************************************************************************************************|  4089  --:--:-- ETA

[root@lacie2big2 opt]# /opt/bin/javac HelloWorld.java

[root@lacie2big2 opt]# /opt/bin/java HelloWorld
Hello, World

5. Core Utils
4.1. Install:
Code:
[root@lacie2big2 opt]# ipkg install coreutils
Installing coreutils (8.4-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/coreutils_8.4-1_arm.ipk
Configuring coreutils
update-alternatives: Linking //opt/bin/[ to coreutils-lbracket
update-alternatives: Linking //opt/bin/base64 to coreutils-base64
update-alternatives: Linking //opt/bin/basename to coreutils-basename
update-alternatives: Linking //opt/bin/cat to coreutils-cat
update-alternatives: Linking //opt/bin/chcon to coreutils-chcon
update-alternatives: Linking //opt/bin/chgrp to coreutils-chgrp
update-alternatives: Linking //opt/bin/chmod to coreutils-chmod
update-alternatives: Linking //opt/bin/chown to coreutils-chown
update-alternatives: Linking //opt/bin/chroot to coreutils-chroot
update-alternatives: Linking //opt/bin/cksum to coreutils-cksum
update-alternatives: Linking //opt/bin/comm to coreutils-comm
update-alternatives: Linking //opt/bin/cp to coreutils-cp
update-alternatives: Linking //opt/bin/csplit to coreutils-csplit
update-alternatives: Linking //opt/bin/cut to coreutils-cut
update-alternatives: Linking //opt/bin/date to coreutils-date
update-alternatives: Linking //opt/bin/dd to coreutils-dd
update-alternatives: Linking //opt/bin/df to coreutils-df
update-alternatives: Linking //opt/bin/dir to coreutils-dir
update-alternatives: Linking //opt/bin/dircolors to coreutils-dircolors
update-alternatives: Linking //opt/bin/dirname to coreutils-dirname
update-alternatives: Linking //opt/bin/du to coreutils-du
update-alternatives: Linking //opt/bin/echo to coreutils-echo
update-alternatives: Linking //opt/bin/env to coreutils-env
update-alternatives: Linking //opt/bin/expand to coreutils-expand
update-alternatives: Linking //opt/bin/expr to coreutils-expr
update-alternatives: Linking //opt/bin/factor to coreutils-factor
update-alternatives: Linking //opt/bin/false to coreutils-false
update-alternatives: Linking //opt/bin/fmt to coreutils-fmt
update-alternatives: Linking //opt/bin/fold to coreutils-fold
update-alternatives: Linking //opt/bin/groups to coreutils-groups
update-alternatives: Linking //opt/bin/head to coreutils-head
update-alternatives: Linking //opt/bin/hostid to coreutils-hostid
update-alternatives: Linking //opt/bin/id to coreutils-id
update-alternatives: Linking //opt/bin/install to coreutils-install
update-alternatives: Linking //opt/bin/join to coreutils-join
update-alternatives: Linking //opt/bin/kill to coreutils-kill
update-alternatives: Linking //opt/bin/link to coreutils-link
update-alternatives: Linking //opt/bin/ln to coreutils-ln
update-alternatives: Linking //opt/bin/logname to coreutils-logname
update-alternatives: Linking //opt/bin/ls to coreutils-ls
update-alternatives: Linking //opt/bin/md5sum to coreutils-md5sum
update-alternatives: Linking //opt/bin/mkdir to coreutils-mkdir
update-alternatives: Linking //opt/bin/mkfifo to coreutils-mkfifo
update-alternatives: Linking //opt/bin/mknod to coreutils-mknod
update-alternatives: Linking //opt/bin/mktemp to coreutils-mktemp
update-alternatives: Linking //opt/bin/mv to coreutils-mv
update-alternatives: Linking //opt/bin/nice to coreutils-nice
update-alternatives: Linking //opt/bin/nl to coreutils-nl
update-alternatives: Linking //opt/bin/nohup to coreutils-nohup
update-alternatives: Linking //opt/bin/nproc to coreutils-nproc
update-alternatives: Linking //opt/bin/od to coreutils-od
update-alternatives: Linking //opt/bin/paste to coreutils-paste
update-alternatives: Linking //opt/bin/pathchk to coreutils-pathchk
update-alternatives: Linking //opt/bin/pinky to coreutils-pinky
update-alternatives: Linking //opt/bin/pr to coreutils-pr
update-alternatives: Linking //opt/bin/printenv to coreutils-printenv
update-alternatives: Linking //opt/bin/printf to coreutils-printf
update-alternatives: Linking //opt/bin/ptx to coreutils-ptx
update-alternatives: Linking //opt/bin/pwd to coreutils-pwd
update-alternatives: Linking //opt/bin/readlink to coreutils-readlink
update-alternatives: Linking //opt/bin/rm to coreutils-rm
update-alternatives: Linking //opt/bin/rmdir to coreutils-rmdir
update-alternatives: Linking //opt/bin/runcon to coreutils-runcon
update-alternatives: Linking //opt/bin/seq to coreutils-seq
update-alternatives: Linking //opt/bin/sha1sum to coreutils-sha1sum
update-alternatives: Linking //opt/bin/sha224sum to coreutils-sha224sum
update-alternatives: Linking //opt/bin/sha256sum to coreutils-sha256sum
update-alternatives: Linking //opt/bin/sha384sum to coreutils-sha384sum
update-alternatives: Linking //opt/bin/sha512sum to coreutils-sha512sum
update-alternatives: Linking //opt/bin/shred to coreutils-shred
update-alternatives: Linking //opt/bin/shuf to coreutils-shuf
update-alternatives: Linking //opt/bin/sleep to coreutils-sleep
update-alternatives: Linking //opt/bin/sort to coreutils-sort
update-alternatives: Linking //opt/bin/split to coreutils-split
update-alternatives: Linking //opt/bin/stat to coreutils-stat
update-alternatives: Linking //opt/bin/stdbuf to coreutils-stdbuf
update-alternatives: Linking //opt/bin/stty to coreutils-stty
update-alternatives: Linking //opt/bin/su to coreutils-su
update-alternatives: Linking //opt/bin/sum to coreutils-sum
update-alternatives: Linking //opt/bin/sync to coreutils-sync
update-alternatives: Linking //opt/bin/tac to coreutils-tac
update-alternatives: Linking //opt/bin/tail to coreutils-tail
update-alternatives: Linking //opt/bin/tee to coreutils-tee
update-alternatives: Linking //opt/bin/test to coreutils-test
update-alternatives: Linking //opt/bin/timeout to coreutils-timeout
update-alternatives: Linking //opt/bin/touch to coreutils-touch
update-alternatives: Linking //opt/bin/tr to coreutils-tr
update-alternatives: Linking //opt/bin/true to coreutils-true
update-alternatives: Linking //opt/bin/truncate to coreutils-truncate
update-alternatives: Linking //opt/bin/tsort to coreutils-tsort
update-alternatives: Linking //opt/bin/tty to coreutils-tty
update-alternatives: Linking //opt/bin/uname to coreutils-uname
update-alternatives: Linking //opt/bin/unexpand to coreutils-unexpand
update-alternatives: Linking //opt/bin/uniq to coreutils-uniq
update-alternatives: Linking //opt/bin/unlink to coreutils-unlink
update-alternatives: Linking //opt/bin/uptime to coreutils-uptime
update-alternatives: Linking //opt/bin/users to coreutils-users
update-alternatives: Linking //opt/bin/vdir to coreutils-vdir
update-alternatives: Linking //opt/bin/wc to coreutils-wc
update-alternatives: Linking //opt/bin/who to coreutils-who
update-alternatives: Linking //opt/bin/whoami to coreutils-whoami
update-alternatives: Linking //opt/bin/yes to coreutils-yes
Successfully terminated.

6. MediaInfo
MediaInfo has no ipkg so it was to be compiled from source
6.1. Install Compile tools:
Code:
[root@lacie2big2 opt]# ipkg install gcc make
Installing gcc (4.2.3-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
Installing binutils (2.19.1-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/binutils_2.19.1-1_arm.ipk
Installing libc-dev (2.5-5) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libc-dev_2.5-5_arm.ipk
Installing libc-dev (2.5-5) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libc-dev_2.5-5_arm.ipk
Installing libnsl (2.5-4) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libnsl_2.5-4_arm.ipk
Package make (3.82-1) installed in root is up to date.
Configuring gcc
Configuring binutils
update-alternatives: Linking //opt/bin/strings to /opt/bin/binutils-strings
Configuring libc-dev
Configuring libnsl
Installing make (3.82-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/make_3.82-1_arm.ipk
Configuring make
Successfully terminated.

6.2. Compile & Install:
Code:
[root@lacie2big2 opt]# mkdir src

[root@lacie2big2 opt]# cd src

[root@lacie2big2 src]# wget http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.43_GNU_FromSource.tar.bz2
Connecting to downloads.sourceforge.net (216.34.181.59:80)
MediaInfo_CLI_0.7.43 100% |************************************************************************************************************************************|  1364k 00:00:00 ETA

[root@lacie2big2 src]# tar xvjf MediaInfo_CLI_0.7.43_GNU_FromSource.tar.bz2
...
MediaInfo_CLI_GNU_FromSource/ZenLib/Source/ZenLib/TinyXml/tinyxml.cpp
MediaInfo_CLI_GNU_FromSource/ZenLib/Source/ZenLib/TinyXml/tinyxmlerror.cpp
MediaInfo_CLI_GNU_FromSource/ZenLib/Source/ZenLib/TinyXml/tinyxmlparser.cpp

[root@lacie2big2 src]# cd MediaInfo_CLI_GNU_FromSource

[root@lacie2big2 MediaInfo_CLI_GNU_FromSource]# ./CLI_Compile.sh
...
(wait 1-2 hours)

[root@lacie2big2 MediaInfo_CLI_GNU_FromSource]# cp /opt/src/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI/mediainfo /opt/bin

[root@lacie2big2 MediaInfo_CLI_GNU_FromSource]# cd ..

[root@lacie2big2 src]# rm -rf MediaInfo*

Source: http://forum.qnap.com/viewtopic.php?p=139319
6.3. Test:
Code:
[root@lacie2big2 src]# cd ..

[root@lacie2big2 opt]# mediainfo tenis0001.avi
General
Complete name                    : tenis0001.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 1.87 MiB
Duration                         : 2mn 12s
Overall bit rate                 : 119 Kbps

Video
ID                               : 0
Format                           : MS Video
Codec ID                         : CRAM
Codec ID/Info                    : Microsoft Video 1
Duration                         : 2mn 12s
Bit rate                         : 119 Kbps
Width                            : 576 pixels
Height                           : 440 pixels
Display aspect ratio             : 4:3
Frame rate                       : 1.000 fps
Bits/(Pixel*Frame)               : 0.468
Stream size                      : 1.87 MiB (100%)
Title                            : HyperCam Video

7. PS3 Media Server
7.1. Install:
Code:
[root@lacie2big2 opt]# wget http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.20.412.tgz
Connecting to ps3mediaserver.googlecode.com (209.85.147.82:80)
pms-generic-linux-un 100% |***********************************************************************************************************|  7715k 00:00:00 ETA

[root@lacie2big2 opt]# tar xvzf pms-generic-linux-unix-1.20.412.tgz
pms-linux-1.20.412/linux/
pms-linux-1.20.412/renderers/
pms-linux-1.20.412/CHANGELOG
pms-linux-1.20.412/FAQ
pms-linux-1.20.412/LICENSE.txt
pms-linux-1.20.412/PMS.sh
pms-linux-1.20.412/README
pms-linux-1.20.412/WEB.conf
pms-linux-1.20.412/linux/tsMuxeR
pms-linux-1.20.412/linux/tsMuxeR_licence.txt
pms-linux-1.20.412/plugins/plugins.txt
pms-linux-1.20.412/pms.jar
pms-linux-1.20.412/renderers/Bravia4500.conf
pms-linux-1.20.412/renderers/Bravia5500.conf
pms-linux-1.20.412/renderers/BraviaEX.conf
pms-linux-1.20.412/renderers/FreeboxHD.conf
pms-linux-1.20.412/renderers/FreecomMusicPal.conf
pms-linux-1.20.412/renderers/Kuro.conf
pms-linux-1.20.412/renderers/PS3.conf
pms-linux-1.20.412/renderers/Philips.conf
pms-linux-1.20.412/renderers/PopcornHour.conf
pms-linux-1.20.412/renderers/Realtek.conf
pms-linux-1.20.412/renderers/Samsung.conf
pms-linux-1.20.412/renderers/Streamium.conf
pms-linux-1.20.412/renderers/WDTVLive.conf
pms-linux-1.20.412/renderers/XBMC.conf
pms-linux-1.20.412/renderers/XBOX360.conf

[root@lacie2big2 opt]# mv pms-linux-1.20.412 pms

[root@lacie2big2 opt]# cd pms

[root@lacie2big2 opt]# echo "folders=/media/internal_1/shares/1/" > PMS.conf

Then edit "PMS.sh", changing the line:
Code:
exec "$JAVA" $JAVA_OPTS -Xmx768M -Xss16M -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -classpath "$PMS_JARS" net.pms.PMS "$@"
to
exec "$JAVA" $JAVA_OPTS -Xmx128M -Xss16M -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -classpath "$PMS_JARS" net.pms.PMS "$@"
or for background daemon
exec "$JAVA" $JAVA_OPTS -Xmx128M -Xss16M -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -classpath "$PMS_JARS" net.pms.PMS "$@" > /dev/null 2>&1 &

Source: http://www.ps3mediaserver.org/forum/viewtopic.php?f=6&t=3507&start=90

7.2. Test & Run:
Code:
[root@lacie2big2 pms]# ./PMS.sh
GUI environment no available
Switching to console mode
[main] TRACE 00:32:04.709 Starting Java PS3 Media Server v1.20.412
[main] TRACE 00:32:04.713 by shagrath / 2008-2010
[main] TRACE 00:32:04.715 http://ps3mediaserver.blogspot.com
[main] TRACE 00:32:04.716 http://code.google.com/p/ps3mediaserver
[main] TRACE 00:32:04.718
[main] TRACE 00:32:04.719 Java 1.5.0-GNU Classpath
[main] TRACE 00:32:04.720 OS Linux arm 2.6.22.18
[main] TRACE 00:32:04.721 Encoding: UTF-8
[main] TRACE 00:32:04.788 Temp folder: /tmp/javaps3media
[main] TRACE 00:32:04.818 Error in MediaInfo Library loading: com/sun/jna/Native
[main] TRACE 00:32:04.819 Make sure you have libmediainfo and libzen installed
[main] TRACE 00:32:04.821 The server will now use the less accurate ffmpeg parsing method
[main] TRACE 00:32:04.829 Loading configuration file: Bravia4500.conf
[main] TRACE 00:32:04.849 Loading configuration file: Bravia5500.conf
[main] TRACE 00:32:04.870 Loading configuration file: BraviaEX.conf
[main] TRACE 00:32:04.896 Loading configuration file: FreeboxHD.conf
[main] TRACE 00:32:04.912 Loading configuration file: FreecomMusicPal.conf
[main] TRACE 00:32:04.931 Loading configuration file: Kuro.conf
[main] TRACE 00:32:05.014 Loading configuration file: PS3.conf
[main] TRACE 00:32:05.045 Loading configuration file: Philips.conf
[main] TRACE 00:32:05.064 Loading configuration file: PopcornHour.conf
[main] TRACE 00:32:05.079 Loading configuration file: Realtek.conf
[main] TRACE 00:32:05.099 Loading configuration file: Samsung.conf
[main] TRACE 00:32:05.177 Loading configuration file: Streamium.conf
[main] TRACE 00:32:05.195 Loading configuration file: WDTVLive.conf
[main] TRACE 00:32:05.211 Loading configuration file: XBMC.conf
[main] TRACE 00:32:05.225 Loading configuration file: XBOX360.conf
[main] TRACE 00:32:05.308 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds !
[main] TRACE 00:32:05.532 [-6] Cannot launch MPlayer / Check the presence of /opt/pms/mplayer ...
[main] TRACE 00:32:05.551 [-6] Cannot launch MPlayer / Check the presence of /opt/pms/mplayer ...
[main] TRACE 00:32:05.553 Done!
[main] TRACE 00:32:05.579 Registering transcoding engine FFmpeg Audio
[main] TRACE 00:32:05.587 Registering transcoding engine MEncoder
[main] TRACE 00:32:05.590 Registering transcoding engine MPlayer Audio
[main] TRACE 00:32:05.593 Registering transcoding engine MEncoder Web
[main] TRACE 00:32:05.596 Registering transcoding engine MPlayer Video Dump
[main] TRACE 00:32:05.599 Registering transcoding engine MPlayer Web
[main] TRACE 00:32:05.603 Registering transcoding engine TsMuxer
[main] TRACE 00:32:05.605 Registering transcoding engine Audio High Fidelity
[main] TRACE 00:32:05.609 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 00:32:05.611 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 00:32:05.614 Registering transcoding engine Raws Thumbnailer
[main] TRACE 00:32:06.462 Scanning network interface eth0 / eth0
[main] TRACE 00:32:06.467 Using address /xxx.xxx.xxx.xxx found on network interface: name: eth0 (eth0) addresses: /xxx.xxx.xxx.xxx;
[main] TRACE 00:32:06.469 Created socket: /xxx.xxx.xxx.xxx:5001
[main] TRACE 00:32:08.233 Switching to random UUID cause there's an error in getting UUID from MAC address: getHardwareAddress
[main] TRACE 00:32:08.247 Using following UUID: bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb
[main] TRACE 00:32:13.156 It's ready! You should see the server appears on XMB

But the media server is not working!


Last edited by andreus on Sun Apr 03, 2011 9:15 pm, edited 10 times in total.

Top
 Profile  
 
PostPosted: Sun Apr 03, 2011 12:28 am 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
I see 3 problems

1. libmediainfo and libzen not installed??:
Code:
[main] TRACE 00:32:04.818 Error in MediaInfo Library loading: com/sun/jna/Native
[main] TRACE 00:32:04.819 Make sure you have libmediainfo and libzen installed
[main] TRACE 00:32:04.821 The server will now use the less accurate ffmpeg parsing method


2. mplayer not installed
Code:
[main] TRACE 00:32:05.308 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds !
[main] TRACE 00:32:05.532 [-6] Cannot launch MPlayer / Check the presence of /opt/pms/mplayer ...
[main] TRACE 00:32:05.551 [-6] Cannot launch MPlayer / Check the presence of /opt/pms/mplayer ...

I think that is no ipkg. How do i compile this? http://www.mplayerhq.hu/design7/dload.html

3. Error automatically getting disk UUID
Code:
[main] TRACE 00:32:08.233 Switching to random UUID cause there's an error in getting UUID from MAC address: getHardwareAddress

I don't think this error is relevant


Last edited by andreus on Sun Apr 03, 2011 8:27 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun Apr 03, 2011 8:26 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Many tries and no results. Anyone can help?

Thanks in advance


Top
 Profile  
 
PostPosted: Mon Apr 04, 2011 9:20 am 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
http://ubuntuforums.org/showthread.php?t=1081070 here is link that would help compile mplayer


Top
 Profile  
 
PostPosted: Mon Apr 18, 2011 9:25 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
Installed and working!! Follow the tutorials:
-> With ipkg: http://lacie.nas-central.org/wiki/Category:2big_Network_2#Install_PS3MediaServer_2
-> With Debian lenny: http://lacie.nas-central.org/wiki/Category:2big_Network_2#Install_PS3MediaServer


Top
 Profile  
 
PostPosted: Tue Apr 19, 2011 9:59 pm 
Offline

Joined: Thu Jan 27, 2011 8:30 am
Posts: 25
Nice that u got it working, good job!


Top
 Profile  
 
PostPosted: Tue Apr 19, 2011 10:06 pm 
Offline

Joined: Wed Dec 16, 2009 9:57 pm
Posts: 114
with (a lot) of help from quicknick and now on Debian "Squeeze"! http://lacie.nas-central.org/wiki/Category:2big_Network_2#Debian_.22Squeeze.22_.28stable.29_Chroot_Environment


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group