Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
916 views
in Technique[技术] by (71.8m points)

ffmpeg - Recieve audio data from RTP... filtered by port

I am having some trouble with recieving RTP stream using ffmpeg,

This is the SDP I'm using:

v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 40.123.196.251
t=0 0
a=tool:libavformat 58.29.100
m=audio 12222 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000/1

This is the ffmpeg command I'm using to write it to a wav file.

sudo ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -i test.sdp -c copy test.wav -y

Getting the file properly... But I need to filter it based on the source port... as these are different phone calls...

Pls help ??

question from:https://stackoverflow.com/questions/65670855/recieve-audio-data-from-rtp-filtered-by-port

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...