We have been trying to play a video streaming through a RTSP server by using vaapidecode and vaapisink gstreamer elements. But the problem is pipeline constructed seems problematic and it does not work. Here is the pipeline:
*gst-launch-1.0 rtspsrc location=rtsp://192.168.1.15/media/video1?g726=rfc3551 <http://192.168.1.15/media/video1?g726=rfc3551> ! rtph264depay ! vaapidecode ! vaapisink* The error message is as follows: *gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:* *streaming task paused, reason not-linked (-1)* And moreover this is the output of the gst-launch: *libva info: VA-API version 0.35.1* *libva info: va_getDriverName() returns 0* *libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so* *libva info: Found init function __vaDriverInit_0_35* *libva info: va_openDriver() returns 0* *Setting pipeline to PAUSED ...* *Pipeline is live and does not need PREROLL ...* *Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;* *Progress: (open) Opening Stream* *Progress: (connect) Connecting to rtsp://192.168.1.15/media/video1?g726=rfc3551 <http://192.168.1.15/media/video1?g726=rfc3551>* *Progress: (open) Retrieving server options* *Progress: (open) Retrieving media info* *Progress: (request) SETUP stream 0* *Progress: (request) SETUP stream 1* *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* *ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:camera/GstUDPSrc:udpsrc3: Internal data flow error.* *Additional debug info:* *gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:camera/GstUDPSrc:udpsrc3:* *streaming task paused, reason not-linked (-1)* *Execution ended after 0:00:00.704377971* *Setting pipeline to PAUSED ...* *Setting pipeline to READY ...* We think we should place a capsfilter before decode element but it did not work too. In addition we have placed demuxer elements for an rtsp stream such as: rtpptdemux but these did not even work. We are sure, vaapidecode and vaapisink elements are working properly. For example, following pipeline decodes a 1080p movie on GPU without any problems. *gst-launch-1.0 filesrc location=/my/file/location ! qtdemux ! vaapidecode ! vaapisink* For those who think there may be a problem with RTSP content the following pipeline also works without any problems: *gst-launch-1.0 rtspsrc location=rtsp://192.168.1.15/media/video1?g726=rfc3551 <http://192.168.1.15/media/video1?g726=rfc3551> ! rtph264depay ! avdec_h264 ! xvimagesink sync=false* We are working on an Intel E3845 processor. We are on Ubuntu 14.04 LTS OS and driver version is as follows: libva-intel-vaapi-driver and version: 1.3.0-1ubuntu1. Gstreamer vaapi element's name and version is as follows: libgstreamer-vaapi1.0-0 and version: 0.5.7-0ubuntu4 Could you please help to decode an rtsp stream on GPU by using gstreamer vaapi plugins? Regards. -- *Engin FIRAT* Adoniss Yazılım Bilişim Elektronik Araştırma Geliştirme Limited Şirketi +90 506 884 82 07 (Mobile) ODTÜ Teknokent, ODTÜ-Halıcı Yazılımevi İnönü Bulvarı / ANKARA (Address)
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
