AW: RELEASE: GStreamer VA-API Plugins 0.6.0

Bernhard Graaf bernhard.graaf at gmx.de
Thu Jul 16 10:33:49 PDT 2015


Yes, that was the issue. After installing 0.37 of libva the make runs fine.
But after tiring following pipeline I get the next failure:
gst-launch-1.0 --gst-debug=3 tcpclientsrc host="192.168.1.4" port=12000 ! vaapidecode ! vaapisink

libva info: VA-API version 0.37.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_37
libva info: va_openDriver() returns 0
Leitung wird auf PAUSIERT gesetzt ...
Leitung läuft vor …
0:00:00.084036023 24442      0x17f6540 FIXME                default gstutils.c:3643:gst_pad_create_stream_id_internal:<tcpclientsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Kontext von Element »vaapidecode0« erhalten: gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.090507289 24442      0x17f6540 WARN            videodecoder gstvideodecoder.c:2162:gst_video_decoder_chain:<vaapidecode0> Received buffer without a new-segment. Assuming timestamps start from 0.

** (gst-launch-1.0:24442): CRITICAL **: gst_vaapi_decoder_parse: assertion 'decoder != NULL' failed
0:00:00.090607004 24442      0x17f6540 ERROR            vaapidecode gstvaapidecode.c:834:gst_vaapidecode_parse_frame: parse error 11

** (gst-launch-1.0:24442): CRITICAL **: gst_vaapi_decoder_parse: assertion 'decoder != NULL' failed
0:00:00.090655431 24442      0x17f6540 ERROR            vaapidecode gstvaapidecode.c:834:gst_vaapidecode_parse_frame: parse error 11
0:00:00.090678580 24442      0x17f6540 WARN            videodecoder gstvideodecoder.c:1071:gst_video_decoder_sink_event_default:<vaapidecode0> error: No valid frames decoded before end of stream
0:00:00.090696120 24442      0x17f6540 WARN            videodecoder gstvideodecoder.c:1071:gst_video_decoder_sink_event_default:<vaapidecode0> error: no valid frames found
FEHLER: Von Element /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0: No valid frames decoded before end of stream
Zusätzliche Fehlerdiagnoseinformation:
gstvideodecoder.c(1071): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0:
no valid frames found
FEHLER: Leitung läuft nicht vor.
Leitung wird auf NULL gesetzt ...
Leitung wird geleert ...


Without using vaapi try this one:

gst-launch-1.0 tcpclientsrc host="192.168.1.4" port=12000 ! decodebin ! videoconvert ! xvimagesink
Leitung wird auf PAUSIERT gesetzt ...
Leitung läuft vor …
Fehlendes Element »Teletext-Decoder«
libva info: VA-API version 0.37.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_37
libva info: va_openDriver() returns 0
Kontext von Element »vaapidecode0« erhalten: gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Verzögerung neu verteilen …
Verzögerung neu verteilen …
Leitung ist vorgelaufen …
Leitung wird auf ABSPIELEN gesetzt ...
New clock: GstSystemClock

And it works like expected.

What is the reason of: 
gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;

Regards
Bernhard
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Víctor M. Jáquez L.
Gesendet: Donnerstag, 16. Juli 2015 11:29
An: Discussion of the development of and with GStreamer
Betreff: Re: RELEASE: GStreamer VA-API Plugins 0.6.0

On 07/15/15 at 08:13pm, Bernhard Graaf wrote:
> Hi Sreerenj,
> 
> Thank you very much!
> 
> I've used the tarball-version and got two errors during make:
> ../gst-libs/gst/vaapi/.libs/libgstvaapi-1.4.so: undefined reference to
> `vaReleaseBufferHandle'
> ../gst-libs/gst/vaapi/.libs/libgstvaapi-1.4.so: undefined reference to
> `vaAcquireBufferHandle'
> 
> So it's impossible to use.
> The ./configure runs without any issue.
> 
> I'm using gstreamer 1.4.3 on Ubuntu 14.04

which version of libva do you have?

It's strange, like if your pkg-config detects a libva>=0.36 but when the code
is linking, a lower version of libva is used.

vmjl

> 
> Thanks for helping
> Bernhard
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list