A few days ago, I wrote Part 1 of this series about basic information on PS3 Media Server. Today I want to go a little more in-depth about the configuration of PMS and some common options you’ll need to configure. (edit: You can also view my PS3 Media Server Configuration Video Tutorial.)
PS3 Media Server will work for most people out-of-the box without any additional software. If you plan on playing many different types of video and music files you’ll need to install a few other pieces of software. For simplicity’s sake we’re going to assume you’re running Windows, though the installation process is similar on all supported operating systems (OSX, Linux, Windows).
Getting Started
To get started lets grab the software we will need.
- PS3 Media Installer
- AviSynth 2.5 (For frame-serving and video post-production, non-graphical utility used by PMS)
- Combined Community Codec Pack – CCCP (Codec Pack for DirectShow, MKV, DIVX, Xvid, H.264, many more)
- Video LAN Player (VLC) (can be used for video streaming)
- Latest version of Java Runtime
Installation
Install Java first (or update your current version) and then install PS3 Media Server, AviSynth, CCCP and VLC. You can use all of the defaults or customize the installation directories to where they work for you. I run PS3 Media Server from one partition and my codec packs and other software are installed on a separate physical disk. I do not recommend running several codec packs, such as K-lite with CCCP as you could inadvertently be using different versions of stable codecs but still run across strange transcoding and muxing errors.
What Is Transcoding
Transcoding is digital-to-digital re-coding from one format to another, such as converting MKV to Divx. Transcoding with PMS can be done on the fly while playing a video. Transcoding can be processor intensive and I only recommend transcoding video if you have at minimum a dual-core processor. Transcoding with PMS tends to lower overall quality on the desired video.
What Is Muxing
Muxing, better known as MUltipleXING, is combining separate files into one file for viewing. In PMS, AC3 Audio and a video file can be combined, playing hi-definition audio with your video. PMS utilizes mencoder and TSMuxer for multiplexing audio with video. In my own experience with PMS, TSMuxer tends to present a smoother muxing process than mencoder with less stutter and buffering over 803.11N wireless networks. G networks theoretically support it as well, but I’ve noticed severe degradation and stuttering when attempting to mux audio with a hi-def video (such as Blu Ray Disc rips) over less than an N-wireless network.
Java?
PS3 Media Server utilizes Java to run. When you launch PS3 Media Server it is “wrapped” in Java, basically the PMS executable launches a file that calls Java with many different parameters. If you view the running processes under Task Manager you’ll notice Java running and utilizing a large amount of RAM, up to 600+ MB.
Configuring PS3 Media Server
When you open PS3 Media Server after installing it, PMS.exe, you’ll experience a tabbed interface with a “Save,” “Restart HTTP Server,” and “Quit” buttons at the top, like so.
We’re primarily going to be concerned with the General Configuration, Navigation/Share Settings, and Transcoding Settings tabs. These are the tabs that you’ll use the most. The other tabs are more for your information, reviewing logs, the readme, FAQs, help and additional information.
Let’s start with the General Configuration Tab.
You’ll want to choose your language and decide if you want to run PMS as a service that automatically starts. I’ve chosen that option so that it’s always running, especially if I restart my system. I want it to always start with the computer.
If you have multiple network cards you’ll want to choose the interface you want PMS to use for the network. I also force my IP Address on my computer to be the active IP address, to ensure that my Playstation can always access my system. I use a static address on my system so that it doesn’t change. You should also consider using the HTTP Engine V2 (which is the default) and selecting “Prevent OS from sleeping while streaming” so that your streaming isn’t interrupted by your computer going to sleep for not detecting any use.
The Navigation/Share Settings tab is where you configure your library that you want to watch or listen to. PMS will also stream audio files (non-DRM), including your DRM-free iTunes files.
I select Thumbnails generation so I can see a video thumbnail of the show I’m playing, as well as generate DVD ISO thumbnails. ”Thumbnail seeking position” defines at what second in the video will it generate a thumbnail and can be configured for any time period in the video.
PMS provides the functionality to change muxing and transcoding engines “on-the-fly” from your playback device, so I don’t select “Hide #Video Settings# folder and “Hide #Transcode# Folder.” Play with these options as much as you wish until you find what makes you happy.
The bottom, under “Shared Folder” is where you’ll add the folders where your media resides at. I have a hierarchy of folders I store my media at with it separated by TV shows, Movies, etc. You can add as many folders as you wish and switch between them easily on your playback device.
Now lets take a look at the Transcoding Settings tab, Common Transcoding settings options.
If you have more RAM (I’ve 4GB in my PS3 Media Server system) bump the buffer size up to 600 MB. That’s the maximum it will use. I’m hoping in the future that they allow more than this as a 32-bit application can support up to 3.2+ GB, I’d prefer to double the current maximum that the application supports.
PMS will detect how many cores you have, stick with what it finds. If it doesn’t detect 2 or more cores, and you have a dual or quad core system, bump it up to the correct number.
I utilize 2 channel audio, as I am not running an audio/video receiver capable of surround sound. If you do, select the audio output you desire that your system supports. Select the Ac3 bit-rate as well. If you’re using DTS audio or FLAC (lossless audio) feel free to convert it to LPCM if you have an HDMI receiver.
If you have AC3 audio you can also select to have it remux’d to work with your system.
Under video quality you can change the maximum bandwidth used. This works well if you’re on a G wireless network or a 10Mb/s wired connection. Hi-def audio and video are bandwidth intensive. If you are brave at heart, you can define several transcoding variables, such as keyint, vqscale and vqmin to customize the quality of the video and help save on bandwidth.
Under transcoding you can also disable subtitles and skip or force transcoding on different file types.
On the left, you can re-order the way in which PMS will attempt to use transcoding, muxing and streaming engines. Use the blue UP and DOWN arrows to find an order that works best for you. The order you see is what I currently use. If you find that you’re seeing choppy video, you can change transcoding and muxing options from the playback device #Transcode# folder you see while using PMS or reorder it in the configuration and restarting PS3 Media Server.
One caveat, if you decided to run PS3 Media Server as a service, you will have to use the Services Manager utility to restart PMS and the PMS.exe file to configure it. The “Restart HTTP Server” button will not work when you run PMS as a service. To open services manager you can click on Start > Run and type “services.msc” without quotes. Hit enter. It will open up the Services Manager program. Find “PS3 Media Server,” select it, right-click on it and choose “Restart.” It is more tedious but you won’t need to do that very often.
All of the configuration options in PS3 Media Server can also be adjusted by editing the PMS.conf file that is in the same directory as PMS.exe, where you installed PS3 Media Server. All of the options in PMS can be configured via the text file and the text file is used by PS3 Media Server when you start it to ensure that it is configured properly. If you edit the text file and restart PMS the UI will reflect any changes.
To end Part 2, here’s my configuration file. Leave a comment if you have any questions!
thumbnails = true alternativeffmpegpath = E:\\Program Files (x86)\\PS3 Media Server\\win32\\dvrms\\ffmpeg_MPGMUX.exe mencoder_ass = true engines = mencoder,tsmuxer,tsmuxeraudio,ffmpegaudio,mplayeraudio,mencoderwebvideo,mplayervideodump,vlcvideo,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux,rawthumbs folders = I:\\PS3_media,G:\\Archived TV And Movies maxvideobuffer = 600 audiochannels = 2 network_interface = eth5 usecache = true thumbnail_seek_pos = 3 tsmuxer_mux_all_audiotracks = false skiploopfilter = false mencoder_fontconfig = true mencoder_disablesubs = true mencoder_mt = true avisynth_convertfps = true mencoder_mux_compatible = false codec_spec_script = mencoder_encode = keyint=1:vqscale=1:vqmin=1 dvd_isos_thumbnails = true ffmpeg = -threads 6 -g 1 -qscale 1 -qmin 2 mencoder_remux_ac3 = true embed_dts_in_pcm = false itunes = true audiobitrate = 384 port = 5001 hostname = 192.168.0.197

