Am Mon, 15 Jan 2007 16:10:43 +0100
schrieb Ruckert Martin <[EMAIL PROTECTED]>: 

> This is a problem with your bitstream. 

You have metadata embedded? Perhaps a stored shoutcast stream with the
periodic track meta info? Album art?

> mpg123, however, is
> not very good at resyncing. So once the player looses track
> most likely the whole rest of the file is skipped.

This may be true for the decoder version in lame, but I just feel urged
to say that the stand-alone mpg123 has improved somewhat in that
respect.
At least for files, on resync it looks for something like a valid
header and does a readahead of one frame to peek if there is another
valid header following.
I worked on quite some problematic files and up to now was able to fix
the mpg123 decoder for all them.
Though, there is a rather new bug on mpg123 bug tracker with some files
that worked with pre0.59s but not with the new (descendent from 0.59r)
0.6x.

The lame mpglib based decoder is based on code that was taken from
mpg123 before the pre0.59s (IMHO).
Generally, the mpglib package needs fixing -- merging improvements that
happened in the console application mpg123.
Can you check if the standalone mpg123 (0.63 and pre0.59s) can play
your files correctly? If so, it should be just a matter of some work to
get the newer mpg123 code into mpglib.

I (the main mpg123 maintainer) have sincere plans to do this mpglib
update from which in turn lame could re-include code, but it would take
me some months to find the time to do it alone (thesis work).
Perhaps if you are motivated to get your microcontroller project going
with some coding (I assume you are when hacking already;-) we could
help each other.
There already was an attempt to make mpglib work on a SHARC 32bit DSP,
btw - we got the code basically working on it, but the project was let
down and so we didn't come to the part with bugfixing the decoder with
fresher mpg123 code.


Thomas.
_______________________________________________
mp3encoder mailing list
[email protected]
https://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to