Trying to get video/x-raw from rtsp stream

Edward Hervey bilboed at bilboed.com
Fri May 8 07:57:56 UTC 2020


Hi,

  Try removing the vaapi elements

  Edward

On Thu, 2020-05-07 at 05:10 -0400, Jim Ruxton wrote:
> I am running gstreamer in Ubuntu 19.10 and having troubles getting a
> pipeline to work.
> This pipeline :
> 
> gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video2 
> 
> works as expected and sends the videotestsrc to my /dev/video2 device
> however I want to send a rtsp stream to /dev/video2.
> 
> I have tried the following which I expected to work but it doesn't
> work.
> 
> 
> gst-launch-1.0 rtspsrc
> location=rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235d
> aa ! decodebin ! videoconvert ! video/x-
> raw,width=640,height=480,format=RGB ! v4l2sink device=/dev/video2
> 
> 
> 
> Output of the command is:
> 
> Setting pipeline to PAUSED ... Pipeline is live and does not need
> PREROLL ... Progress: (open) Opening Stream Progress: (connect)
> Connecting to
> rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa
> Progress: (open) Retrieving server options Progress: (open)
> Retrieving media info Progress: (request) SETUP stream 0 Progress:
> (open) Opened Stream     Setting pipeline to PLAYING ... New clock:
> GstSystemClock Progress: (request) Sending PLAY request Progress:
> (request) Sending PLAY request Progress: (request) Sent PLAY request
> Got context from element 'vaapipostproc0': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0"; 
> Got context from element 'vaapipostproc0': gst.vaapi.Display=context,
> gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayDRM\)\
> vaapidisplaydrm1";
> 
> 
> How can I get the same video/x-raw output format from rtspsrc as I
> did from videotestsrc? I would really appreciate any pointers. I have
> tried a bunch of things with no good results.
> Thanks,
> Jim
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list