[Libav-user] How to create silence audio frames?
jon at jonb.org
Sat Feb 13 19:17:27 EET 2021
On Fri, Feb 12, 2021, at 7:58 PM, Gustav González wrote:
> I have been looking for an example or piece of code showing how to fill an audio stream with silence frames/packets using the ffmpeg API. My goal is to merge it with a video stream.
> The best hint I found until now was this:
If you want to fill in missing timestamp with silence, you might want to use the `aresample=async=1` filter. This does exactly that.
I use it to synchronize audio from RTP streams, which frequently have dropped frames.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user