Help - Search - Members - Calendar
Full Version: encoder delay issues (mp3)
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
SebastianG
Hi !

This isn't a serious problem but the restrictive acceptance of encoder delay/padding values kind of renders my mp3 editing software useless.

My app is supposed to do sample granular splitting for seamless (no gaps and no clicks) playback of tracks (split out of a large mp3) on LAME tag aware players. It's quite sophisticated (handles bitreservoir issues properly, calculates a new 'mp3 header' with appropriate encoder delay/padding settings).

To make playback really seamless and to handle bitreservoir issues properly I sometimes have to increase the encoder delay value to something around 3000.

Unfortunately Foobar (v0.8.1) only supports encoder delay values up to 1152 and ignores encoder delay/padding completely if the delay exceeds 1152 or the padding exceeds 2304.

Is this a Foobar related problem or is mpglib to blame?
Do I have to live with this or is there any chance of making the decoder more robust?

The LAME tag specification clearly allows both values to be as high as 4095. I'd be happy if encoder delays as high as 2880 (576*5) are supported (it doesn't need to be more for my purpose).

Thanks,
Sebi
SebastianG
I tried version 0.8.3 as well. It doesn't work properly either.

Sebi
kode54
This restriction has already changed in 0.9 beta. For now, you can "easily" find the relevant code in foo_input_std and NOP it out in your favorite hex editor.
dignick
I want these limitations removing as I want that app sebi has made, because atm i have no proper solution. Surely it could be changed and released very easily?
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.