GNOME Bugzilla – Bug 550791
[flacenc] files are too big, mid-side-stereo=true should be the default
Last modified: 2008-09-04 09:27:01 UTC
flac files encoded by gstreamer are usually 10% to 20% larger than ones produced by flac command line. I tested with several parameters, and quality setting is not the problem; I've got massive file size decrease by just adding mid-side-stereo=true on the gstreamer command. So maybe this option should be set at true by default (it just a join stereo feature, instead of encoding both channels separately)
Oops, nice catch. In fact mid-side-stereo should even be set to true by default, but isn't. Should be fixed in CVS now: 2008-09-04 Tim-Philipp Müller <tim.muller at collabora co uk> * ext/flac/gstflacenc.c: (gst_flac_enc_class_init): Make sure the desired default values are actually set, not only registered as defaults (actual problem is that the stereo-specific values are only updated if channels==2, which is not the case yet when the object is created, so the default values for the mid-side-stereo and loose-mid-side-stereo settings are never set in _update_quality()). Makes flacenc create smaller files by default (for stereo input), and fixes #550791.