Help - Search - Members - Calendar
Full Version: LAME preset tag and Vorbis -q
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
jkwarras
Hi,

Anyone knows if it's possible to read the preset used in LAME? I know it can be done in MPC, FLAC and other lossless codecs via __mpc_profile, __aac_profile, etc... but I don't know what technical field should I call to show this information. I know that LAME write this informastion in the LAME tag, but I can't read it even in the properties page from foobar2000.

Is the same thing possible with Vorbis (to know the -q used) ?

Thanks a lot in advance cool.gif
kjoonlee
QUOTE(jkwarras @ Jul 14 2004, 06:09 PM)
Is the same thing possible with Vorbis (to know the -q used) ?

Thanks a lot in advance  cool.gif
*

// Buggy. Use at your own risk. Insert Quality where you want it to be displayed.

$if($strcmp(%__channels%,2),
$if($or($strcmp(%__samplerate%,44100),$strcmp(%__samplerate%,48000)),
$if($greater(%__bitrate_nominal%,0),$puts(Quality,Q-1),)
$if($greater(%__bitrate_nominal%,63),$puts(Quality,Q0),)
$if($greater(%__bitrate_nominal%,79),$puts(Quality,Q1),)
$if($greater(%__bitrate_nominal%,95),$puts(Quality,Q2),)
$if($greater(%__bitrate_nominal%,111),$puts(Quality,Q3),)
$if($greater(%__bitrate_nominal%,127),$puts(Quality,Q4),)
$if($greater(%__bitrate_nominal%,159),$puts(Quality,Q5),)
$if($greater(%__bitrate_nominal%,191),$puts(Quality,Q6),)
$if($greater(%__bitrate_nominal%,223),$puts(Quality,Q7),)
$if($greater(%__bitrate_nominal%,255),$puts(Quality,Q8),)
$if($greater(%__bitrate_nominal%,319),$puts(Quality,Q9),)
$if($greater(%__bitrate_nominal%,497),$puts(Quality,Q10),)
,)
,)
jkwarras
QUOTE(kjoonlee @ Jul 14 2004, 01:15 AM)
// Buggy. Use at your own risk. Insert Quality where you want it to be displayed.

$if($strcmp(%__channels%,2),
$if($or($strcmp(%__samplerate%,44100),$strcmp(%__samplerate%,48000)),
$if($greater(%__bitrate_nominal%,0),$puts(Quality,Q-1),)
$if($greater(%__bitrate_nominal%,63),$puts(Quality,Q0),)
$if($greater(%__bitrate_nominal%,79),$puts(Quality,Q1),)
$if($greater(%__bitrate_nominal%,95),$puts(Quality,Q2),)
$if($greater(%__bitrate_nominal%,111),$puts(Quality,Q3),)
$if($greater(%__bitrate_nominal%,127),$puts(Quality,Q4),)
$if($greater(%__bitrate_nominal%,159),$puts(Quality,Q5),)
$if($greater(%__bitrate_nominal%,191),$puts(Quality,Q6),)
$if($greater(%__bitrate_nominal%,223),$puts(Quality,Q7),)
$if($greater(%__bitrate_nominal%,255),$puts(Quality,Q8),)
$if($greater(%__bitrate_nominal%,319),$puts(Quality,Q9),)
$if($greater(%__bitrate_nominal%,497),$puts(Quality,Q10),)
,)
,)

*



Thanks kjoonlee cool.gif

I thinked also about that (assign the bitrate nominal in vorbis to the specific quality level) I guess it also wil depend on what version of Vobis did you use, so you can end up with something wrong, but at least is an 'indication' of the -q used.
Lyx
as far as i know it is currently not possible to read the lame-tag via strings. However, you can search the encodersettings- and encodedby-tag for useful information if it is there. This is what i am doing in my current work-in-progress strings.

- Lyx
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.