[FFmpeg-user] How to make ffmpeg keep silence in generated audio files when RTP input is paused
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Sep 20 02:41:01 EEST 2017
2017-09-20 1:09 GMT+02:00 IƱaki Baz Castillo <ibc at aliax.net>:
> 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
Thank you!
Feel free to test the patch I just sent to -devel.
Carl Eugen
More information about the ffmpeg-user
mailing list