{ 27 comments… read them below or add one }
What would you like to blog about?
Hi Jason,
Came across your blog while researching an issue I am currently experiencing when I stream video using the PSM. The problem I am having at the moment is that I do not get any conversation audio, but only the background music. And when you click on the audio, it says left channel only. I only recently came across this problem when I upgrade to the current version of PSM (1.25.1) and the version before that. Also my PS3 fixed from the infamous YLOD, not sure if it is related to it.
Can you help?
Thanks
Michael
Hey Michael,
I only have a minute to write this and I’m not able to bookmark this site at the time, so I apologize if some specific wordings are off or if some, if not all, of this has been covered above. What you are experiencing sounds identical to an issue I had with a strange Viewsonic DVD player years ago, that at times would randomly change a setting that caused my surround sound receiver to not push sound through the center channel speaker. The center channel is by far the most dialog heavy, so when it isn’t being used you tend to lose most audible conversation (if you get close to one of the other speakers, you may faintly hear some of the dialog depending on the movie/file/scene).
If my memory serves me correctly, I had to change the audio setting on my PS3 from “left” to something like “left + right” in order to avoid some issue with DTS audio coming from PMS. I would bet that this is most likely your problem.
The only other thing I can think of is that you have the “Keep DTS Audio” option within the transcode settings for PMS checked and you either don’t have a surround sound system (obviously, you would know if you do or not. lol), or your system isn’t DTS capable on it’s own. If either of these are true, un-checking that box in PMS’s settings should fix it. Also, make sure your channel output numbers (somewhere above the DTS option) are suitable for your audio hardware set-up.
I hope something in this helps you. I’ll try to check back soon (
Any idea why I see every folder on my PC when I connect to my 360? I’ve tried going in and specifying only specific media folders, but it still shows me everything. I have to go through a whole set of folders and subfolders, to find my videos folder. Any thoughts?
Hi Jason,
I recently reformatted my PC and reinstalled Windows 7 Enterprise x64. I installed all the components for the PS3 media server but am unable to connect either my xbox 360 or PS3. The weird thing is before I reformatted my PC all I did was install all PS3 media server components and everything connected and worked. I was wondering if you could help me out? Please send me an email so I can send you my trace file. Thanks for the help.
Jimmy
We’re a bunch of volunteers and opening a new scheme in our community. Your web site offered us with valuable info to work on. You’ve performed an impressive activity and our whole community will likely be thankful to you.
Great writing! You have a flair for informational writing. Your content has impressed me beyond words. I have a lot of admiration for your writing. Thank you for all your valuable input on this topic. http://www.samsung1080phdtv.net/
Thank You I hope this really works of my playstation
Thanks for the good writeup. It in truth used to be a enjoyment account it. Glance complicated to more delivered agreeable from you! By the way, how could we keep in touch?
Hello, i think that i noticed you visited my site thus i came to go back the favor?.I am trying to in finding issues to enhance my web site!I assume its good enough to use some of your concepts!!
Hi Jason, just wondering if you can help me. I have been running PSM for about 2 year now, all was great until about 2 month ago. All of a sudden all movies I am streaming have started to stutter and freeze, all movies from DVD rips to 1080p rips. I hadn’t changed anything at all with my network. I have upgraded my wiring to CAT6 and changed my router and it is still happening. Its nothing to do with the PC as it happens with my laptop as well. Could it be a problem with the PS3 itself? I’ve had it about 4 year but it works fine in every other department. Please help as I am tearing my hair out here!
Thanks, Chris
Hi Chris.
I had this recently also – I’m not sure what changed in my setup, nothing that I can obviously identify anyway.
It’s worth checking your ‘maxvideobuffer’, I had mine at 600, but this caused freezing – I dropped it down to 520 and we’re golden. I think this has to do with codec amendments on the PC end, but as an AV / IT person, I am forever making changes to the system!
It may also be worth redoing your codecs buddy (uninstall, delete configs when prompted), just to be sure you have the right setup, and that A.N.OTHER program hasn’t made changes there also.
Email me if you need. Or I am on Techsupportforum.com as CriticalPoint
Bom dia.
Estou com um problema, instalei o media server e tudo correu bem porem qd coloco qualquer filme pra rodar nao importa o formato e tamanho a barra de buffer enche corretamente porem o Bitrate fica oscilando entre 1 e 0 com isso todos ficam travando, espero que tenham uma solução para mim desde ja muito obrigado.
Abracos a todos
Ah! I take a short treat from the blogging world and come back to find that you have become amazing?! Wow, times have changed! Keep up the primo work!
Wow! This is a truly exceptional article. Your points are sound and interesting and your content is clear. Thank you for caring about your material.
While it is important to have good writing skills, that is only part of writing a good article. Obviously you possess these skills, but you also have a special flair for informative writing. Well done.
This is a great quality article. You make sense out of what I consider to be confusing information. Your thoughts have given me pause to ponder and rethink my own.
I have audio problem,I am with hdmi cable and my ps3 is connected with BRAVIA ® TV.When the sound effects are louder,there is a side noise which is really unpleasant.AC3 and remux DVD/ISO are both checked.I have also problem with the fps(it is really drop),when there is very dynamic scenes(sound effects are very dynamic too).I am with i3-370m processor and 4GB of RAM and Wi Fi N modul.*HD WiFi decoding is checked,but when I quit is not remembered.It’s strange because it is possible to watch the a movie,but when it comes to dynamic sound there’s a failure.I hope for help.
*It is happening on every movie.*K-Lite Codec Pack
I had tried everything in the book to connect to the Ps3 media server. Finally thanks to you Jason, my problem is fixed!! I had tried all things in many blogs and nothing. Until I came across something you mentioned that no one else did which was “PLACING YOUR COMPUTER IP ON ((Force IP of the server)) under general configuration of ps3 media server. Thanks a MIL!!! I hope this helps many out there with same issue!
DkNDEg Muchos Gracias for your blog article.Really looking forward to read more. Want more.
This is a comment to the webmaster. Your website is missing out on at least 300 visitors per day. I came to this page via Google but it was difficult to find as you were not on the first page of search results. I have found a website which offers to dramatically increase your traffic to your site: http://voxseo.com/traffic/. I managed to get over 10,000 visitors per month using their services, you could also get lot more targeted visitors than you have now. Hope this helps
Take care.
To Fix any lag issues or audio sync issues I have found a solution. First, set your transcode buffer settings to 420. Next set your audio bit rate to 420. Now this is where you will have to experiment with the audio delay. If your streaming movies via cat 5 to a smart TV or PS3 I have found that setting buffer to 412 and audio bit rate to 408 works perfect. But you may have to adjust the numbers up or down depending on your audio lag. I set my audio to 2 channel stereo as well. Good Luck!!
The edges involved with my favorite chocolate brown cheap red bottoms for men scratch they’ve been just a little expensive but i could handle the price however , generally there definitely not as well as however , clearly extremely cute
Have you ever thought about publishing an e-book or guest authoring on other blogs?
I have a blog based on the same topics you discuss and
would love to have you share some stories/information.
I know my visitors would value your work. If you’re even remotely interested, feel free to send me an email.
Dutch non-profit organization Mars One intends to be the first to be able to move humanity to Mars and build a city. According to the schedule , this event is going to happen in 2023 , that is for a couple to rejuvenate himself before the other participants of the ” Martian Race” – the U.S., China and Russia .
everyone thinks on this issue ? # notraty
fantastic publish, very informative. I’m wondering why the opposite experts of this sector do not realize this. You must proceed your writing. I’m confident, you have a huge readers’ base already! http://www.cheappenisextenders.com
Hi, I am using PMS to stream media from my PC to SONY bravia TV across hard wired LAN. Now the issue is some avi files dont play on it. though they play on my PC . whats the issue. has it to do with transcode settings . installed VLC, K lite too. avisynth is also put in.