I am saving RTP dump using StartRtpDump:
http://www.webrtc.org/reference/webrtc-internals/viertp_rtcp
How to play it back?
I tried:
1) rtpplay it to a port, creating SDP and using ffplay.
ffplay would not play it (while it plays another VP8-based rtp just fine).
2) gstreamer pipeline to convert it to avi.
Here is the pipeline I am using
gst-launch -q filesrc location=$1 ! pcapparse ! "application/x-rtp, payload=116" ! rtpvp8depay ! vp8dec ! decodebin ! videorate ! videoscale ! "video/x-raw, width=320, height=240, framerate=(fraction)30/1" ! x264enc ! queue ! qtmux name=mux ! filesink location=$3
( I checked payload type, seems to be 116.
Also, as long as pcapparse expects libpcap format, I first rtpplay the dump, and grab it again using wireshark)
This pipeline works fine if I use my own rtp dump (created by a combination of ffmpeg streaming my own VP8 .webm to a port and rtpdump utility grabbing it).
But it does not work with dumps from libjingle's StartRtpDump:
I get "warning: Received invalid RTP payload, dropping", and gst-launch produces empty output.
Any comments on how to play back this rtp dump, or other way to record/re-stream video?