PS3 Media Server Tutorial/FAQ

For help and support with PS3 Media Server in general

Re: PS3 Media Server for dummies / tutorial howto documentation

Postby meskibob » Thu Sep 24, 2009 4:22 am

Troubleshooting - PS3 - Network Errors (OSX)
Error: When directly streaming videos (usually AVI or MP4) to the PS3, you receive "constant" network errors like
"A network error has occurred" (80710736)
while the actual playback is fine.

Solution: This is a known "incompatibility" between OSX and the PS3 FW (starting at 2.40) for videos that are directly streamed to the PS3. Transcoding the videos seems to work consistently for all users, while some have been able to bypass it by upgrading their network to gigabit.
Edit: it appears re-syncing your Trophies after getting a new trophy fixes the error (as indicated in the second thread linked below)

For more info see:
viewtopic.php?f=7&t=2420
viewtopic.php?f=7&t=3245
I provide NO application support via PM or email, so please post your question to the forum.
meskibob
Moderator
 
Posts: 4526
Joined: Mon Jan 19, 2009 4:11 pm

Re: PS3 Media Server for dummies / tutorial howto documenta

Postby meskibob » Thu Sep 24, 2009 1:10 pm

Troubleshooting - PMS - Subtitles
Error: Native subtitles are missing for the non-native parts of a native audio movie (eg English subs for a non-English part of a mostly English movie, like the Russian spoken in "Hunt for the Red October")

Solution: Play the movie with the UND language (http://www.loc.gov/standards/iso639-2/php/code_list.php) subtitles, either directly from the #Transcode# folder or add UND to the "subtitle priority" setting under the MEncoder settings.

If there is no UND language subtitle track, you'll have to either:
a) manually select the proper language subtitle track from the #Transcode# folder
b) edit the subtitle tracks in the file (change language code, remove other tracks, reorder, etc....) - this is not available through PMS
I provide NO application support via PM or email, so please post your question to the forum.
meskibob
Moderator
 
Posts: 4526
Joined: Mon Jan 19, 2009 4:11 pm

Re: PS3 Media Server for dummies / tutorial howto documenta

Postby otmanix » Sun Sep 27, 2009 3:47 pm

question:
Is there a list of supported media renderers (streaming clients) for PS3 Media Server?

answer:
At the moment the PS3, XBOX360, and Philips (networked) TVs are well supported. There is experimental support for Sony Bravia and Samsung Wiselink tvs, XBMC (e.g. on XBOX), PopcornHour, FreeboxHD, and Realtek chip based media renderers. Other media renderers may work. You have to create a conf-file in renderers subdirectory of PMS installation directory.


supported media renderers / ready to use conf-files:

    Realtek media players (Asus O!Play, Xtreamer, AC Ryan PlayOn!HD, Brite-view CinemaTube)

If you need assistance getting a new renderer working you should do the following:
  1. Download and install Intel upnp tools: http://softwarecommunity.intel.com/isn/ ... ogy_v2.zip
  2. Run Device Spy
  3. Expand: Device name > ...ConnectionManager...
  4. Doubleclick GetProtocolInfo and click Invoke
  5. Save the Sink response and follow the instructions on how to create a custom renderer.conf
  6. Post your results to Alternative Media Renderers forum
You may also need to provide the Get Device XML (right click on device)


Best regards, Otmanix
Last edited by otmanix on Sat Oct 24, 2009 7:57 am, edited 8 times in total.
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

Re: PS3 Media Server for dummies / tutorial howto documentation

Postby otmanix » Tue Oct 06, 2009 4:34 pm

Troubleshooting - PMS - Renaming PS3 Media Server

Error: There is no option to rename PMS in GUI. I want to run more than one PMS instance in my home network and identify them easily.

Solution: There is no easy solution. One has to change sourcecode and compile PMS in order to get a renamed version of it.

How to compile PMS sourcecode on Windows:
I wrote a howto some months ago ... but only in German language: http://otmanix.de/2009/02/07/ps3-media-server-unter-windows-kompilieren/
There is also an English howto available in this forum: http://ps3mediaserver.org/forum/viewtopic.php?f=2&t=392&p=1874
The difference is that I use TortoiseSVN instead of SlickSVN. Of course you can use your favourite SVN client...

step 1 - download sourcecode with your favourite svn client from http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver/

step 2 - customize downloaded version of pms.xml: http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver/resources/PMS.xml

Code: Select all
<friendlyName>Java PS3 Media Server</friendlyName>
<manufacturer>PMS</manufacturer>
<manufacturerURL>http://ps3mediaserver.blogspot.com</manufacturerURL>
<modelDescription>UPnP/AV 1.0 Compliant Media Server</modelDescription>
<modelName>PMS</modelName>
<modelNumber>01</modelNumber>
<modelURL>http://ps3mediaserver.blogspot.com</modelURL>
<serialNumber/>


