Raptor399 wrote:This means the patch needs rewriting
private static final String KEY_MENCODER_AC3_FIXED = "mencoder_ac3_fixed";
public boolean isMencoderAc3Fixed() {
return configuration.getBoolean(KEY_MENCODER_AC3_FIXED, Platform.isMac());
}
chocolateboy wrote:* Well, ideally, ffmpeg and mencoder should just work
If that's true, we can just detect the version of MEncoder and choose the correct option automatically. We already get the version info so it wouldn't be hardchocolateboy wrote:Since this is a workaround for an MEncoder issue that might affect any platform using the same version(s) of MEncoder, IMO this would be better implemented as an MEncoder option in the GUI/profile e.g. "Use AC3 fixed" (localizable)/mencoder_ac3_fixed.
ffmpeg wrote:AC-3 audio encoders.
These encoders implement part of ATSC A/52:2010 and ETSI TS 102 366, as well as the undocumented RealAudio 3 (a.k.a. dnet).
The ac3 encoder uses floating-point math, while the ac3_fixed encoder only uses fixed-point integer math. This does not mean that one is always faster, just that one or the other may be better suited to a particular system. The floating-point encoder will generally produce better quality audio for a given bitrate. The ac3_fixed encoder is not the default codec for any of the output formats, so it must be specified explicitly using the option -acodec ac3_fixed in order to use it.
$ mencoder
MEncoder 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
BEEware wrote:@Raptor399: I'm on an iMac mid 2010 with Core i5 3,6 GHz running Mac Os X 10.6.7 with Xcode 3.2.6. I tried your version v1.8 of your build script, but getting an syntax error -> build-pms-osx.sh: line 1291: syntax error: unexpected end of file
Any ideas?
BEEware wrote:My fault. It helped to create the script inside of Xcode and not an external editorThanks for reply.
Return to Mac OS X Specific Support
Users browsing this forum: No registered users and 5 guests