After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 550791 - [flacenc] files are too big, mid-side-stereo=true should be the default
[flacenc] files are too big, mid-side-stereo=true should be the default
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal minor
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-04 08:18 UTC by Gautier Portet
Modified: 2008-09-04 09:27 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Gautier Portet 2008-09-04 08:18:47 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)
Comment 1 Tim-Philipp Müller 2008-09-04 09:27:01 UTC
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.