step 3 - compile PMS with ant

step 4 - compiled version has new name when being installed...

It's nearly the same stuff to do on Linux:
- all software packages needed here should be available at the software repository of your linux distribution
- install current JavaSE developement kit (JDK)
- install Apache ant
- install svn client
- set ANT_HOME, JAVA_HOME and PATH variable to useful values
- checkout PMS sourcecode with your svn-client, e.g. svn checkout http://ps3mediaserver.googlecode.com/sv ... diaserver/
- customize xml-file with your favourite text editor, e.g. vi
- run ant to compile PMS
- use the new tar.gz-file for installation

P.S.
Compiling source code, etc. is no topic for beginners. Please don't annoy Shagrath if you don't get it...
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

Re: PS3 Media Server for dummies / tutorial howto documenta

Postby karl123 » Sat Oct 24, 2009 3:20 pm

Philips TV's are supported by PMS

The new PMS (PS3 Media Server) now also supports Philips networked TV's.
For this you have to use the PMS version 1.11.366, which contains a Philips TV configuration file.

(It took a while in searching and testing. With the great help of Shagrath and Tomeko the on-TV browsing was fixed and finally the streaming was fixed.)

There are two sorts of Philips networked TV's: the models like e.g. the Aurea and the NetTV models.
Both have the same basic networking capabilities and are quite similar to PMS.
The NetTV's have more native play (i.e. no transcoding needed) capabilities than the Aurea.

How to start?
- Connect the TV to your network. A wireless network works, but for streaming a cabled network is better.
- Install PMS PMS version 1.11.366. You can get it here: http://ps3mediaserver.org/forum/viewtopic.php?f=2&t=3217
- Switch on the TV and start PMS on the PC. After little time you see at the main PMS screen (Status Tab) an Aurea TV picture
called "Philips Aurea TV NetTV".
- If the TV is not found then check in the Traces Tab which network has been used.
You can force the correct network in the General Configuration Tab.
At "Force network on interface"you can select your favorite network here.
(This is needed e.g. when you did install a virtual machine like Virtual Box or VMWare on your PC.
Such virtual machine adds a new network definition that is often chosen by PMS.
Also this can be used for selecting the best network connection for PMS e.g. forcing to use the cabled and not the wireless network
.)
- In the same General Configuration Tab you can select your favorite language.
- Select your video (and audio and photo) folders in the Navigation Tab.
- In Transcoding Settings Tab set number of audio channels to "2 channels Stereo". You can also disable Tsmuxer
- DO NOT FORGET to push on the Save button to keep your changes!

At the TV side
- Now select on your TV remote control "Source" and select "PC-network" from the list.
You should see the browser screen on TV and you can select a media server e.g. "PS3 Media Server"
- Now browse to your favorite media folder with video, audio or photo content.
Just learn by playing around!
- There is a special virtual #-TRANSCODE-# folder. Just browse in it and find for all video different transcoding options.
The Philips TV can only play so called Program Streams.
Just select a MEncoder type, but "MEncoder {Audio:AC3/Undetermined}" will always play.
- Click on your favorite video and its should start play on your TV.
- Audio and photo's are similar, but much simpler.

Native capabilities of Philips networked TV's
The current generation Philips networked TV's can only play Program Streams (no Transport Streams).
(Program Streams are simpler and Transport Streams have more error correcting. So the latter is used in e.g. broadcasting. But for local usage a Program Stream works fine.)
Programe Streams are output by some transcoders and "MEncoder {Audio:AC3/Undetermined}" will always play.

Philips Aurea native formats:
Video: MPEG-1, MPEG-2
Audio: LPCM, MP3
Photo: JPEG

Philips NetTV native formats:
Video: MPEG-1, MPEG-2, MPEG-4, AVI, H.264/MPEG-4, WMV9/VC1
Audio: LPCM, MP3, WMA
Photo: JPEG

Configuration file Philips.conf
See the philips.conf file in the renderer folder. Here you can experiment with configuration settings.
Please note that the newer Philips TV use a new DLNA stack with a different user-agent detection string!!
Older Philips TV:
# Renderer name string: Allegro-Software-WebClient/4.61 DLNADOC/1.00
UserAgentSearch= Allegro-Software-WebClient

Newest Philips TV:
# Renderer name string: Windows2000/0.0 UPnP/1.0 PhilipsIntelSDK/1.4 DLNADOC/1.50
UserAgentSearch= PhilipsIntelSDK

The standard Philips.conf file contains the older Allegro string.
You can find the proper string for your TV in the debug.log file (in the program folder): just search for the line with "USER-AGENT".

The following settings in the philips.conf are required for the Philips TV to work properly with PMS:

