This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5317 - mp3_encoder improperly encodes mono .wav files
Attached to Project:
Rockbox
Opened by tim e (timecop) - Monday, 08 May 2006, 09:20 GMT+1
Last edited by Rani Hod (RaeNye) - Thursday, 28 September 2006, 18:33 GMT+1
Opened by tim e (timecop) - Monday, 08 May 2006, 09:20 GMT+1
Last edited by Rani Hod (RaeNye) - Thursday, 28 September 2006, 18:33 GMT+1
|
Detailswhen using mp3_encoder plugin on a 44khz mono .wav file, the resulting mp3 plays too fast...
<linuxstb> it seems that Stereo input is assumed in lots of places.... The encoder itself seems to support mono, but the Rockbox implementation breaks it. There's init_mp3_encoder_engine() which is passed 'true' for stereo regardless of actual .wav format, and there's also some code in the encoding loop which tries to downsample stereo to mono (huh what) if nchannels was set to mono. Looks like someone got carried away with cut & paste |
This task depends upon
is this still an issue ?
It's been worked out of the adaptation to the encoder framework. If this should be fixed and the transcoder will be kept then I might be able to take care of it.
Mike?
Confirmed with e200 & r18013.
Petur? Isn't this a plugin issue? I've never worked on mp3_encoder. Of course I did say I might be able to take care of it in a post up there I hardly recall making. I must have said it for a good reason though but exactly what it is, my memory gnomes have to go fetch. :)