[Libva] vaapi broken in latest master git ? vaapidecode is unable to connect with vaapiencode_h264

Sreerenj sreerenj.balachandran at intel.com
Mon Sep 28 00:49:44 PDT 2015


Hi,


On 27.09.2015 03:12, janardana dasa wrote:
>
> Hi,
>
> I installed latest intel graphics for linux by following wiki on 
> ubuntu 15.04/intel baytrail (lenevo B50 touch laptop).:
>
> https://01.org/linuxgraphics/downloads/intel-graphics-installer-linux-1.2.0
>
> I am trying to execute following pipeline : (*It seems that 
> vaapidecode is unable to connect with vaapiencode_h264 .  Can anyone 
> tell me why it is failing  ? )*
>
>

How do you know the issue is "vaapidecode is unable to connect with 
vaapiencode_h264" ?? Does it  working with vaapisink?
I tried couple of local media files (decode + re-encode + flv mux) in my 
HSW machine,  can't reproduce the issue...

Anyway, move the discussion to gstreamer mailing list OR file a bug 
against gstreamer-vaapi in gnome-bugzilla if your pipeline is working 
with "vaapidecode + software_encoder(x264enc)" but not
with "vaapidecode + vaapiencode"...
Please run the pipeline with GST_DEBUG=vaapi*:4 to get a bit more debug 
log...

> **
>
> *
> *
>
> GST_DEBUG=3 gst-launch-1.0 flvmux name=mux streamable=true ! rtmpsink sync=true location="rtmp://xxxxxxx" rtspsrc location="rtsp://admin:admin@192.168.0.162:554/cam/realmonitor?channel=1&subtype=0 
> <http://admin:admin@192.168.0.162:554/cam/realmonitor?channel=1&subtype=0>"   ! rtph264depay ! queue ! h264parse ! vaapidecode ! queue ! vaapiencode_h264 rate-control=cbr tune=high-compression ! mux.
> libva info: VA-API version 0.38.0
> 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_38
> 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://admin:admin@192.168.0.162:554/cam/realmonitor?channel=1&subtype=0 
> <http://admin:admin@192.168.0.162:554/cam/realmonitor?channel=1&subtype=0>
> 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
> 0:00:00.304117302  3863 0x7fef1c03f800 FIXME                default gstutils.c:3766:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
> Progress: (request) Sending PLAY request
> Progress: (request) Sent PLAY request
> Redistribute latency...
> Redistribute latency...
> 0:00:00.709249061  3863      0x1608450 WARN                GST_PADS gstpad.c:3989:gst_pad_peer_query:<vaapidecode0:src> could not send sticky events
> 0:00:00.832054174  3863 0x7fef1c03f8f0 WARN                 basesrc gstbasesrc.c:2943:gst_base_src_loop:<udpsrc1> error: Internal data flow error.
> 0:00:00.832118375  3863 0x7fef1c03f8f0 WARN                 basesrc gstbasesrc.c:2943:gst_base_src_loop:<udpsrc1> error: streaming task paused, reason not-negotiated (-4)
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 0:00:00.528707555
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> 0:00:00.842904885  3863      0x16082d0 WARN                 rtspsrc gstrtspsrc.c:6051:gst_rtspsrc_send:<rtspsrc0> error: Got error response: 455 (Method Not Valid in This State).
> 0:00:00.843011339  3863      0x16082d0 WARN                 rtspsrc gstrtspsrc.c:8011:gst_rtspsrc_pause:<rtspsrc0> error: Could not send message. (Generic error)
> Setting pipeline to NULL ...
> Freeing pipeline ...
> janardana at janardana-Lenovo-B50-30-Touch:~/src/gstreamer/head$
>
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva

-- 
Thanks
Sree

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20150928/cb54bf54/attachment.html>


More information about the Libva mailing list