The current generation Philips networked TV's can only play Program Streams (no Transport Streams).
Mencoder and avisynth/mencoder will output MpegPS when TranscodeVideo=MPEGAC3.
Tsmuxer will always output MpegTS and cannot be used. http://ps3mediaserver.org/forum/viewtopic.php?f=2&t=2099&start=260#p18487
TranscodeVideo=MPEGAC3

The Philips TV needs to receive a transcoded video with minimal delay (this TV has a very small timeout delay).
If not set, the TV will abort the play with "Not available" due to a "detected" time-out.
TranscodeFastStart=true

The size of the transcoded file is required to be -1 for the PS3, but this will crash the browsing for other TV rendererers.
For the Philips TV it need to be a positive integer, and we had better make it large:
TranscodedVideoFileSize=100000000000

Formats that cannot be played native like MKV, need to be transcoded, e.g. MKV, Flac, PNG
For the Aurea you specify formats that are forcefully transcoded:
TranscodeExtensions=avi,wmv,mkv,wmv,ts,m2ts,tp,iso,mp4,mov,hdmov,hdm,flac,fla,dts,ogg,asf,asx,m2v,av,m2p,mts,gif,tif,tiff,png,bmp
Many are not needed for Philips NetTV that can handle many formats natively

Questions, discussions, remarks? Use this forum.
Last edited by karl123 on Mon Dec 27, 2010 4:01 pm, edited 2 times in total.
karl123
 
Posts: 39
Joined: Sat Sep 12, 2009 6:57 am

Guide For Italian Users

Postby herbie_53 » Mon Oct 26, 2009 2:29 am

For Italian Users... Here there is a guide to configure PS3 MediaServer (@Moderators: I don't know if it's against the rules(I havent found it in teh FAQ) of this forum to publish an external link, i'm only try helping people. However if i can't publish that link remove this post)
Per gli utenti italiani... Qui è disponibile una guida per configurare PS3 MediaServer

http://newscienza.netsons.org/2009/10/23/ps3-media-server/

Merged into the tutorial thread, but will keep this post separate from Otmanix's main post
herbie_53
 
Posts: 2
Joined: Mon Jun 29, 2009 12:46 am

Re: PS3 Media Server for dummies / tutorial howto documentation

Postby otmanix » Sat Oct 31, 2009 3:53 pm

Troubleshooting - PMS - manual setup of Windows firewall
Error: PS3 can't be found by PMS because Windows firewall is blocking connections.

Solution: PMS needs incoming port 5001 tcp/udp to run properly. Instead of that one can also set up an firewall exeception for Java program javaw.exe (JRE/JDK) and wrapper.exe if PMS is running as a service. Windows firewall settings can be changed by GUI or command line. It would take lots of screenshots so I prefer to give you a list of commands to set up Windows firewall.

Windows 7 and Vista firewall settings

You have to start command line as Administrator.

Open required ports (incoming port 5001 tcp/udp):
Code: Select all
C:\>netsh advfirewall firewall add rule name="allow PMS - UDP" dir=in protocol=udp localport=5001 security=notrequired action=allow
OK.
C:\>netsh advfirewall firewall add rule name="allow PMS - TCP" dir=in protocol=tcp localport=5001 security=notrequired action=allow
OK.


Let's look if the result is as expected:
Code: Select all
C:\>netsh advfirewall firewall show rule name="allow PMS - TCP"
Regelname:                               allow PMS - TCP
----------------------------------------------------------------------
Aktiviert:                               Ja
Richtung:                                Eingehend
Profile:                                 Domäne,Privat,Öffentlich
Gruppierung:
Lokales IP:                              Beliebig
Remote-IP:                               Beliebig
Protokoll:                               TCP
Lokaler Port:                            5001
Remoteport:                              Beliebig
Edgeausnahme:                            Nein
Aktion:                                  Zulassen
OK.
C:\>netsh advfirewall firewall show rule name="allow PMS - UDP"
Regelname:                               allow PMS - UDP
----------------------------------------------------------------------
Aktiviert:                               Ja
Richtung:                                Eingehend
Profile:                                 Domäne,Privat,Öffentlich
Gruppierung:
Lokales IP:                              Beliebig
Remote-IP:                               Beliebig
Protokoll:                               UDP
Lokaler Port:                            5001
Remoteport:                              Beliebig
Edgeausnahme:                            Nein
Aktion:                                  Zulassen
OK.


If you have installed PMS as a service you have to allow wrapper.exe (path depends on 32/64bit):
Code: Select all
C:\>netsh advfirewall firewall add rule name="allow PMS service" dir=in program="C:\Program Files (x86)\PS3 Media Server\win32\service\wrapper.exe" security=notrequired action=allow


