[Libav-user] Removing audio stream delay
Strahinja Radman
dr.strashni at gmail.com
Thu Aug 23 13:16:06 EEST 2018
Hi guys!
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.
Kind regards,
Strahinja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180823/bae54956/attachment.html>
More information about the Libav-user
mailing list