[Ffmpeg-devel] Mpegaudio decoding problem

Michael Niedermayer michaelni
Sun Feb 18 21:24:30 CET 2007


Hi

On Sun, Feb 18, 2007 at 06:54:26PM +0100, Chip wrote:
> Hello,
> 
> Can someone help me how to decode mpeg audio with libavcodec? I've used to
> do it as apiexample shows and it worked well (4 or 6 months ago). But with
> the svn version of libavcodec it started to decode garbage. Very strange
> noise. My first tought was endian problem but while I tried it on my PC, I
> get the same result and my stderr is full with the following message:
> [mp2 @ 0x8319b0c]Header missing skipping one byte.
> Can someone point out what is changed for audio decoding in the recent past?

you need to use a AVParser, the decoder expect complete frames

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070218/c45fe05e/attachment.pgp>



More information about the ffmpeg-devel mailing list