0
0

Hi folks,

I can’t get MPEG2 or MPEG3 to correctly loop. Anyone knows why?

I’m thinking that I have to align to 1152 samples, and save gapless (lame_encode_flush_nogap), but I’m not sure what else I have to do.

Thanks,
malkia

  • You must to post comments
0
0

You wont get mpeg to loop correctly unless we finish a hybrid mpeg format we’re looking into, which stores and crossfades pcm data at the start/end in addition to the mpeg frames.

mpeg is not designed to loop at all, alignment wont help (its a lossy sequential frame based format so the start and end will usually not match), so as it stands you have to use another format such as adpcm for loop sensitive sounds.

For PS3 we will support at3 whenever the decoder becomes available from sony, so we will drop mpeg support there when that happens. Hopefully that format is designed to loop, which i think it might be.

  • You must to post comments
0
0

[quote="brett":2zm3v83n]You wont get mpeg to loop correctly unless we finish a hybrid mpeg format we’re looking into, which stores and crossfades pcm data at the start/end in addition to the mpeg frames.

mpeg is not designed to loop at all, alignment wont help (its a lossy sequential frame based format so the start and end will usually not match), so as it stands you have to use another format such as adpcm for loop sensitive sounds.

For PS3 we will support at3 whenever the decoder becomes available from sony, so we will drop mpeg support there when that happens. Hopefully that format is designed to loop, which i think it might be.[/quote:2zm3v83n]

Yup, I’ve moved to ADPCM already, and it works fine, it’s just the compression is now 3-4 times worse, and we were counting on some heavy sound loops to be in memory.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.