Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: encoder delay issues (mp3) (Read 2856 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

encoder delay issues (mp3)

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

encoder delay issues (mp3)

Reply #1
I tried version 0.8.3 as well. It doesn't work properly either.

Sebi

encoder delay issues (mp3)

Reply #2
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.

encoder delay issues (mp3)

Reply #3
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?