[FFmpeg-devel] Decoding the same audio frame twice produces different output
Haakon Riiser
haakon.riiser
Tue May 12 15:18:23 CEST 2009
> Haakon Riiser wrote:
>> As the subject states, I am wondering why libavcodec produces
>> different output when the same audio frame is decoded twice in a
>> row. As far as I know, every audio frame is as independent as an
>> I-frame in video, so it should always produce the same output.
>>
>>
> Most codec frames are dependent on the previous frame thus your
> statement is false.
So how do you handle seeking to random locations in the stream?
I sometimes get horribly loud artifacts when seeking, which is why
I'm investigating this problem. Are some audio frames the
equivalent of key frames in video? Can I code audio so that every
frame is independent?
--
Haakon
More information about the ffmpeg-devel
mailing list