When I'm trying to play some of my .avi or .mov files I get the error "Data defect" on my PS3. I've digged into the debug.log and I found some issues with mencoder. This is the command ps3mediaserver is trying to run and fails:
mencoder -ss 0 -quiet /ps3server/shared/billeder/TTVideo.avi -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=384:threads=2:keyint=1:vqscale=1:vqmin=2 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1243284775662
When I run this command in bash I get the following error:
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Option mpegopts: Unknown suboption vbuf_size
Error parsing option on the command line: -mpegopts
Exiting... (error parsing command line)
I've looked this up and as far as I can see my mencoder is too old and don't support vbuf_size and abuf_size. And if I remove these two options from mpegopts it works like a charm (in my prompt). I'm running a very new install of CentOS 5.3 with the newest update of the mplayer and mencoder that my repos got, but no luck.
My question is: Is there a way (maybe as an option in PMS.conf) to disable the usage of vbuf_size and abuf_size when ps3mediaserver is starting mencoder, or is it mandatory for a good video result (being a complete newbie on mencoder here)? Or does anyone know a way for me to get a newer version of mencoder for CentOS 5.3 without getting the newest snapshot from mplayerhq.hu, compiling it etc.?
/Frang
