[Ffmpeg-devel] thp audio decoder

Mike Melanson mike
Mon Apr 2 17:19:59 CEST 2007


Spidy wrote:
> Hi!
> 
> Input Audio stream parameters are made up from source file. I want to
> know how the parameters of output stream could be changed?
> I have fixed error with audio timeline in decoder. Every sample of
> input stream represented by 4 bits, bitrate for example file is
> 128kbps, every sample of output stream is 8 bit, from this the audio
> bitrate of output must be 256 kbps, but mp2 codec always choses 64
> kbps. Can I change this parameter and as?

If MP2 recoding is giving you trouble, just dump the audio as raw PCM. 
Works every time. It's faster, too. "-acodec pcm_???". The '?' 
characters will be u8, s16le, whatever is appropriate for the audio format.

-- 
	-Mike Melanson




More information about the ffmpeg-devel mailing list