Issue to send video using RTP

Nicolas Dufresne nicolas at ndufresne.ca
Sat Mar 18 01:13:47 UTC 2017


Le vendredi 17 mars 2017 à 22:01 +0100, Damien Picard a écrit :
> gst-launch-1.0 -vvv -e v4l2src device=/dev/video0 do-timestamp=true
>  ! "image/jpeg,width=1920,height=1080" ! queue ! jpegdec !
> videoconvert ! videorate ! omxh264enc ! rtph264pay ! udpsink
> host=192.168.2.174 port=9070
> 
> This one seems to work since I can netcat its content.
> 
> I also want to retrieve this content using a gstreamer udpsrc :
> 
> gst-launch-1.0 -vvv udpsrc port=9070 caps="application/x-rtp,
> media=(string)video, clock-rate=(int)90000, encoding-
> name=(string)H264, payload=(int)96" ! rtpmp2tdepay ! decodebin !
> autovideosink
> 
> But I get this error :
> AVERTISSEMENT : pipeline erroné : impossible de connecter udpsrc0 à
> rtpmp2tdepay0

Your payloader is rtph264pay, you should use rtph264depay the. If you
really wanted MPEG TS, then use mpegtsmux ! rtpmp2tpay on the sender.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170317/89a6a4d5/attachment.sig>


More information about the gstreamer-devel mailing list