[Ffmpeg-devel] Help needed with MPC decoder

Kostya kostya.shishkov
Sat Dec 16 07:01:09 CET 2006


On Fri, Dec 15, 2006 at 05:48:38PM +0100, Benjamin Larsson wrote:
> Kostya Shishkov skrev:
> >Here is my attempt to write MPC SV7 decoder.
> >I believe that parsing is OK while signal reconstruction is not. It
> >should be quite similar to MPEG Audio Layer 1 and 2 reconstuction -
> >1152 samples per frame, 32 subbands with 36 samples in each subband.
> >Please help to make it work. And as for the structure - it is just
> >development version and it will be cleaned, formatted and maybe
> >redesigned before final version.
> >------------------------------------------------------------------------
> >+
> >+/**
> >+ * @file mpc.c Musepack decoder
> >+ * A mdct based codec with frames of 1152 samples
> >  
> This is wrong, a Polyphase Quadrature Filter (PQF) is used.

Ok, noted.

> And I tried the decoder and it crashed, bt follows and sample is from mphq:
[...]

Yeah, _that_ is the problem - I don't know how to tie ff_mpa_synth() to make
it work properly (now it crashes) and output proper sound.
 
> And good work.
> 
> MvH
> Benjamin Larsson
> 




More information about the ffmpeg-devel mailing list