[FFmpeg-user] importing rtp packet stream and decoding

Dave Horton daveh at beachdognet.com
Fri Sep 15 20:49:04 EEST 2017

On Fri, Sep 15, 2017 at 1:41 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com>

> 2017-09-15 19:36 GMT+02:00 Dave Horton <daveh at beachdognet.com>:
> > Does anyone have a good recipe or example on how to import an rtp stream
> and decode it with ffmpeg.  I have both the rtp file and the associate SDP
> description of the payloads, but haven’t been able to pipe it into ffmpeg
> to have it decoded.
> Both sending and receiving opus via rtp is implemented in FFmpeg,
> what did you try?
> Carl Eugen
> _______________________________________________

I tried

 ffmpeg -loglevel debug -f rtp -c:a opus -i call2.rtpdump -ar 48000

does that look right?

I get 'Unsupported RTP version packet received' and a whole bunch of
'Received too short packet' so perhaps my data is bad.

But I am wondering where/how to give ffmpeg the sdp information so it will
now how to decode the payload types etc

More information about the ffmpeg-user mailing list