[FFmpeg-user] How to make ffmpeg keep silence in generated audio files when RTP input is paused
Iñaki Baz Castillo
ibc at aliax.net
Wed Sep 20 02:09:56 EEST 2017
On Wed, Sep 20, 2017 at 12:50 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Can I reproduce this locally without using other software?
Sure, just create a test.sdp file as follows:
------------ test.sdp ---------
v=0
o=- 22714557 1 IN IP4 127.0.0.1
s=123123
t=0 0
m=audio 1234 RTP/AVP 100
c=IN IP4 192.168.1.34
a=rtcp:9 IN IP4 0.0.0.0
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:100 opus/48000/2
-------------------------------
and run:
ffmpeg -loglevel debug -protocol_whitelist file,udp,rtp -async 1 -i
test.sdp output.wav
After some seconds the process will exit.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the ffmpeg-user
mailing list