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

2018-03-22 Thread lagavulin2016
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 f

Re: [Libav-user] g729 in rtp

2018-03-13 Thread lagavulin2016
Previous post was somewhat html-formatted. I re-posted. > 2018-03-13 8:15 GMT+01:00, lagavulin2016 : > > Hello. I'm trying to convert voip pcap to wav. > > voip pcap has a few bidirectional call and includes sip and rtp packets. > > (for example, https://wiki.wi

Re: [Libav-user] g729 in rtp

2018-03-13 Thread lagavulin2016
> 2018-03-13 8:15 GMT+01:00, lagavulin2016 :> > Hello. I'm trying to convert voip pcap to wav.> > voip pcap has a few bidirectional call and includes sip and rtp packets.> > (for example, https://wiki.wireshark.org/SampleCaptures#SIP_and_RTP)> > So I created

[Libav-user] g729 in rtp

2018-03-13 Thread lagavulin2016
Hello. I'm trying to convert voip pcap to wav.voip pcap has a few bidirectional call and includes sip and rtp packets.(for example, https://wiki.wireshark.org/SampleCaptures#SIP_and_RTP) So I created libavformat/voip_pcap.c which is similar to libavformat/rtsp.cwith pcap file parsing instead of ne