[Ffmpeg-devel] thp audio decoder

Michael Niedermayer michaelni
Sun Apr 1 23:24:09 CEST 2007


Hi

On Sun, Apr 01, 2007 at 10:54:54PM +0400, Spidy wrote:
> Hi, all!
> I am writing a thp audio decoder for a THP format(In fact i right
> full THP playback as a GSoC qualification task, and all videos both
> with audio or not works fine,but soundd seems to play just one sample
> instead of 16),i had encountered problem and i don't know what is the reason, i give to
> audio decoder one packet and if i decode all audio samples then
> projecting size becomes nearly 4 times bigger than needed, but if i
> skip every 4th sample than sound is hearable but of very bad  quality
> with much noise. I think i do not understand sth about how must
> samples return and what difference AVCodecContext fields such as
> bitrate or frequency means, cos if i change them there is no
> difference.

does it sound ok if you dump the decoded audio to a file and play that?

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20070401/409faff3/attachment.pgp>



More information about the ffmpeg-devel mailing list