[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OpenDivX] About Fraunhofer MP3 Codec

When using Fraunhofer MP3 Codec to convert PCM to MP3, 
I set the destination WAVEFORMATEX as such:
    wfDes.wFormatTag = WAVE_FORMAT_MPEGLAYER3;
    wfDes.cbSize = 12;
    wfDes.nAvgBytesPerSec =1000;
    wfDes.nBlockAlign =1;
    wfDes.nChannels = 1;
    wfDes.nSamplesPerSec = 8000;
    wfDes.wBitsPerSample = 0;

but 8000 bytes' PCM became 817 bytes after compresion
(using acmStreamConvert()). And after decompression, 
the PCM stream is only 6336 bytes!! much shorter than
original one(8000 bytes). The qulity of is also bad. 

Anyone knows the situation??

Thanks in advance!


OpenDivX mailing list
[email protected]

Reply To Poster

Local References / HOW-TO / FAQs