@redmamoth - apologies for the delay in responding, I have been away working in the Netherlands
What is it exactly you want to know how to do? Build your own ps3ms
linux packages?
Well I use debian and my starting point is
http://www.debian.org/doc/manuals/maint-guide/ (but for Ubuntu, I presume something like:
https://wiki.ubuntu.com/PackagingGuide/Complete is what you should be looking at. It doesn't seem to have strayed far from the debian way)
I could then provide you with the contents of my debian build directory (or indeed you can extract something similar from Paissad's source from his repo) as a starting point. It contains things like the build rules file, changelog, control file, init script, patches, etc. (my patches are managed using quilt, and I am building against sun-java6)
Once you have had a chance to digest the above (and presumably you still want to go ahead and build the package yourself) I can throw some further advice / instructions together if required.
@all - When I built v1.25.1 I also added patch r664 from svn which appears to "Enable multithreaded MEncoder by default if more than 1 CPU core is detected" (presumably in lieu of manually setting "mencoder_mt = true" in
PMS.conf). In debian multimedia squeeze repository there is actually a mencoder-mt (version 1.0~rc3git20100727-0.2) package available. However ps3ms appears to look for mencoder_mt instead of mencoder-mt so I corrected this by patching LinuxDefaultPaths.java appropriately. NOTE: I didn't actually test this in the end (but I will shortly) because my findings were superceded by the fact that it appears the main mencoder has been multi-thread enabled since the end of march (by passing option -lavdopts threads=N) - can anyone else corroborate this as it is a little confusing to me!
In any case mencoder version 3:1.0~rc4+svn20110505-0.0 in the debian repository should therefore have this capability. In an earlier post I indicated that using this version caused me audio distortion issues. Well that turned out to be related to using the acodec=ac3 option with the new mencoder version. Using acodec=ac3_fixed instead, solved the problem. Note this fix was already made the default in ps3ms in an earlier patch - hence I didn't see the issue in normal usage. But when I used the pmsencoder plugin to play web content it passed it's own options to mencoder and still used acodec=ac3 - this was easily remedied using a small custom script placed int he pmsencoder runtime script directory to change the option acodec option. Please note that in the forthcoming r662 patch which should be incorporated into ps3ms v 1.30 the ac3_fixed default is reversed and needs to be explicitly enabled as option "mencoder_ac3_fixed = true" in
PMS.conf.
@chocolateboy - how difficult/feasible would it be to have pmsencoder check the mencoder_ac3_fixed option in
PMS.conf and act appropriately?
Now I am in the process of testing multi-threading based on the above. Can someone tell me how to determine if mult-threading (or indeed both my cores) is(are) actually being used by ps3ms/mencdoer? (obviously when testing my 1st option it is easy, I just need to see if mencoder-mt is being used)
@arrrghh - RE: your libmediainfo problems, if they are the same as I described in my previous post - I doubt a new build of ps3ms will help you - short of disabling libmediainfo. The problem is libmediainfo version 0.7.44 - the SOLUTION: downgrade to 0.7.41. Later versions may eventually solve the problem too, but 0.7.45 in sid/unstable appears to be multi-arch enabled and thus the current ps3ms has trouble finding it.
hmmm... I guess that will be something I could create a patch for and submit. Does anyone know if there are any other external libraries used by ps3ms?
FYI - if you are going to manually install a downloaded .deb it is probably better to use 'gdebi' rather than 'dpkg -i' - apparently it handles dependencies etc in a much better way.
have fun kids!
Os