So, I downloaded your zip file that included the PPC pre-compiled binaries and installed it... then I downloaded/compiled/installed lame and faac from http://stephenjungels.com/jungels.net/a ... wto.html... and tried playing an mkv on my PS3... no dice. It does get further than it did before - I can see it trying to transcode rather than just erroring out in the debug log, but it still fails.
I thought that my problem might stem from the multiple versions of lame and faac I have on my system. The (new/just compiled) ones I want this to be using are located:
/usr/local/bin/faac
/usr/local/lib/libfaac*
/usr/local/bin/lame
/usr/local/lib/libmp3lame*
...but I've also got:
/opt/local/bin/lame
/opt/local/lib/libmp3lame*
/sw/bin/lame
/sw/lib/libmp3lame*
/sw/bin/faac
/sw/lib/libfaac*
however, a bit of poking around with opensnoop while trying to play an mkv seems to indicate that it's using the proper version of each:
501 16615 3 /usr/local/lib/libfaac.0.dylib mencoder\0
501 16615 3 /usr/local/lib/libmp3lame.0.dylib mencoder\0
I've attached the portion of my debug.log that is output when trying to play an mkv in hopes that it'll help someone that understands it better than I do!
Thanks in advance!
For the record - it did actually start to play the file once while I was mucking around... I don't have any idea what I did to make it work, but it appears that it just wants to tease me!
EDIT: I'm going to try to compile ffmpeg and mplayer myself to see if that has any effect... (I've got dual 1.8's, so I figured your binaries would work.) I had XCode 3.1.3 and got the same error reported by another use, "WARNING: GNU assembler not found, install gas-preprocessor" when compiling ffmpeg - downloading 3.1.4 now to see if that resolves it.
EDIT2: To clarify, the error comes up when trying to run the configure script. XCode 3.1.4 did not resolve the problem. I found the following:
http://ffmpeg.org/general.html#SEC19 that states:
MacOS X on PowerPC or ARM (iPhone) requires a preprocessor from http://github.com/yuvi/gas-preprocessor to build the optimized assembler functions. Just download the Perl script and put it somewhere in your PATH, FFmpeg's configure will pick it up automatically.
I tried putting gas-preprocessor.pl in my path, hardcoding it's path in the configure script, and setting its' permissions to 777 - none of that helped. I also added --arch=ppc to the configure arguments with no luck. I don't know if the configure script has changed since ctene compiled his version or what?
I was able to compile mplayer without any trouble, so I replaced ctene's versions of mplayer and mencoder with my own. I don't know where mencoder_mt comes from, but ctene's was the exact same file as his mencoder, so I just linked mencoder_mt to my new mencoder.
I still don't even know if compiling my own ffmpeg is going to help anyway...?
EDIT3: So, it turned out that the gas-preprocessor.pl script I downloaded was corrupt - downloaded a new copy and got past the configure error... it's compiling now - and my fingers are crossed that magic will happen for me!
EDIT4: The make resulted in an error:
"make: *** [libavcodec/ppc/fft_altivec_s.o] Error 1" (after lots of other libavcodec/ppc/dsputil_altivec.c warnings: http://ffmpeg.pastebin.com/QPpZaeF6)
After working with some folks in the ffmpeg irc channel, the only way I could get it to compile was by removing the '--enable-shared' arg - but using it with PS3 Media Server gave me the same (not working) results...
