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 129437 - No option for encoding quality
No option for encoding quality
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: interface
0.5.7
Other Linux
: Normal enhancement
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
: 134916 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-12-16 09:06 UTC by Gregor Pridun
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
implement the quality part of the prefs dialog with a slider (15.45 KB, patch)
2004-09-19 00:14 UTC, Olivier Andrieu
rejected Details | Review

Description Gregor Pridun 2003-12-16 09:06:22 UTC
I couldn't find any option in the preferences or in the gconfkeys to
configure options of the ogg- or mp3-encoding for soundjuicer!! (Mp3 is
perhaps difficult because there are different encoders with diferrent
options). What ogg-quality uses soundjuicer anyway ? (the default quality
of ogg which would mean 4?). It would be just fine if you could set a
quality from 1 to 10 !
Comment 1 Ross Burton 2003-12-16 09:10:36 UTC
As mentioned many times on the web site, and the To Do list, this is a
feature still to be implemented.
Comment 2 Bastien Nocera 2003-12-16 17:16:52 UTC
Because of you, a kitten died.
Comment 3 Ross Burton 2003-12-16 19:55:56 UTC
Bastien -- I nearly put that this morning but realised that I said
people filing duplicates kill kittens, not the quality issue.

So, unless there is a duplicate (sadly you know the SJ bugs better
than I do!) the kitten is alive and well... :)
Comment 4 Iain 2003-12-17 17:25:53 UTC
Just a comment from an innocent bystander
Having quality going from 1 to 10 sucks ass.
What does 1 mean?
What does 10 mean?

In Marlin went it so that the quality slider prints strings for the
quality value rather than simply a number. I just can't think of Ten
different strings. I'm wanting something like
"Poor Quality (Good for speeches)"
"CD Quality"
"Very high quality"
things like that.
Comment 5 Ross Burton 2003-12-17 19:52:01 UTC
That is the exact reason why quality has taken so long to appear. :)

I'm really thinking about using the gnome-audio-profiles stuff which
just hit gnome-media HEAD.
Comment 6 Gregor Pridun 2003-12-19 09:26:54 UTC
Hy,
I've suggested a list from 1 to 10 for the configuration of the
encodingquality, because this is the qualityconfigurationsystem of the
oggenc (the ogg-vorbis encoder). 
You are right, if you say that this is not a good system but your system
also sucks ass. 
What does 
"Poor Quality (Good for speeches)",
"CD Quality" (for some people 128kb/s for other 162kb/s for the rest
192kb/s),
"Very high quality" mean??

A better system might be to configure the encodingquality with
a kb/s system. (64kb/s, 128 kb/s ,162 ........) (these are naturally
no exact values, because ogg vorbis works with variable bitrates).
Comment 7 Giles Hamlin 2004-02-07 12:59:54 UTC
I think quality 1-10 is the way to go - Xiph made a concious decision 
to change from kbps measurement to quality measurement because as new 
versions of ogg vorbis encoder are developed, it is possible that the 
same quality level will be achieved with a different kbps due to 
optimisation of the codec.

I do agree, however, that a newbie, particularly one without any 
prior experience of ogg vorbis needs a way to be able to visualise 
the percepted audio quality. IMO, there just needs to be a legend 
above the slider bar indicating what setting achieves which quality. 
We should avoid entering the realms of telling people which quality 
setting is right for which purpose, as everyone hears differently, 
and one man's CD quality is another man's watery distortion. The most 
commonly used quality setting (ie a good tradeoff between quality and 
size) should be selected as a inital default, with the setting 
defaulting to the most recently selected quality with repeat uses. I 
propose the legend bar above the slider would like this:

Lowest                 QUALITY                   Highest
<------------------------------------------------------>

Comment 8 Christophe Fergeau 2004-04-05 11:52:23 UTC

*** This bug has been marked as a duplicate of 134916 ***
Comment 9 Christophe Fergeau 2004-04-05 11:52:49 UTC
Hmm, I marked the wrong bug as a duplicate, sorry for the noise
Comment 10 Christophe Fergeau 2004-04-05 11:53:46 UTC
*** Bug 134916 has been marked as a duplicate of this bug. ***
Comment 11 Dan Berger 2004-07-26 04:58:27 UTC
I've submitted a patch against anoncvs to Ross today that makes sound-juicer use
 media profiles rather than a hard-coded set of encoders and qualities.

If you want to give it a whirl (constructive feedback welcome) drop me a note
and I'll send you the patch).  (I'm not posting it here yet as I'd like at least
one other set of eyes to take a look at it before doing so.)
Comment 12 Bastien Nocera 2004-07-26 06:46:27 UTC
If you want the code reviewed, attach it here...
Comment 13 gnome 2004-09-03 17:27:25 UTC
> as new versions of ogg vorbis encoder are developed, it is possible that the 
> same quality level will be achieved with a different kbps due to optimisation 
> of the codec.

Sure but quantity measurement (kbps) has it that you can control the average
size of the encoded file. This is important with devices short on space, e.g.
embeded audio players. With quality measurement you cannot say how much an
average song -- say three minutes -- will weigh, unless making many tests which
would only provide you the quality equivalent for, in my case, 96 kbps.

I know asking for 96 kbps is just an indication for the encoder, not mandatory,
but I also avoid getting files too big without being able to hear some
difference in quality.

Anyway I like the audio profile approach: base users will use nice default
values and I would be able to make my own "best quality for lowest space"
profile. I am eager to have it packaged in Debian!
Comment 14 Olivier Andrieu 2004-09-18 17:17:45 UTC
I wanted the feature so I gave it a try. Patch follows.

There's a slider with values between 0 and 10, with "Worst" written on the 0
side and "Best" written on the 10 side. When WAV encoding is selected, it is set
to insensitive and when FLAC is selected, the labels are "Fastest" and "Best
compression".
Comment 15 Olivier Andrieu 2004-09-19 00:14:46 UTC
Created attachment 31678 [details] [review]
implement the quality part of the prefs dialog with a slider
Comment 16 gnome 2004-09-19 12:43:43 UTC
I thought we agreed to use sound profiles, because choosing a number is not very
user-friendly?
Comment 17 Ross Burton 2004-09-19 18:03:03 UTC
Yes, I had. Olivier, see comment #11.

Closing this bug, checkout the "sj-profiles-branch" branch to test the new code
until I release it.
Comment 18 Olivier Andrieu 2004-09-19 22:39:12 UTC
Yeah I coded the thing before looking in bugzilla and I did not see the
profiles-branch.