[Libav-user] Removing audio stream delay
dr.strashni at gmail.com
Thu Aug 23 13:16:06 EEST 2018
I have a problem where my timestamps are shifted by number of samples in a frame (1024), while processing the audio file. The initial_padding is set to 1024 and timestamp are all subtracted that amount. What I would like to do is to remove the delay by configuring the encoder properly. So is it possible to remove the audio stream delay while opening the AVCodecContext for encoding? I tried setting the initial_padding to zero, but this doesn’t seem to affect anything. Timestamps are shifted by -initial_padding and I want to avoid this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user