How to playback rtp dump saved using StartRtpDump?

1,421 views
Skip to first unread message

Paul Kapustin

unread,
Apr 8, 2014, 3:40:47 PM4/8/14
to discuss...@googlegroups.com
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?

Dustin Oprea

unread,
May 18, 2014, 9:51:57 PM5/18/14
to discuss...@googlegroups.com
Were you able to get this working?


Dustin
 

Paul Kapustin

unread,
May 30, 2014, 5:31:20 AM5/30/14
to discuss...@googlegroups.com
Nope...
I came somewhat further (but still not very far) with AviRecorder.

Justin Uberti

unread,
May 30, 2014, 6:48:55 PM5/30/14
to discuss-webrtc
Are you sure that the dump is unencrypted? Typically you will need to decrypt the received SRTP before you can load it up in another tool.


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages