PMS manages the communication between any device and your PC, but when it comes to transcoding media, it uses other programs to do the actual transcoding. Sometimes the other program crashes, and you will see a message like this in the log:
- Code: Select all
INFO 2013-03-06 20:48:23.575 [mencoder.exe-36] Process C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe has a return code of -1073741819! Maybe an error occurred... check the log file
In some cases the debug.log file does not provide much more information on the error that occurred. In those cases it can be handy to manually execute the command that PMS uses, because you might see the cause of the error.
Solution:
(The description below is based on Windows, but it works similarly for other platforms)
First:
- Start up PMS
- Reproduce the error
- Quit PMS
It will look something like this:
- Code: Select all
DEBUG 2013-03-06 20:48:19.022 [mencoder.exe-36] Starting "C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe" -ss 0 C:\Movies\big_buck_bunny_1080p.mov -msglevel statusline=2 -nosound -of rawvideo -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=2:keyint=5:vqscale=1:vqmin=2 -font C:\Windows\Fonts\Arial.ttf -subfont-text-scale 2.8 -subfont-outline 1 -subfont-blur 1 -subpos 98 -fontconfig -sid 0 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -o \\.\pipe\1360180345714ffmpegvideo
When you have found this line, you will want to turn it into a runnable command line:
- Copy the line from the debug.log to a texteditor, e.g. Notepad.
- Remove the debug info from the start of the line, up to and including the word "Starting".
- Remove "-quiet" options if you see them.
- Remove "-really-quiet" options if you see them
- Change the "\\.\pipe\..." bit at the end of the line to "output.mpg".
Just to be sure: all the words should really be on one line (i.e.: no line breaks).
Then:
- Open a command shell by opening the Windows start menu, and enter "cmd" in the Search programs box.
- Copy the command line to the command shell by using the right mouse button and selecting "Paste"
- Press 'Enter' to execute the command line.
You are of course free to change some of the values on the command line and see if it changes things. When it works correct, you will find a file "output.mpg" in your current directory that you should be able to play with your regular media player.