Let's look if the result is as expected:
Code: Select all
C:\>netsh advfirewall firewall show rule name="allow PMS service"
Regelname:                               allow PMS service
----------------------------------------------------------------------
Aktiviert:                               Ja
Richtung:                                Eingehend
Profile:                                 Domäne,Privat,Öffentlich
Gruppierung:
Lokales IP:                              Beliebig
Remote-IP:                               Beliebig
Protokoll:                               Beliebig
Edgeausnahme:                            Nein
Aktion:                                  Zulassen
OK.


If you're not satisfied with the result delete the firewall rule:
Code: Select all
C:\>netsh advfirewall firewall delete rule name="allow PMS service"
1 Regel(n) wurde(n) gelöscht.
OK.


Instead of opening ports you can also allow javaw.exe from JDK/JRE (path depends on 32/64bit and version of Java)
Code: Select all
netsh advfirewall firewall add rule name="allow PMS - JDK" dir=in program="C:\program files\java\jdk1.6.0_16\bin\javaw.exe" security=notrequired action=allow

or
Code: Select all
netsh advfirewall firewall add rule name="allow PMS - JRE" dir=in program="C:\Program Files (x86)\Java\jre6\bin" security=notrequired action=allow


You may also want to disable firewall completely:
Code: Select all
netsh advfirewall set currentprofile state off


Syntax of netsh command has change in Windows 7:
How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior: http://support.microsoft.com/kb/947709

Windows XP firewall settings

Open required ports (incoming port 5001 tcp/udp):
Code: Select all
netsh firewall add portopening protocol=TCP port=5001 name=”allow PMS - TCP” mode=ENABLE scope=SUBNET
netsh firewall add portopening protocol=UDP port=5001 name=”allow PMS - UDP” mode=ENABLE scope=SUBNET


If you have installed PMS as a service you have to allow wrapper.exe:
Code: Select all
netsh firewall set allowedprogram "C:\Program Files\PS3 Media Server\win32\service\wrapper.exe" allow_PMS_service ENABLE


Instead of opening ports you can also allow javaw.exe from JDK/JRE (path depends version of Java)
Code: Select all
netsh firewall set allowedprogram "C:\Program Files\Java\jre6\bin" allow_PMS_JRE ENABLE


You may also want to disable firewall completely:
Code: Select all
netsh firewall set opmode mode=disable


I didn't have the opportunity to test it on Windows XP. Please write a note if there syntax errors or sth like that...
Last edited by otmanix on Thu Dec 17, 2009 3:21 pm, edited 1 time in total.
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

Re: PS3 Media Server for dummies / tutorial howto documenta

Postby meskibob » Sat Jan 02, 2010 6:39 pm

Troubleshooting - PS3 - Connectivity
Error: PMS doesn't show up on the PS3 until PMS is restarted or until PMS sends an alive notice (approximately every three minutes). PMS also doesn't respond to the PS3's "Search for Media Servers" request.

Solution: Something in your setup is not allowing PMS to accept/reply to the PS3's M-Search request when the PS3 boots up (or when you do the Search for Media Servers, or when it comes back from a game or internet browsing). Make sure that the software firewall on the server is set up to allow incoming requests from the PS3 (e.g. add the PS3's IP to "Trusted IP" list), and that your router is allowing Multicast traffic.
I provide NO application support via PM or email, so please post your question to the forum.
meskibob
Moderator
 
Posts: 4526
Joined: Mon Jan 19, 2009 4:11 pm

Re: PS3 Media Server for dummies / tutorial howto documentation

Postby meskibob » Mon Jan 11, 2010 6:33 am

Howto for streams from SiriusXM radio - viewtopic.php?f=6&t=5071
I provide NO application support via PM or email, so please post your question to the forum.
meskibob
Moderator
 
Posts: 4526
Joined: Mon Jan 19, 2009 4:11 pm

Troubleshooting - PMS - playback of CD / DVD ISOs or rips

Postby otmanix » Sat Jan 16, 2010 8:58 am

Troubleshooting - PMS - playback of CD / DVD ISOs or rips
Error: data corrupted at playback of CD / DVD ISOs or rips

Solution: If you have problems with CD/DVD ISOs or rips you probably use a later version of mplayer tool. Streaming will encounter a timeout during building of the mplayer font cache. You can create the font cache manually by playing a video directly without usage of PMS. In order to do that drag’n'drop a video file to mplayer.exe (located in win32 subdirectory). Restart PMS after doing that.
I provide NO application support via PM, so please post your question to the forum.
PS3 Media Server related articles on my blog: http://otmanix.de/?cat=11&lang=en
User avatar
otmanix
 
Posts: 528
Joined: Fri Jan 30, 2009 12:40 am
Location: Bavaria, Germany

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 18 guests