gstreamer with RTP

Overflow10 luigi.biasi91 at gmail.com
Wed Jul 15 05:54:12 PDT 2015


Hi, I'm trying to write a RTP stream to a file and read it with gstreamer.
My pipeline to convert a video test to RTP is:
gst-launch-1.0 -tv videotestsrc do-timestamp=1 ! vp8enc ! rtpvp8pay !
filesink location=/tmp/test.rtp 

in the output I have this caps:
"application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)VP8-DRAFT-IETF-01\,\ payload\=\(int\)96\,\
ssrc\=\(uint\)1427543371\,\ timestamp-offset\=\(uint\)4027906677\,\
seqnum-offset\=\(uint\)26411"

and then I read the rtp file as:
gst-launch-1.0 filesrc location=/tmp/test.rtp ! "application/x-rtp,
media=(string)video, clock-rate=(int)90000,
encoding-name=(string)VP8-DRAFT-IETF-01, payload=(int)96,
ssrc=(uint)1427543371, timestamp-offset=(uint)4027906677,
seqnum-offset=(uint)26411" !  rtpvp8depay ! vp8dec ! videoconvert !
xvimagesink

I show for millisecond the test image, but in the output I read "Received
invalid RTP payload, dropping".
What is the problem?
Thanks.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-with-RTP-tp4672677.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list