[Libav-user] Fill audio gap with silence in demuxer

lagavulin2016 lagavulin2016 at naver.com
Thu Mar 22 15:25:31 EET 2018

I'm implementing voip pcap demuxer.
For example, if I have a voip(sip+rtp) pcap file which contains bidirectional conversation.
I want to create a wav file from it.
The problem is...
If there are packet drops, the gap should be filled with silence so it is synced with other direction.
How can I fill the gap in my demuxer(libavformat level, not codec level)?
Or is there some audio filter or flag I can use? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180322/be6c4e6a/attachment.html>

More information about the Libav-user mailing list