MKUltra wrote:Raptor399 thanx for the effort in creating the "soup-to-nuts" build script. What is the difference if I use the build script versus the svn checkout from the project hosting site?

You're welcome!

SVN on the project hosting site contains the newest source for PMS. At the same time it contains very old precompiled libraries and tools for OSX, compared to the same for Windows and Linux. So when you build from SVN on OSX, you get a brand spanking new PMS but with limited support for different formats and options.

In contrast, the script ignores the old precompiled libraries and tools. It first retrieves and compiles all the latest libraries and tools. And only then it compiles PMS. This means you get an OSX build that closes the gap with the Windows and Linux builds from a technical perspective. It supports more formats and options and you will experience the same issues as elsewhere on the forum.

TL;DR: SVN = new PMS + old tools. Script = new PMS + new tools.

Note: currently SVN contains old tools because there is no alternative. Somewhere in the future, when the script is production ready, the newest tools can be built and checked into SVN accordingly. From then on, building from SVN will give the same result as building from the script, and the script will probably only be used by people who want to experiment with different versions of tools.

Raptor399 wrote:it contains very old precompiled libraries and tools for OSX, compared to the same for Windows and Linux.

Just to clarify one point, the Linux build bundles tsMuxeR and nothing else. MEncoder, MPlayer, ffmpeg &c. are provided by the distro, and, although the Windows build bundles multiple versions of MEncoder to provide a convenient workaround for MEncoder bugs on the most widely-used platform, these are a refinement rather than a requirement for all platforms.

The discussion on how to implement the patch seems to have died down, so I have rewritten the patch as chocolateboy suggested. The setting can now be configured by adding "mencoder_ac3_fixed = true" or "mencoder_ac3_fixed = false" to the configuration file. If it is not configured, it will take the default value "true" on OSX, "false" on the other systems.

Raptor399 wrote:Note: web video will still get distorted and skewed audio if you use chocolateboy's PMSencoder plugin, because that still calls mencoder with "acodec=ac3" instead of "acodec=ac3_fixed".

You can customize this. Save this as INIT.groovy in the PMSEncoder script directory.