After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746405 - Error compiling gstreamer-vaapi in Ubuntu 14.04
Error compiling gstreamer-vaapi in Ubuntu 14.04
Status: RESOLVED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks: 743569
 
 
Reported: 2015-03-18 15:34 UTC by Jorge
Modified: 2015-04-14 09:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
guard buffer export API if not available (9.13 KB, patch)
2015-03-19 13:51 UTC, Víctor Manuel Jáquez Leal
none Details | Review
guard buffer export API if not available (12.25 KB, patch)
2015-03-19 15:01 UTC, Víctor Manuel Jáquez Leal
none Details | Review
guard buffer export API if not available (12.26 KB, patch)
2015-03-21 22:56 UTC, Víctor Manuel Jáquez Leal
none Details | Review
HACK: disable vaapidecodebin at all (769 bytes, application/mbox)
2015-03-21 22:58 UTC, Víctor Manuel Jáquez Leal
  Details
guard buffer export API if not available (4.64 KB, patch)
2015-04-08 16:12 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description Jorge 2015-03-18 15:34:53 UTC
Hi,

I've just download gstreamer-vaapi master branch and I get some compiler errors.
It seems something related to libva version installed. In my Ubuntu 14.04 I have libva-dev:amd64 1.3.0-2. The compiler is gcc 4.8.2

This is the complete output I get

$ make
make  all-recursive
make[1]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi'
Making all in debian.upstream
make[2]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/debian.upstream'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/debian.upstream'
Making all in ext
make[2]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext'
Making all in libvpx
make[3]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext/libvpx'
Configuring selected codecs
  enabling vp8_decoder
Configuring for target 'x86_64-linux-gcc'
  enabling x86_64
  enabling runtime_cpu_detect
  enabling mmx
  enabling sse
  enabling sse2
  enabling sse3
  enabling ssse3
  enabling sse4_1
  enabling avx
  enabling avx2
  using yasm
  checking here for x86inc "x86_64" "yes" 
  enabling use_x86inc
  enabling postproc
Creating makefiles for x86_64-linux-gcc libs
make[4]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext/libvpx/upstream'
    [CREATE] vpx_scale_rtcd.h
    [CREATE] vp8_rtcd.h
    [DEP] third_party/x86inc/x86inc.asm.d
    [DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
    [DEP] vp8/common/x86/postproc_sse2.asm.d
    [DEP] vp8/common/x86/mfqe_sse2.asm.d
    [DEP] vp8/common/x86/postproc_mmx.asm.d
    [DEP] vp8/common/x86/sad_sse4.asm.d
    [DEP] vp8/common/x86/variance_impl_ssse3.asm.d
    [DEP] vp8/common/x86/subpixel_ssse3.asm.d
    [DEP] vp8/common/x86/sad_ssse3.asm.d
    [DEP] vp8/common/x86/sad_sse3.asm.d
    [DEP] vp8/common/x86/variance_impl_sse2.asm.d
    [DEP] vp8/common/x86/iwalsh_sse2.asm.d
    [DEP] vp8/common/x86/loopfilter_sse2.asm.d
    [DEP] vp8/common/x86/subpixel_sse2.asm.d
    [DEP] vp8/common/x86/sad_sse2.asm.d
    [DEP] vp8/common/x86/recon_sse2.asm.d
    [DEP] vp8/common/x86/idctllm_sse2.asm.d
    [DEP] vp8/common/x86/variance_impl_mmx.asm.d
    [DEP] vp8/common/x86/subpixel_mmx.asm.d
    [DEP] vp8/common/x86/sad_mmx.asm.d
    [DEP] vp8/common/x86/recon_mmx.asm.d
    [DEP] vp8/common/x86/loopfilter_mmx.asm.d
    [DEP] vp8/common/x86/iwalsh_mmx.asm.d
    [DEP] vp8/common/x86/idctllm_mmx.asm.d
    [DEP] vp8/common/x86/dequantize_mmx.asm.d
    [DEP] vpx_ports/x86_abi_support.asm.d
    [DEP] vpx_ports/emms.asm.d
    [DEP] vpx_config.c.d
    [DEP] vp8/decoder/threading.c.d
    [DEP] vp8/decoder/onyxd_if.c.d
    [DEP] vp8/decoder/detokenize.c.d
    [DEP] vp8/decoder/decodframe.c.d
    [DEP] vp8/decoder/decodemv.c.d
    [DEP] vp8/decoder/dboolhuff.c.d
    [DEP] vp8/vp8_dx_iface.c.d
    [DEP] vp8/common/x86/postproc_x86.c.d
    [DEP] vp8/common/x86/variance_ssse3.c.d
    [DEP] vp8/common/x86/variance_sse2.c.d
    [DEP] vp8/common/x86/recon_wrapper_sse2.c.d
    [DEP] vp8/common/x86/idct_blk_sse2.c.d
    [DEP] vp8/common/x86/variance_mmx.c.d
    [DEP] vp8/common/x86/idct_blk_mmx.c.d
    [DEP] vp8/common/postproc.c.d
    [DEP] vp8/common/mfqe.c.d
    [DEP] vp8/common/x86/loopfilter_x86.c.d
    [DEP] vp8/common/x86/vp8_asm_stubs.c.d
    [DEP] vp8/common/x86/filter_x86.c.d
    [DEP] vp8/common/treecoder.c.d
    [DEP] vp8/common/variance_c.c.d
    [DEP] vp8/common/swapyv12buffer.c.d
    [DEP] vp8/common/setupintrarecon.c.d
    [DEP] vp8/common/sad_c.c.d
    [DEP] vp8/common/reconintra4x4.c.d
    [DEP] vp8/common/reconintra.c.d
    [DEP] vp8/common/reconinter.c.d
    [DEP] vp8/common/quant_common.c.d
    [DEP] vp8/common/modecont.c.d
    [DEP] vp8/common/mbpitch.c.d
    [DEP] vp8/common/loopfilter_filters.c.d
    [DEP] vp8/common/loopfilter.c.d
    [DEP] vp8/common/rtcd.c.d
    [DEP] vp8/common/idctllm.c.d
    [DEP] vp8/common/idct_blk.c.d
    [DEP] vp8/common/generic/systemdependent.c.d
    [DEP] vp8/common/findnearmv.c.d
    [DEP] vp8/common/filter.c.d
    [DEP] vp8/common/extend.c.d
    [DEP] vp8/common/entropymv.c.d
    [DEP] vp8/common/entropymode.c.d
    [DEP] vp8/common/entropy.c.d
    [DEP] vp8/common/dequantize.c.d
    [DEP] vp8/common/debugmodes.c.d
    [DEP] vp8/common/blockd.c.d
    [DEP] vp8/common/alloccommon.c.d
    [DEP] vpx_ports/x86_cpuid.c.d
    [DEP] vpx_scale/vpx_scale_rtcd.c.d
    [DEP] vpx_scale/vpx_scale_asm_offsets.c.d
    [DEP] vpx_scale/generic/gen_scalers.c.d
    [DEP] vpx_scale/generic/yv12extend.c.d
    [DEP] vpx_scale/generic/yv12config.c.d
    [DEP] vpx_scale/generic/vpx_scale.c.d
    [DEP] vpx_mem/vpx_mem.c.d
    [DEP] vpx/src/vpx_image.c.d
    [DEP] vpx/src/vpx_codec.c.d
    [DEP] vpx/src/vpx_encoder.c.d
    [DEP] vpx/src/vpx_decoder.c.d
    [CC] vpx/src/vpx_decoder.c.o
    [CC] vpx/src/vpx_encoder.c.o
    [CC] vpx/src/vpx_codec.c.o
    [CC] vpx/src/vpx_image.c.o
    [CC] vpx_mem/vpx_mem.c.o
    [CC] vpx_scale/generic/vpx_scale.c.o
    [CC] vpx_scale/generic/yv12config.c.o
    [CC] vpx_scale/generic/yv12extend.c.o
    [CC] vpx_scale/generic/gen_scalers.c.o
    [CC] vpx_scale/vpx_scale_asm_offsets.c.o
    [CC] vpx_scale/vpx_scale_rtcd.c.o
    [CC] vpx_ports/x86_cpuid.c.o
    [CC] vp8/common/alloccommon.c.o
    [CC] vp8/common/blockd.c.o
    [CC] vp8/common/debugmodes.c.o
    [CC] vp8/common/dequantize.c.o
    [CC] vp8/common/entropy.c.o
    [CC] vp8/common/entropymode.c.o
    [CC] vp8/common/entropymv.c.o
    [CC] vp8/common/extend.c.o
    [CC] vp8/common/filter.c.o
    [CC] vp8/common/findnearmv.c.o
    [CC] vp8/common/generic/systemdependent.c.o
    [CC] vp8/common/idct_blk.c.o
    [CC] vp8/common/idctllm.c.o
    [CC] vp8/common/rtcd.c.o
    [CC] vp8/common/loopfilter.c.o
    [CC] vp8/common/loopfilter_filters.c.o
    [CC] vp8/common/mbpitch.c.o
    [CC] vp8/common/modecont.c.o
    [CC] vp8/common/quant_common.c.o
    [CC] vp8/common/reconinter.c.o
    [CC] vp8/common/reconintra.c.o
    [CC] vp8/common/reconintra4x4.c.o
    [CC] vp8/common/sad_c.c.o
    [CC] vp8/common/setupintrarecon.c.o
    [CC] vp8/common/swapyv12buffer.c.o
    [CC] vp8/common/variance_c.c.o
    [CC] vp8/common/treecoder.c.o
    [CC] vp8/common/x86/filter_x86.c.o
    [CC] vp8/common/x86/vp8_asm_stubs.c.o
    [CC] vp8/common/x86/loopfilter_x86.c.o
    [CC] vp8/common/mfqe.c.o
    [CC] vp8/common/postproc.c.o
    [CC] vp8/common/x86/idct_blk_mmx.c.o
    [CC] vp8/common/x86/variance_mmx.c.o
    [CC] vp8/common/x86/idct_blk_sse2.c.o
    [CC] vp8/common/x86/recon_wrapper_sse2.c.o
    [CC] vp8/common/x86/variance_sse2.c.o
    [CC] vp8/common/x86/variance_ssse3.c.o
    [CC] vp8/common/x86/postproc_x86.c.o
    [CC] vp8/vp8_dx_iface.c.o
    [CC] vp8/decoder/dboolhuff.c.o
    [CC] vp8/decoder/decodemv.c.o
    [CC] vp8/decoder/decodframe.c.o
    [CC] vp8/decoder/detokenize.c.o
    [CC] vp8/decoder/onyxd_if.c.o
    [CC] vp8/decoder/threading.c.o
    [CC] vpx_config.c.o
    [AS] vpx_ports/emms.asm.o
    [AS] vpx_ports/x86_abi_support.asm.o
    [AS] vp8/common/x86/dequantize_mmx.asm.o
    [AS] vp8/common/x86/idctllm_mmx.asm.o
    [AS] vp8/common/x86/iwalsh_mmx.asm.o
    [AS] vp8/common/x86/loopfilter_mmx.asm.o
    [AS] vp8/common/x86/recon_mmx.asm.o
    [AS] vp8/common/x86/sad_mmx.asm.o
    [AS] vp8/common/x86/subpixel_mmx.asm.o
    [AS] vp8/common/x86/variance_impl_mmx.asm.o
    [AS] vp8/common/x86/idctllm_sse2.asm.o
    [AS] vp8/common/x86/recon_sse2.asm.o
    [AS] vp8/common/x86/sad_sse2.asm.o
    [AS] vp8/common/x86/subpixel_sse2.asm.o
    [AS] vp8/common/x86/loopfilter_sse2.asm.o
    [AS] vp8/common/x86/iwalsh_sse2.asm.o
    [AS] vp8/common/x86/variance_impl_sse2.asm.o
    [AS] vp8/common/x86/sad_sse3.asm.o
    [AS] vp8/common/x86/sad_ssse3.asm.o
    [AS] vp8/common/x86/subpixel_ssse3.asm.o
    [AS] vp8/common/x86/variance_impl_ssse3.asm.o
    [AS] vp8/common/x86/sad_sse4.asm.o
    [AS] vp8/common/x86/postproc_mmx.asm.o
    [AS] vp8/common/x86/mfqe_sse2.asm.o
    [AS] vp8/common/x86/postproc_sse2.asm.o
    [AS] vp8/common/x86/loopfilter_block_sse2.asm.o
    [AS] third_party/x86inc/x86inc.asm.o
    [AR] libvpx_g.a
    [CP] libvpx.a < libvpx_g.a
    [CREATE] vpx.pc
make[4]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext/libvpx/upstream'
  CC       libgstcodecparsers_vpx_la-gstlibvpx.lo
  GEN      libgstcodecparsers_vpx.la
make[3]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext/libvpx'
make[3]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext'
make[2]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/ext'
Making all in gst-libs
make[2]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs'
Making all in gst
make[3]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst'
Making all in base
make[4]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/base'
  CC       libgstvaapi_baseutils_la-gstbitwriter.lo
  CCLD     libgstvaapi-baseutils.la
make[4]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/base'
Making all in codecparsers
make[4]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/codecparsers'
  CC       libgstvaapi_codecparsers_la-parserutils.lo
  CC       libgstvaapi_codecparsers_la-nalutils.lo
  CC       libgstvaapi_codecparsers_la-gstvc1parser.lo
ln -s -f ../../../ext/codecparsers/gst-libs/gst/codecparsers/gstmpeg4parser.c gstmpeg4parser.c
  CC       libgstvaapi_codecparsers_la-gstmpeg4parser.lo
ln -s -f ../../../ext/codecparsers/gst-libs/gst/codecparsers/gstjpegparser.c gstjpegparser.c
  CC       libgstvaapi_codecparsers_la-gstjpegparser.lo
  CC       libgstvaapi_codecparsers_la-gstmpegvideoparser.lo
ln -s -f ../../../ext/codecparsers/gst-libs/gst/codecparsers/gsth264parser.c gsth264parser.c
  CC       libgstvaapi_codecparsers_la-gsth264parser.lo
  CC       libgstvaapi_codecparsers_la-gstvp8parser.lo
  CC       libgstvaapi_codecparsers_la-gstvaapilibvpx.lo
  CCLD     libgstvaapi-codecparsers.la
make[4]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/codecparsers'
Making all in video
make[4]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/video'
  CCLD     libgstvaapi-videoutils.la
make[4]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/video'
Making all in vaapi
make[4]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/vaapi'
  GEN      gstvaapiversion.h
make  all-am
make[5]: Entering directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/vaapi'
  CC       libgstvaapi_1.4_la-gstvaapibufferproxy.lo
In file included from gstvaapibufferproxy.c:27:0:
gstvaapibufferproxy_priv.h:71:3: error: unknown type name 'VABufferInfo'
   VABufferInfo          va_info;
   ^
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_acquire_handle':
gstvaapibufferproxy.c:80:40: error: request for member 'mem_type' in something not a structure or union
   const guint mem_type = proxy->va_info.mem_type;
                                        ^
gstvaapibufferproxy.c:83:21: error: request for member 'handle' in something not a structure or union
   if (proxy->va_info.handle)
                     ^
gstvaapibufferproxy.c:95:21: error: request for member 'mem_type' in something not a structure or union
   if (proxy->va_info.mem_type != mem_type)
                     ^
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_release_handle':
gstvaapibufferproxy.c:105:22: error: request for member 'handle' in something not a structure or union
   if (!proxy->va_info.handle)
                      ^
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_new':
gstvaapibufferproxy.c:161:17: error: request for member 'handle' in something not a structure or union
   proxy->va_info.handle = handle;
                 ^
gstvaapibufferproxy.c:162:17: error: request for member 'type' in something not a structure or union
   proxy->va_info.type = VAImageBufferType;
                 ^
gstvaapibufferproxy.c:163:17: error: request for member 'mem_type' in something not a structure or union
   proxy->va_info.mem_type = from_GstVaapiBufferMemoryType (proxy->type);
                 ^
gstvaapibufferproxy.c:164:17: error: request for member 'mem_size' in something not a structure or union
   proxy->va_info.mem_size = size;
                 ^
gstvaapibufferproxy.c:165:22: error: request for member 'mem_type' in something not a structure or union
   if (!proxy->va_info.mem_type)
                      ^
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_new_from_object':
gstvaapibufferproxy.c:195:17: error: request for member 'mem_type' in something not a structure or union
   proxy->va_info.mem_type = from_GstVaapiBufferMemoryType (proxy->type);
                 ^
gstvaapibufferproxy.c:196:22: error: request for member 'mem_type' in something not a structure or union
   if (!proxy->va_info.mem_type)
                      ^
In file included from gstvaapibufferproxy.c:27:0:
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_get_handle':
gstvaapibufferproxy_priv.h:50:41: error: request for member 'handle' in something not a structure or union
   (GST_VAAPI_BUFFER_PROXY (buf)->va_info.handle)
                                         ^
gstvaapibufferproxy.c:291:10: note: in expansion of macro 'GST_VAAPI_BUFFER_PROXY_HANDLE'
   return GST_VAAPI_BUFFER_PROXY_HANDLE (proxy);
          ^
gstvaapibufferproxy.c: In function 'gst_vaapi_buffer_proxy_get_size':
gstvaapibufferproxy_priv.h:60:41: error: request for member 'mem_size' in something not a structure or union
   (GST_VAAPI_BUFFER_PROXY (buf)->va_info.mem_size)
                                         ^
gstvaapibufferproxy.c:307:10: note: in expansion of macro 'GST_VAAPI_BUFFER_PROXY_SIZE'
   return GST_VAAPI_BUFFER_PROXY_SIZE (proxy);
          ^
make[5]: *** [libgstvaapi_1.4_la-gstvaapibufferproxy.lo] Error 1
make[5]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/vaapi'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst/vaapi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/gstreamer-vaapi-master/gstreamer-vaapi'
make: *** [all] Error 2
Comment 1 Jorge 2015-03-18 15:37:35 UTC
The configure output is:

$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1122' is supported by ustar format... yes
checking whether GID '1008' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for git... /usr/bin/git
checking for yasm... /usr/bin/yasm
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for tan in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for GLIB... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for GStreamer API version... 1.4
checking for GST... yes
checking for GST_BASE... yes
checking for GstBaseSink::query hook... yes
checking for GST_PLUGINS_BASE... yes
checking for GST_ALLOCATORS... yes
checking for GST_VIDEO... yes
checking for GstVideoOverlayComposition... yes
checking ... with advanced format flags... yes
checking for MPEG-2 parser... (cached) no
checking for H.264 parser... (cached) no
checking for JPEG parser... (cached) no
checking for VP8 parser... (cached) no
checking for GST_GL... yes
checking for GStreamer OpenGL helper libraries... checking gst/gl/gl.h usability... yes
checking gst/gl/gl.h presence... yes
checking for gst/gl/gl.h... yes
yes
checking for GStreamer plugins directory... /usr/local/lib/gstreamer-1.0
checking for DRM... yes
checking for UDEV... yes
checking drm_fourcc.h usability... yes
checking drm_fourcc.h presence... yes
checking for drm_fourcc.h... yes
checking for X11... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking X11/Xatom.h usability... yes
checking X11/Xatom.h presence... yes
checking for X11/Xatom.h... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for XRANDR... yes
checking X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking for XRENDER... yes
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for GL... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GLES2... yes
checking for GLES2/gl2.h... yes
checking for GLES2/gl2ext.h... yes
checking for GLES3... yes
checking for GLES3/gl3.h... yes
checking for GLES3/gl3ext.h... yes
checking for GLES2/gl2ext.h... (cached) yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for EGL... yes
checking EGL/egl.h usability... yes
checking EGL/egl.h presence... yes
checking for EGL/egl.h... yes
checking for eglGetDisplay in -lEGL... yes
checking for WAYLAND... yes
checking wayland-client.h usability... yes
checking wayland-client.h presence... yes
checking for wayland-client.h... yes
checking for LIBVA... yes
checking for LIBVA_DRM... yes
checking va/va_drm.h usability... yes
checking va/va_drm.h presence... yes
checking for va/va_drm.h... yes
checking for LIBVA_X11... yes
checking for va/va_dec_jpeg.h... yes
checking for JPEG decoding API... yes
checking for va/va_dec_vp8.h... yes
checking for VP8 decoding API... yes
checking for video post-postprocessing API... yes
checking for LIBVA... yes
checking for va/va_enc_mpeg2.h... yes
checking for va/va_enc_h264.h... yes
checking for va/va_enc_jpeg.h... no
checking for JPEG encoding API... no
checking for va/va_enc_vp8.h... no
checking for VP8 encoding API... no
checking for LIBVA_WAYLAND... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian.upstream/Makefile
config.status: creating debian.upstream/changelog
config.status: creating debian.upstream/control
config.status: creating debian.upstream/gstreamer1.4-vaapi-doc.install
config.status: creating debian.upstream/gstreamer1.4-vaapi.install
config.status: creating debian.upstream/libgstvaapi1.0-dev.install
config.status: creating debian.upstream/libgstvaapi1.install
config.status: creating debian.upstream/libgstvaapi-drm-1.install
config.status: creating debian.upstream/libgstvaapi-glx-1.install
config.status: creating debian.upstream/libgstvaapi-wayland-1.install
config.status: creating debian.upstream/libgstvaapi-x11-1.install
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/libs/Makefile
config.status: creating docs/reference/libs/libs-docs.xml
config.status: creating docs/reference/plugins/Makefile
config.status: creating docs/reference/plugins/plugins-docs.xml
config.status: creating ext/Makefile
config.status: creating ext/libvpx/Makefile
config.status: creating gst-libs/Makefile
config.status: creating gst-libs/gst/Makefile
config.status: creating gst-libs/gst/base/Makefile
config.status: creating gst-libs/gst/codecparsers/Makefile
config.status: creating gst-libs/gst/vaapi/Makefile
config.status: creating gst-libs/gst/video/Makefile
config.status: creating gst/Makefile
config.status: creating gst/vaapi/Makefile
config.status: creating patches/Makefile
config.status: creating patches/videoparsers/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/gstreamer-vaapi-1.0.pc
config.status: creating pkgconfig/gstreamer-vaapi-drm-1.0.pc
config.status: creating pkgconfig/gstreamer-vaapi-glx-1.0.pc
config.status: creating pkgconfig/gstreamer-vaapi-wayland-1.0.pc
config.status: creating pkgconfig/gstreamer-vaapi-x11-1.0.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

gstreamer-vaapi configuration summary:

Installation Prefix .............. : /usr/local
GStreamer API version ............ : 1.4
VA-API version ................... : 0.35.0
Video encoding ................... : yes
Video outputs .................... : drm x11 glx egl wayland
Comment 2 sreerenj 2015-03-18 15:40:41 UTC
It seems that we are missing proper safe guard against VA-API-0.35 ...
Victor, could you please have a look?
Comment 3 sreerenj 2015-03-18 15:43:09 UTC
(In reply to sreerenj from comment #2)
> It seems that we are missing proper safe guard against VA-API-0.35 ...
> Victor, could you please have a look?

If I remember correctly , VABufferInfo has been introduced in VA-API-0.36...
Comment 4 Víctor Manuel Jáquez Leal 2015-03-18 19:04:34 UTC
(In reply to sreerenj from comment #3)
> (In reply to sreerenj from comment #2)
> > It seems that we are missing proper safe guard against VA-API-0.35 ...
> > Victor, could you please have a look?
> 
> If I remember correctly , VABufferInfo has been introduced in VA-API-0.36...

I confirm: it was introduced in VA-API 0.36.
Comment 5 Víctor Manuel Jáquez Leal 2015-03-18 19:42:05 UTC
The gst_vaapi_surface_new_with_{dma,gem}_buf_handle calls are more entwined than I expected. I almost feel leaned to demand VA-API 0.36 in configure.ac
Comment 6 sreerenj 2015-03-18 21:56:58 UTC
We are supporting all versions starting from 0.30.4, so I won't prefer to lift the minimum required version to 0.36.0...We have version checks for different features in configure.ac. (Eg: minimum VA version required for drm is 0.33,  va_api_drm_version =0.33.0)..

This VABufferinfo is needed for dma_buf support, right? May be it is good to add proper build options in configure.ac, so that to not build the dma_buf support(and what ever which requires vaAcquireBufferHandle) for older versions (and corresponding version checks in source files too).
Comment 7 Víctor Manuel Jáquez Leal 2015-03-19 13:51:52 UTC
Created attachment 299824 [details] [review]
guard buffer export API if not available

The support for buffer exports in VA-API was added in version 0.36. These
interfaces are for interop with EGL, OpenCL, etc.

GStreamer-VAAPI uses it for a dmabuf memory allocator. Though, gstreamer-vaapi
has to support VA-API versions ranging from 0.30.4, which doesn't support it.

This patch guards all the buffer exports handling (and dmabuf allocator) if
the detected VA-API version is below 0.36.
Comment 8 Víctor Manuel Jáquez Leal 2015-03-19 13:54:27 UTC
I have to say, I hate this patch. From my point of view, if we are going to keep supporting VA-API bellow 0.36 we need to refactor all the dmabuf handling in gstreamer-vaapi
Comment 9 Jorge 2015-03-19 14:29:39 UTC
After applying the patch and running autogen.sh again, I get the same error. The gst-libs/gst/vaapi/Makefile must be modified to avoid compiling gstvaapibufferproxy.c, gstvaapisurface_drm.c, gstvaapisurface_egl.c, etc... Or am I missing something?
Comment 10 Víctor Manuel Jáquez Leal 2015-03-19 14:53:59 UTC
(In reply to Jorge from comment #9)
> After applying the patch and running autogen.sh again, I get the same error.
> The gst-libs/gst/vaapi/Makefile must be modified to avoid compiling
> gstvaapibufferproxy.c, gstvaapisurface_drm.c, gstvaapisurface_egl.c, etc...
> Or am I missing something?

Did you clean the files. If you're using a cloned repo, you can use 

git clean -dfx

Otherwise a make distclean could make the work.

The Makefile is auto-generated given the changes in Makefile.am.
Comment 11 Víctor Manuel Jáquez Leal 2015-03-19 15:00:13 UTC
grrrr... 

I forgot to squash the previous patch. Let me upload it again. Sorry for the noise.
Comment 12 Víctor Manuel Jáquez Leal 2015-03-19 15:01:12 UTC
Created attachment 299835 [details] [review]
guard buffer export API if not available

The support for buffer exports in VA-API was added in version 0.36. These
interfaces are for interop with EGL, OpenCL, etc.

GStreamer-VAAPI uses it for a dmabuf memory allocator. Though, gstreamer-vaapi
has to support VA-API versions ranging from 0.30.4, which doesn't support it.

This patch guards all the buffer exports handling (and dmabuf allocator) if
the detected VA-API version is below 0.36.
Comment 13 Jorge 2015-03-19 15:27:33 UTC
Hi Victor,

I can confirm you that the last patch makes it compile!
Comment 14 Jorge 2015-03-19 15:42:38 UTC
With this new patched version, the old pipeline don't work.

$ gst-launch-1.0 filesrc location=video1.avi ! avidemux ! vaapidecode ! vaapisink
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
ERROR: from element /GstPipeline:pipeline0/GstAviDemux:avidemux0: Internal data stream error.
Additional debug info:
gstavidemux.c(5678): gst_avi_demux_loop (): /GstPipeline:pipeline0/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 15 Víctor Manuel Jáquez Leal 2015-03-19 16:01:49 UTC
(In reply to Jorge from comment #14)
> With this new patched version, the old pipeline don't work.

Could you run it with --gst-debug="vaapi*:5" and paste the log?
Comment 16 Jorge 2015-03-19 16:22:02 UTC
Yes, sure

$ export GST_DEBUG=vaapi*:5

$ gst-launch-1.0 playbin uri=file:///home/jorge/develop/harware/videos/big_buck_bunny_1080p_surround.avi video-sink=glimagesink flags=0x17
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.050270611  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `context'
0:00:00.050366338  4557 0x7f4c94014280 INFO                   vaapi gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.5.10-64-g71d91c7
0:00:00.126727900  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:800:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
Missing element: AC-3 (ATSC A/52) decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/x-ac3, framed=(boolean)true, rate=(int)48000, channels=(int)6, alignment=(string)frame'.
Additional debug info:
gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
libva info: va_openDriver() returns 0
0:00:00.160274632  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:940:gst_vaapi_display_create_unlocked: VA-API version 0.35
0:00:00.160389062  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:537:ensure_profiles: 9 profiles
0:00:00.160423936  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Simple
Got context from element 'vaapidecode': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.160454998  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Main
0:00:00.160481548  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4Simple
0:00:00.160508597  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4AdvancedSimple
0:00:00.160532686  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264Main
0:00:00.160549536  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264High
0:00:00.160564658  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Simple
0:00:00.160579942  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Main
0:00:00.160595302  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Advanced
0:00:00.160618932  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaQueryEntrypoints() [VAProfileNone]: the requested VAProfile is not supported
0:00:00.160960274  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `context'
0:00:00.161054536  4557 0x7f4c94014280 INFO             vaapidecode gstvaapipluginbase.c:75:plugin_set_display:<vaapidecode> set display 0x14565d0
0:00:00.161198453  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.161380270  4557 0x7f4c94014280 DEBUG            vaapidecode gstvaapidecode.c:1050:gst_vaapidecode_src_query:<vaapidecode> sharing display 0x14565d0
0:00:00.161411996  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipluginbase.c:75:plugin_set_display:<vaapipostproc> set display 0x14565d0
0:00:00.162647306  4557 0x7f4c94014280 DEBUG            vaapidecode gstvaapipluginbase.c:522:ensure_sinkpad_buffer_pool: assume video buffer pool format is NV12
0:00:00.162733247  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1920x1080
0:00:00.162768557  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:713:ensure_image_formats: 4 image formats
0:00:00.162786074  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   NV12
0:00:00.162803448  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   YV12
0:00:00.162819917  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   I420
0:00:00.162836477  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   BGRA
0:00:00.162874698  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.162896999  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.163067853  4557 0x7f4c94014280 WARN                   vaapi gstvaapidecoder_mpeg4.c:835:decode_packet: unexpected marker: (GST_MPEG4_VIDEO_OBJ_FIRST, GST_MPEG4_VIDEO_OBJ_LAST)
0:00:00.163181401  4557 0x7f4c94014280 DEBUG            vaapidecode gstvaapidecode.c:406:gst_vaapidecode_handle_frame:<vaapidecode> activating the decoder
0:00:00.163202197  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.164245026  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 64x64, chroma type 0x1
0:00:00.164579888  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.164595230  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format NV12, size 64x64
0:00:00.164612165  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.164631825  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.164640745  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format YV12, size 64x64
0:00:00.164650039  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.164665900  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.164674296  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 64x64
0:00:00.164683067  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.164698938  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.164707256  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format BGRA, size 64x64
0:00:00.164717714  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.164726490  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaPutImage(): operation failed
0:00:00.164734764  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.164755248  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.166009419  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `accept-caps'
0:00:00.166026398  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.166699311  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.167736024  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `accept-caps'
0:00:00.167794631  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.169702905  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.172909531  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.174965587  4557 0x7f4c8c003630 DEBUG            vaapidecode gstvaapidecode.c:1050:gst_vaapidecode_src_query:<vaapidecode> sharing display 0x14565d0
0:00:00.175002783  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipluginbase.c:75:plugin_set_display:<vaapipostproc> set display 0x14565d0
0:00:00.175088582  4557 0x7f4c8c003630 INFO             vaapiupload gstvaapiuploader.c:241:ensure_surface_pool: use implicit conversion of I420 buffers to NV12 surfaces
0:00:00.175106233  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1920x1080
0:00:00.175136931  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.175150469  4557 0x7f4c8c003630 INFO             vaapiupload gstvaapiuploader.c:382:gst_vaapi_uploader_ensure_caps: direct-rendering: level 1
0:00:00.175216643  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.175871126  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.175889320  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaDeriveImage(): operation failed
0:00:00.175901586  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.176092961  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1920x1080
0:00:00.176118632  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.176132240  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.176485919  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.177151060  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
0:00:00.324610392  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.334602168  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipluginbase.c:757:gst_vaapi_plugin_base_decide_allocation:<vaapipostproc> no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.334668085  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x7
0:00:00.334689111  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaCreateSurfaces(): the requested RT Format is not supported
0:00:00.334705419  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0xffffffff
0:00:00.334719840  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format RGBA, size 1920x1080
0:00:00.334743412  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:759:ensure_subpicture_formats: 6 subpicture formats
0:00:00.334756704  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   AI44
0:00:00.334769368  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   IA44
0:00:00.334782278  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   AI88
0:00:00.334794569  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   IA88
0:00:00.334807124  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   BGRA
0:00:00.334819869  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   RGBA
0:00:00.334835563  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format AI44
0:00:00.334848636  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format IA44
0:00:00.334860702  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format AI88
0:00:00.334872572  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format IA88
0:00:00.334906935  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.334923350  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.335000839  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `allocation'
0:00:00.335123318  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.347491994  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 64x64, chroma type 0x1
0:00:00.347975664  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.347997740  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format NV12, size 64x64
0:00:00.348016077  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.348041525  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.348054324  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format YV12, size 64x64
0:00:00.348067269  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.348089619  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.348101474  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 64x64
0:00:00.348113902  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.348134667  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.348146259  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format BGRA, size 64x64
0:00:00.348162558  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.348175157  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaPutImage(): operation failed
0:00:00.348187325  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.348212842  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.348675061  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:438:decode_gop: GOP 00:00:00 (closed_gop 1, broken_link 0)
0:00:00.348705948  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:196:ensure_context: profile changed
0:00:00.348717929  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:215:ensure_context: size changed
0:00:00.348733502  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.349237287  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.349255797  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.349455334  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000001
0:00:00.349472254  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.349905838  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000002
0:00:00.349922391  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.350356981  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000003
0:00:00.350373384  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.350807737  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000004
0:00:00.350824398  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x1
0:00:00.351259196  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000005
0:00:00.351281786  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapicontext.c:289:context_create: context 0x02000000
0:00:00.351298267  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c8c0bc024, 22442 bytes)
0:00:00.351323180  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000000
0:00:00.377763131  4557 0x7f4c94014280 DEBUG            vaapidecode gstvaapidecode.c:406:gst_vaapidecode_handle_frame:<vaapidecode> activating the decoder
0:00:00.377843376  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.390049826  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `allocation'
0:00:00.390136127  4557 0x7f4c94014280 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.397879549  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 0 (surface 0x03000000)
0:00:00.397912342  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c94020e96, 1021 bytes)
0:00:00.397938290  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000001
0:00:00.397980734  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 0 (surface 0x03000000)
0:00:00.398105228  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 1 (surface 0x03000001)
0:00:00.398124218  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c94021346, 1021 bytes)
0:00:00.398140819  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000002
0:00:00.398169020  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 1 (surface 0x03000001)
0:00:00.398257316  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 2 (surface 0x03000002)
0:00:00.398281628  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c9402c9f6, 1245 bytes)
0:00:00.398298442  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000003
0:00:00.398324489  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 2 (surface 0x03000002)
0:00:00.398438301  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:438:decode_gop: GOP 00:00:00 (closed_gop 1, broken_link 0)
0:00:00.398462400  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:215:ensure_context: size changed
0:00:00.398540961  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 3 (surface 0x03000003)
0:00:00.398559069  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c8c0b4054, 22578 bytes)
0:00:00.398578393  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000004
0:00:00.398606690  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 3 (surface 0x03000003)
0:00:00.398706452  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:438:decode_gop: GOP 00:00:00 (closed_gop 1, broken_link 0)
0:00:00.398724869  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:215:ensure_context: size changed
0:00:00.398740679  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 4 (surface 0x03000004)
0:00:00.398757329  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c8c004824, 22535 bytes)
0:00:00.398785542  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000005
0:00:00.407396697  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.412644766  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 4 (surface 0x03000004)
0:00:00.414950263  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipostproc.c:1344:gst_vaapipostproc_query:<vaapipostproc> query type `caps'
0:00:00.421726736  4557 0x7f4c8c003630 INFO           vaapipostproc gstvaapipluginbase.c:757:gst_vaapi_plugin_base_decide_allocation:<vaapipostproc> no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.421799145  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 1920x1080, chroma type 0x7
0:00:00.421815989  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaCreateSurfaces(): the requested RT Format is not supported
0:00:00.421825637  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0xffffffff
0:00:00.421835762  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format RGBA, size 1920x1080
0:00:00.421868519  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.421880245  4557 0x7f4c8c003630 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.481209151  4557 0x7f4c7c34c990 ERROR                  vaapi gstvaapitexture_glx.c:153:create_objects: failed to create FBO
0:00:00.482202163  4557 0x7f4c7c34c720 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format RGBA, size 1920x1080
0:00:00.482280001  4557 0x7f4c7c34c720 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.482308087  4557 0x7f4c7c34c720 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaGetImage(): unknown libva error
0:00:00.482327510  4557 0x7f4c7c34c720 ERROR       vaapivideomemory gstvaapivideomemory.c:261:gst_video_meta_map_vaapi_memory: failed to make image current
0:00:00.482463166  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:438:decode_gop: GOP 00:00:00 (closed_gop 1, broken_link 0)
0:00:00.482531547  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:215:ensure_context: size changed
ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0: Failed to upload buffer
0:00:00.482578225  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 5 (surface 0x03000005)
Additional debug info:
gstglimagesink.c(777): gst_glimage_sink_prepare (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0
0:00:00.482623269  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_mpeg4.c:778:decode_slice: decoder silce: 0x7f4c8c0b3044, 22568 bytes)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.482699726  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000000
0:00:00.482775013  4557 0x7f4c94014280 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 5 (surface 0x03000005)
0:00:00.482831057  4557 0x7f4c94014280 ERROR            vaapidecode gstvaapidecode.c:359:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error: error [-5])
0:00:00.482875971  4557 0x7f4c94014280 ERROR            vaapidecode gstvaapidecode.c:447:gst_vaapidecode_handle_frame: push loop error after decoding -5
0:00:00.483850403  4557      0x1576f30 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.483938732  4557      0x1576f30 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.517331416  4557      0x1576f30 DEBUG                  vaapi gstvaapicontext.c:88:context_destroy: context 0x02000000
0:00:00.548510411  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000004
0:00:00.548606914  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000001
0:00:00.548675551  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000002
0:00:00.548740745  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000003
0:00:00.548805742  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.548871713  4557      0x1576f30 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000005
Freeing pipeline ...
Comment 17 Jorge 2015-03-19 16:23:39 UTC
And the second one, only using vaapi elements.

$ gst-launch-1.0 filesrc location=video1.avi ! avidemux ! vaapidecode ! vaapisink
0:00:00.036950030  4572      0x1699ad0 INFO                   vaapi gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.5.10-64-g71d91c7
0:00:00.112363952  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:800:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
0:00:00.144473656  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:940:gst_vaapi_display_create_unlocked: VA-API version 0.35
0:00:00.144535324  4572      0x1699ad0 INFO               vaapisink gstvaapisink.c:1189:gst_vaapisink_display_changed: created VA/X11 display 0x157b0f0
0:00:00.144558641  4572      0x1699ad0 DEBUG              vaapisink gstvaapisink.c:1197:gst_vaapisink_display_changed: use texture rendering mode
0:00:00.144575125  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:626:ensure_properties: 6 display attributes
0:00:00.144588122  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   <unknown>
0:00:00.144602355  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   VADisplayAttribBrightness
0:00:00.144616802  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   VADisplayAttribContrast
0:00:00.144629600  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   VADisplayAttribHue
0:00:00.144643036  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   VADisplayAttribSaturation
0:00:00.144656206  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:632:ensure_properties:   VADisplayAttribBackgroundColor
0:00:00.220370924  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:800:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
0:00:00.220432905  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:537:ensure_profiles: 9 profiles
0:00:00.220450479  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Simple
0:00:00.220464403  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Main
0:00:00.220475468  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4Simple
0:00:00.220483333  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4AdvancedSimple
0:00:00.220491567  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264Main
0:00:00.220499332  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264High
0:00:00.220506891  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Simple
0:00:00.220514550  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Main
0:00:00.220522118  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Advanced
0:00:00.220534499  4572      0x1699ad0 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaQueryEntrypoints() [VAProfileNone]: the requested VAProfile is not supported
0:00:00.220744082  4572      0x1699ad0 INFO               vaapisink gstvaapisink.c:1487:gst_vaapisink_query:<vaapisink0> query type caps
0:00:00.220807686  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:713:ensure_image_formats: 4 image formats
0:00:00.220823307  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   NV12
0:00:00.220838208  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   YV12
0:00:00.220852195  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   I420
0:00:00.220865709  4572      0x1699ad0 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   BGRA
0:00:00.220887064  4572      0x1699ad0 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 64x64, chroma type 0x1
0:00:00.221346538  4572      0x1699ad0 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.221370673  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format NV12, size 64x64
0:00:00.221392832  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.221417508  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.221432136  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format YV12, size 64x64
0:00:00.221449222  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.221471840  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.221485623  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 64x64
0:00:00.221501434  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.221523692  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.221538102  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format BGRA, size 64x64
0:00:00.221551211  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.221562686  4572      0x1699ad0 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaPutImage(): operation failed
0:00:00.221574684  4572      0x1699ad0 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.221602952  4572      0x1699ad0 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.223322986  4572      0x1699ad0 INFO               vaapisink gstvaapisink.c:1487:gst_vaapisink_query:<vaapisink0> query type caps
Setting pipeline to PAUSED ...
0:00:00.223477064  4572      0x1699ad0 INFO               vaapisink gstvaapisink.c:1487:gst_vaapisink_query:<vaapisink0> query type context
0:00:00.223496524  4572      0x1699ad0 DEBUG              vaapisink gstvaapisink.c:1490:gst_vaapisink_query: sharing display 0x157b0f0
0:00:00.223512252  4572      0x1699ad0 INFO             vaapidecode gstvaapipluginbase.c:75:plugin_set_display:<vaapidecode0> set display 0x157b0f0
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
ERROR: from element /GstPipeline:pipeline0/GstAviDemux:avidemux0: Internal data stream error.
Additional debug info:
gstavidemux.c(5678): gst_avi_demux_loop (): /GstPipeline:pipeline0/GstAviDemux:avidemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 18 Víctor Manuel Jáquez Leal 2015-03-19 16:41:07 UTC
It looks like if your hardware doesn't support mpeg4 decoding.

Could you sent me your output of `vainfo` ?

Can you try with a h264 video encoded media?
Comment 19 Víctor Manuel Jáquez Leal 2015-03-19 16:47:17 UTC
My bad, your hardware supports VAProfileMPEG4Simple and 
VAProfileMPEG4AdvancedSimple

Does you media is one of those types?

What does the `gst-discoverer-1.0` say?
Comment 20 Jorge 2015-03-20 06:41:51 UTC
These media files are played ok with the 0.5.9 version. The info
you ask me:

$ gst-discoverer-1.0 file:///home/jorge/develop/harware/videos/big_buck_bunny_1080p_surround.avi
Analyzing file:///home/jorge/develop/harware/videos/big_buck_bunny_1080p_surround.avi
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Done discovering file:///home/jorge/develop/harware/videos/big_buck_bunny_1080p_surround.avi
Missing plugins

Topology:
  container: Audio Video Interleave (AVI)
    audio: AC-3 (ATSC A/52)
      audio: AC-3 (ATSC A/52)
    video: MPEG-4 Video

Properties:
  Duration: 0:09:56.457379000
  Seekable: yes
  Tags: 
      encoder: AVI-Mux GUI 1.17.7, Aug  8 2006  20:59:17
      container format: AVI
      video codec: MPEG-4 Video



$ gst-discoverer-1.0 file:///home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/render/sdl/video1.avi 
Analyzing file:///home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/render/sdl/video1.avi
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Done discovering file:///home/jorge/develop/nueva_arq/multimedia-vaapi/gstreamer1.0/render/sdl/video1.avi

Topology:
  container: Audio Video Interleave (AVI)
    video: MPEG-2 Video

Properties:
  Duration: 0:00:17.017000000
  Seekable: yes
  Tags: 
      encoder: Lavf52.32.0
      container format: AVI
      video codec: MPEG-2 Video
Comment 21 Jorge 2015-03-20 06:47:24 UTC
The same debug log running the second pipeline with only vaapi elements with the 0.5.9 version playing the video ok, I get:

$ export GST_DEBUG=vaapi*:5
$ gst-launch-1.0 filesrc location=video1.avi ! avidemux ! vaapidecode ! vaapisink
0:00:00.028399858  9383       0xb7e270 INFO                   vaapi gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.5.8-163-g49870b5
0:00:00.105042334  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:791:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
0:00:00.126721987  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:929:gst_vaapi_display_create_unlocked: VA-API version 0.35
0:00:00.126820016  9383       0xb7e270 INFO               vaapisink gstvaapisink.c:317:gst_vaapisink_display_changed: created VA/GLX display 0xa261b0
0:00:00.126867864  9383       0xb7e270 DEBUG              vaapisink gstvaapisink.c:323:gst_vaapisink_display_changed: use overlay rendering mode
0:00:00.126903506  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:617:ensure_properties: 6 display attributes
0:00:00.126935424  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   <unknown>
0:00:00.126965456  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   VADisplayAttribBrightness
0:00:00.126997529  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   VADisplayAttribContrast
0:00:00.127026782  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   VADisplayAttribHue
0:00:00.127057474  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   VADisplayAttribSaturation
0:00:00.127088121  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:623:ensure_properties:   VADisplayAttribBackgroundColor
0:00:00.127271559  9383       0xb7e270 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.203115768  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:791:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
0:00:00.203185033  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:529:ensure_profiles: 9 profiles
0:00:00.203196278  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG2Simple
0:00:00.203205177  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG2Main
0:00:00.203212659  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG4Simple
0:00:00.203219629  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG4AdvancedSimple
0:00:00.203226762  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileH264Main
0:00:00.203234824  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileH264High
0:00:00.203242115  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Simple
0:00:00.203249574  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Main
0:00:00.203257101  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Advanced
0:00:00.203267681  9383       0xb7e270 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaQueryEntrypoints() [VAProfileNone]: the requested VAProfile is not supported
0:00:00.203405633  9383       0xb7e270 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.203425571  9383       0xb7e270 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type caps
0:00:00.203466404  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:704:ensure_image_formats: 4 image formats
0:00:00.203473253  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:706:ensure_image_formats:   NV12
0:00:00.203479372  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:706:ensure_image_formats:   YV12
0:00:00.203484848  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:706:ensure_image_formats:   I420
0:00:00.203489724  9383       0xb7e270 DEBUG                  vaapi gstvaapidisplay.c:706:ensure_image_formats:   BGRA
0:00:00.203499597  9383       0xb7e270 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 64x64, chroma type 0x1
0:00:00.204347490  9383       0xb7e270 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000000
0:00:00.204371847  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format NV12, size 64x64
0:00:00.204392803  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.204493464  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.204507694  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format YV12, size 64x64
0:00:00.204520878  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.204539557  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.204549806  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 64x64
0:00:00.204560532  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.205165231  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.205191365  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format BGRA, size 64x64
0:00:00.205206695  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.205219050  9383       0xb7e270 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaPutImage(): operation failed
0:00:00.205231133  9383       0xb7e270 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.205279048  9383       0xb7e270 DEBUG                  vaapi gstvaapisurface.c:83:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.207668680  9383       0xb7e270 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.207685373  9383       0xb7e270 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type caps
Setting pipeline to PAUSED ...
0:00:00.207803594  9383       0xb7e270 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type context
0:00:00.207815180  9383       0xb7e270 DEBUG              vaapisink gstvaapisink.c:1118:gst_vaapisink_query: sharing display 0xa261b0
0:00:00.207823934  9383       0xb7e270 INFO             vaapidecode gstvaapipluginbase.c:68:plugin_set_display:<vaapidecode0> set display 0xa261b0
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.208339953  9383       0xb83540 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.208364377  9383       0xb83540 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.208410137  9383       0xb83540 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type accept-caps
0:00:00.208420597  9383       0xb83540 INFO             vaapidecode gstvaapidecode.c:1060:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.208471355  9383       0xb83540 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type caps
0:00:00.208542398  9383       0xb83540 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type accept-caps
0:00:00.208587007  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1366x768
0:00:00.208604199  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.208610578  9383       0xb83540 INFO             vaapiupload gstvaapiuploader.c:389:gst_vaapi_uploader_ensure_caps: direct-rendering: level 0
0:00:00.208690836  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.209292299  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000000
0:00:00.209303168  9383       0xb83540 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaDeriveImage(): operation failed
0:00:00.209309337  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:83:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.210460771  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1366x768
0:00:00.210477987  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.210485017  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.210500747  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:708:gst_vaapisink_set_caps: video pixel-aspect-ratio 1/1
0:00:00.210507668  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:678:update_colorimetry: colorimetry bt709
0:00:00.231808909  9383       0xb83540 DEBUG                  vaapi gstvaapiwindow_x11.c:260:gst_vaapi_window_x11_create: xid 0x3e00003
0:00:00.231861904  9383       0xb83540 DEBUG                  vaapi gstvaapiwindow.c:69:gst_vaapi_window_create: backend resized window to 1366x768
0:00:00.380162507  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:734:gst_vaapisink_set_caps: window size 1366x768
0:00:00.380192788  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:363:gst_vaapisink_ensure_render_rect: ensure render rect within 1366x768 bounds
0:00:00.380204159  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:370:gst_vaapisink_ensure_render_rect: display pixel-aspect-ratio 1/1
0:00:00.380216013  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:381:gst_vaapisink_ensure_render_rect: video size 1366x768, calculated ratio 683/384
0:00:00.380224242  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:385:gst_vaapisink_ensure_render_rect: keeping window height
0:00:00.380228851  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:394:gst_vaapisink_ensure_render_rect: scaling video to 1366x768
0:00:00.380234397  9383       0xb83540 DEBUG              vaapisink gstvaapisink.c:404:gst_vaapisink_ensure_render_rect: render rect (0,0):1366x768
0:00:00.380263705  9383       0xb83540 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type allocation
0:00:00.380334452  9383       0xb83540 INFO               vaapisink gstvaapisink.c:1115:gst_vaapisink_query:<vaapisink0> query type caps
0:00:00.380465803  9383       0xb83540 DEBUG            vaapidecode gstvaapipluginbase.c:338:ensure_sinkpad_buffer_pool: assume video buffer pool format is NV12
0:00:00.380489167  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 1366x768
0:00:00.380519924  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000001
0:00:00.380534269  9383       0xb83540 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000001
0:00:00.380903180  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:651:decode_sequence_ext: video resolution 1366x768
0:00:00.380919603  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:849:decode_gop: GOP 00:00:00:00 (closed_gop 0, broken_link 0)
0:00:00.380932589  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:421:ensure_context: profile changed
0:00:00.380943223  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:529:ensure_profiles: 9 profiles
0:00:00.380948896  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG2Simple
0:00:00.380954024  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG2Main
0:00:00.380958646  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG4Simple
0:00:00.380963022  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileMPEG4AdvancedSimple
0:00:00.380967711  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileH264Main
0:00:00.380972146  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileH264High
0:00:00.380976576  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Simple
0:00:00.380980949  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Main
0:00:00.380985295  9383       0xb83540 DEBUG                  vaapi gstvaapidisplay.c:536:ensure_profiles:   VAProfileVC1Advanced
0:00:00.380993880  9383       0xb83540 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaQueryEntrypoints() [VAProfileNone]: the requested VAProfile is not supported
0:00:00.381000775  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:431:ensure_context: size changed
0:00:00.381008486  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.381921393  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000000
0:00:00.381939674  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.382106948  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000001
0:00:00.382121394  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.382368995  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000002
0:00:00.382379040  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.383114151  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000003
0:00:00.383134246  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.383406436  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000004
0:00:00.383429549  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:223:gst_vaapi_surface_new: size 1366x768, chroma type 0x1
0:00:00.383673105  9383       0xb83540 DEBUG                  vaapi gstvaapisurface.c:130:gst_vaapi_surface_create: surface 0x3000005
0:00:00.383694511  9383       0xb83540 DEBUG                  vaapi gstvaapicontext.c:273:context_create: context 0x02000000
0:00:00.383719764  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 0 (329 bytes)
0:00:00.383732436  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 1 (329 bytes)
0:00:00.383742665  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 2 (329 bytes)
0:00:00.383752658  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 3 (329 bytes)
0:00:00.383762635  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 4 (329 bytes)
0:00:00.383773016  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 5 (329 bytes)
0:00:00.383782880  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 6 (329 bytes)
0:00:00.383806159  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 7 (329 bytes)
0:00:00.383816665  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 8 (329 bytes)
0:00:00.383826522  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 9 (329 bytes)
0:00:00.383836348  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 10 (329 bytes)
0:00:00.383846217  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 11 (329 bytes)
0:00:00.383855854  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 12 (329 bytes)
0:00:00.383865827  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 13 (329 bytes)
0:00:00.383875272  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 14 (329 bytes)
0:00:00.383885452  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 15 (329 bytes)
0:00:00.383894998  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 16 (329 bytes)
0:00:00.383905009  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 17 (329 bytes)
0:00:00.383914967  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 18 (329 bytes)
0:00:00.383924719  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 19 (329 bytes)
0:00:00.383934194  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 20 (329 bytes)
0:00:00.383943972  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 21 (329 bytes)
0:00:00.383953460  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 22 (329 bytes)
0:00:00.383963135  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 23 (329 bytes)
0:00:00.383972808  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 24 (329 bytes)
0:00:00.383982525  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 25 (329 bytes)
0:00:00.383992103  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 26 (329 bytes)
0:00:00.384001607  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 27 (329 bytes)
0:00:00.384011467  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 28 (329 bytes)
0:00:00.384021858  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 29 (329 bytes)
0:00:00.384038227  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 30 (329 bytes)
0:00:00.384068952  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 31 (329 bytes)
0:00:00.384098756  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 32 (329 bytes)
0:00:00.384130066  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 33 (329 bytes)
0:00:00.384157929  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 34 (329 bytes)
0:00:00.384188208  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 35 (329 bytes)
0:00:00.384205442  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 36 (329 bytes)
0:00:00.384220565  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 37 (329 bytes)
0:00:00.384235356  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 38 (329 bytes)
0:00:00.384251370  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 39 (329 bytes)
0:00:00.384275011  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 40 (329 bytes)
0:00:00.384289406  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 41 (329 bytes)
0:00:00.384303885  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 42 (329 bytes)
0:00:00.384318561  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 43 (329 bytes)
0:00:00.384332687  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 44 (329 bytes)
0:00:00.384348998  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 45 (329 bytes)
0:00:00.384365776  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 46 (329 bytes)
0:00:00.384382487  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 47 (329 bytes)
0:00:00.384398768  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000000
0:00:00.407314442  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:651:decode_sequence_ext: video resolution 1366x768
0:00:00.407362896  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:849:decode_gop: GOP 00:00:00:01 (closed_gop 0, broken_link 0)
0:00:00.407392780  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:431:ensure_context: size changed
0:00:00.407420306  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 0 (347 bytes)
0:00:00.407443023  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 1 (355 bytes)
0:00:00.407464444  9383       0xb83540 DEBUG                  vaapi gstvaapidecoder_mpeg2.c:1138:decode_slice: slice 2 (362 bytes)
...
Comment 22 Jorge 2015-03-20 07:38:49 UTC
Another clue.

I've just installed the gstreamer 1.5 cloned from repos yesterday afternoon and I can play the next pipelines ok with the gstreamer-vaapi-0.5.11 with Victor's patch!

$ gst-launch-1.0 filesrc location=/home/jorge/develop/harware/videos/big_buck_bunny_720p_surround.avi ! avidemux ! vaapidecode ! vaapisink

using ~1% cpu (top -d 1), and

$ gst-launch-1.0 filesrc location=/home/jorge/develop/harware/videos/big_buck_bunny_720p_surround.avi ! avidemux ! vaapidecode ! glimagesink

using ~10% cpu (top -d 1)

With my custom video (video1.avi) and glimagesink I have to say that it's played but the image is not ok. It seems the stride is not computed ok and I see the image moved diagonally. With the vaapisink is ok.
Comment 23 Víctor Manuel Jáquez Leal 2015-03-21 22:56:26 UTC
Created attachment 300051 [details] [review]
guard buffer export API if not available

The support for buffer exports in VA-API was added in version 0.36. These
interfaces are for interop with EGL, OpenCL, etc.

GStreamer-VAAPI uses it for a dmabuf memory allocator. Though, gstreamer-vaapi
has to support VA-API versions ranging from 0.30.4, which doesn't support it.

This patch guards all the buffer exports handling (and dmabuf allocator) if
the detected VA-API version is below 0.36.
Comment 24 Víctor Manuel Jáquez Leal 2015-03-21 22:58:45 UTC
Created attachment 300053 [details]
HACK: disable vaapidecodebin at all
Comment 25 Víctor Manuel Jáquez Leal 2015-03-21 23:12:17 UTC
Jorge,

Finally I managed to figure out what's happening with gstreamer-vaapi master, and gstreamer-1.4's glimagesink. Two issues:

1\ As I mentioned in my emails, you need to add the playbin's flags=0x17 in order to disable the soft-colorbalance and the de-interlacing.

2\ In bug #745216 the new element vaapidecodebin is used, which is a bin of vaapidecode and vaapipostroc, but, AFAIU, vaapipostproc needs some love with its caps negotiation. I've attached a simple hack to disable this bin.

Hence, if you apply both patches, when using gstreamer-1.4, and using the flag in your playbin, you should play your videos.

Regarding the issue with the video1.avi, that's should be another bug to open (and I need to open another one for vaapipostproc).
Comment 26 Jorge 2015-03-23 09:21:50 UTC
Hi Victor,

For the video1.avi issue I openned the bug:
https://bugzilla.gnome.org/show_bug.cgi?id=746556

I've just tested your new patches but no luck. I've done:

$ cd gstreamer-vaapi/
$ patch  -p1 < ../guard-buffer-export-API-if-not-available.patch 
$ patch  -p1 < ../0001-disable-vaapidecodebin.patch 
$ git clean -dfx
$ ./autogen.sh 
$ make
$ sudo make install

I can play ok the next pipeline:

$ gst-launch-1.0 filesrc location=/home/jorge/develop/harware/videos/big_buck_bunny_480p_h264.mov ! qtdemux ! vaapidecode ! vaapisink

but the playbin is not ok

$ gst-launch-1.0 playbin uri=file:///home/jorge/develop/harware/videos/big_buck_bunny_480p_h264.mov video-sink=glimagesink flags=0x17
Setting pipeline to PAUSED ...
0:00:00.033407165 15693      0x1ebef20 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
0:00:00.033846411 15693      0x1ebef20 WARN                 basesrc gstbasesrc.c:3470:gst_base_src_start_complete:<source> pad not activated yet
Pipeline is PREROLLING ...
0:00:00.042145614 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type tapt
0:00:00.042187533 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type cslg
0:00:00.042201369 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type tmcd
0:00:00.042216836 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type chan
0:00:00.042228144 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux.c:5352:qtdemux_parse_container:<qtdemux0> length too long (1751411826 > 449)
0:00:00.042239060 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux.c:5352:qtdemux_parse_container:<qtdemux0> length too long (1751411826 > 1045)
0:00:00.042247781 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type WLOC
0:00:00.042256699 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type SelO
0:00:00.042265784 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux_types.c:202:qtdemux_type_get: unknown QuickTime node type AllF
Missing element: MPEG-4 AAC decoder
0:00:00.046278443 15693 0x7fa1ac065630 WARN            uridecodebin gsturidecodebin.c:939:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000'.
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000'.
Additional debug info:
gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
0:00:00.287922730 15693 0x7fa198002cf0 ERROR                  vaapi gstvaapitexture_glx.c:153:create_objects: failed to create FBO
0:00:00.288379755 15693 0x7fa1a011b4f0 ERROR       vaapivideomemory gstvaapivideomemory.c:261:gst_video_meta_map_vaapi_memory: failed to make image current
0:00:00.288405929 15693 0x7fa1a011b4f0 ERROR                default video-frame.c:138:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.288425146 15693 0x7fa1a011b4f0 ERROR               glupload gstglupload.c:315:gst_gl_upload_perform_with_buffer:<glupload1> Failed to map memory
0:00:00.288439125 15693 0x7fa1a011b4f0 WARN             glimagesink gstglimagesink.c:777:gst_glimage_sink_prepare:<glimagesink0> error: Failed to upload buffer
ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0: Failed to upload buffer
Additional debug info:
gstglimagesink.c(777): gst_glimage_sink_prepare (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.288658307 15693 0x7fa1ac065540 ERROR            vaapidecode gstvaapidecode.c:359:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error: error [-5])
0:00:00.288713068 15693 0x7fa1ac065540 ERROR            vaapidecode gstvaapidecode.c:447:gst_vaapidecode_handle_frame: push loop error after decoding -5
0:00:00.288773101 15693 0x7fa1b00518a0 WARN                 qtdemux qtdemux.c:4434:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason error
0:00:00.288832631 15693 0x7fa1b00518a0 WARN              multiqueue gstmultiqueue.c:1791:gst_multi_queue_sink_event:<multiqueue0> error: Internal data stream error.
0:00:00.288847505 15693 0x7fa1b00518a0 WARN              multiqueue gstmultiqueue.c:1791:gst_multi_queue_sink_event:<multiqueue0> error: streaming stopped, reason error
Freeing pipeline ...

I've to change to a mov file because avidemux has just stopping working with gstreamer-vaapi-0.5.11!! With 0.5.9 is still working...
Comment 27 Jorge 2015-03-23 09:24:21 UTC
The complete log.

$ export GST_DEBUG=vaapi*:5

$ gst-launch-1.0 playbin uri=file:///home/jorge/develop/harware/videos/big_buck_bunny_480p_h264.mov video-sink=glimagesink flags=0x17
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.046660189 15897 0x7fb3e00518a0 DEBUG        vaapiparse_h264 gsth264parse.c:245:gst_h264_parse_start:<vaapih264parse0> start
0:00:00.046722957 15897 0x7fb3e00518a0 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.048716783 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:317:gst_h264_parse_format_from_caps: parsing caps: video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10015274d401ea9181b07bcde00d4040406db0ad7bdf01001000428de09c8, width=(int)853, height=(int)480, framerate=(fraction)24/1, pixel-aspect-ratio=(fraction)1/1
0:00:00.048822869 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:2107:gst_h264_parse_set_caps:<vaapih264parse0> have packetized h264
0:00:00.048850694 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:2133:gst_h264_parse_set_caps:<vaapih264parse0> profile 4d401e
0:00:00.048877167 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:2141:gst_h264_parse_set_caps:<vaapih264parse0> nal length size 4
0:00:00.048912268 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:569:gst_h264_parse_process_nal:<vaapih264parse0> processing nal of type 7 SPS, size 21
0:00:00.048980592 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:590:gst_h264_parse_process_nal:<vaapih264parse0> triggering src caps check
0:00:00.049013368 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:440:gst_h264_parser_store_nal:<vaapih264parse0> storing sps 0
0:00:00.049052599 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:569:gst_h264_parse_process_nal:<vaapih264parse0> processing nal of type 8 PPS, size 4
0:00:00.049094656 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:622:gst_h264_parse_process_nal:<vaapih264parse0> triggering src caps check
0:00:00.049122118 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:444:gst_h264_parser_store_nal:<vaapih264parse0> storing pps 0
0:00:00.049525270 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:357:gst_h264_parse_negotiate:<vaapih264parse0> allowed caps: video/x-h264, parsed=(boolean)true, stream-format=(string){ avc, avc3, byte-stream }, alignment=(string){ au, nal }
0:00:00.049577186 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:364:gst_h264_parse_negotiate:<vaapih264parse0> negotiating with caps: video/x-h264, parsed=(boolean)true, stream-format=(string){ avc, avc3, byte-stream }, alignment=(string){ au, nal }
0:00:00.049626319 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:369:gst_h264_parse_negotiate:<vaapih264parse0> downstream accepts upstream caps
0:00:00.049652917 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:317:gst_h264_parse_format_from_caps: parsing caps: video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au
0:00:00.049696998 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:392:gst_h264_parse_negotiate:<vaapih264parse0> selected format avc, alignment au
0:00:00.049736094 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:1415:gst_h264_parse_update_src_caps:<vaapih264parse0> sps: 0x7fb3dc018000
0:00:00.049768785 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:1149:gst_h264_parse_make_codec_data:<vaapih264parse0> constructing codec_data: num_sps=1, num_pps=1
0:00:00.049812483 15897 0x7fb3dc065540 INFO         vaapiparse_h264 gsth264parse.c:1456:gst_h264_parse_update_src_caps:<vaapih264parse0> resolution changed 854x480
0:00:00.049847978 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:1468:gst_h264_parse_update_src_caps:<vaapih264parse0> framerate changed 0/1
Missing element: MPEG-4 AAC decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000'.
Additional debug info:
gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
0:00:00.059343229 15897 0x7fb3dc065540 INFO                   vaapi gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.5.10-64-g71d91c7
0:00:00.135430049 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:800:gst_vaapi_display_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0,998619
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
0:00:00.165292147 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:940:gst_vaapi_display_create_unlocked: VA-API version 0.35
0:00:00.165354220 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:537:ensure_profiles: 9 profiles
0:00:00.165361028 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Simple
0:00:00.165367238 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG2Main
0:00:00.165371590 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4Simple
0:00:00.165375691 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileMPEG4AdvancedSimple
0:00:00.165379934 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264Main
0:00:00.165384023 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileH264High
0:00:00.165388112 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Simple
0:00:00.165392122 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Main
0:00:00.165396192 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:544:ensure_profiles:   VAProfileVC1Advanced
0:00:00.165404600 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaQueryEntrypoints() [VAProfileNone]: the requested VAProfile is not supported
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.165560281 15897 0x7fb3dc065540 INFO             vaapidecode gstvaapipluginbase.c:75:plugin_set_display:<vaapidecode0> set display 0x7fb3dc133c60
0:00:00.165745062 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.165941250 15897 0x7fb3dc065540 DEBUG            vaapidecode gstvaapipluginbase.c:522:ensure_sinkpad_buffer_pool: assume video buffer pool format is NV12
0:00:00.165976381 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 853x480
0:00:00.165989928 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:713:ensure_image_formats: 4 image formats
0:00:00.165995035 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   NV12
0:00:00.166000422 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   YV12
0:00:00.166005360 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   I420
0:00:00.166010194 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:715:ensure_image_formats:   BGRA
0:00:00.166025447 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.166032785 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.166143370 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1529:parse_sps: parse SPS
0:00:00.166158740 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1681:decode_sps: decode SPS
0:00:00.166163880 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1576:parse_pps: parse PPS
0:00:00.166169941 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1707:decode_pps: decode PPS
0:00:00.166178146 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.166191315 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.166198407 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.166208063 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.166216091 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.166222716 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.166230765 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.166246896 15897 0x7fb3dc065540 DEBUG            vaapidecode gstvaapidecode.c:406:gst_vaapidecode_handle_frame:<vaapidecode0> activating the decoder
Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
0:00:00.264154411 15897 0x7fb3dc065540 INFO             vaapidecode gstvaapipluginbase.c:757:gst_vaapi_plugin_base_decide_allocation:<vaapidecode0> no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.264237875 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 853x480, chroma type 0x1
0:00:00.264722508 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.264742516 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaDeriveImage(): operation failed
0:00:00.264758895 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.264939424 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format I420, size 853x480
0:00:00.264969643 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.264989388 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.265087010 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.265103125 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.265119043 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1343:ensure_context: maximum number of views changed to 1
0:00:00.265134729 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1348:ensure_context: DPB size increased
0:00:00.265147857 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1359:ensure_context: profile changed
0:00:00.265160476 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1380:ensure_context: size changed
0:00:00.265173109 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:846:gst_vaapi_decoder_set_picture_size: picture width changed to 864
0:00:00.268920432 15897 0x7fb3dc065540 INFO             vaapidecode gstvaapipluginbase.c:757:gst_vaapi_plugin_base_decide_allocation:<vaapidecode0> no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.268991441 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x7
0:00:00.269012388 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaCreateSurfaces(): the requested RT Format is not supported
0:00:00.269030896 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0xffffffff
0:00:00.269047889 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format RGBA, size 864x480
0:00:00.269071142 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:759:ensure_subpicture_formats: 6 subpicture formats
0:00:00.269086265 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   AI44
0:00:00.269100797 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   IA44
0:00:00.269114735 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   AI88
0:00:00.269128920 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   IA88
0:00:00.269142531 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   BGRA
0:00:00.269155772 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:761:ensure_subpicture_formats:   RGBA
0:00:00.269168781 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format AI44
0:00:00.269177779 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format IA44
0:00:00.269186034 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format AI88
0:00:00.269194227 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidisplay.c:246:append_formats: unsupported format IA88
0:00:00.269216128 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.269227764 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
0:00:00.269311773 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.269617302 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000000
0:00:00.269632139 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.269747480 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000001
0:00:00.269760180 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.269899742 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000002
0:00:00.269912297 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270050030 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000003
0:00:00.270062312 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270200052 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000004
0:00:00.270212380 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270351242 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000005
0:00:00.270363688 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270503537 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000006
0:00:00.270515914 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270654796 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000007
0:00:00.270667119 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:336:gst_vaapi_surface_new: size 864x480, chroma type 0x1
0:00:00.270806301 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapisurface.c:125:gst_vaapi_surface_create: surface 0x3000008
0:00:00.270823225 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapicontext.c:289:context_create: context 0x02000000
0:00:00.270834528 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1040:dpb_reset: DPB size 5
0:00:00.270849056 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2910:init_picture: <IDR>
0:00:00.270857419 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.270865999 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (274 bytes)
0:00:00.270878555 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.270886680 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.270894963 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (276 bytes)
0:00:00.270904230 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.270911669 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.270919258 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (277 bytes)
0:00:00.270928119 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.270935271 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.270942665 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (277 bytes)
0:00:00.270953112 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.270960480 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.270967963 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (277 bytes)
0:00:00.270976769 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.270983881 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.270991437 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000000
0:00:00.281722738 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.281942854 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.281971562 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.281987734 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3434:is_new_picture: frame_num differs in value
0:00:00.282004791 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.282026645 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.282044784 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.282062660 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.282088839 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.282144528 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.282157818 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (10 bytes)
0:00:00.282170042 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.282177815 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.282185999 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.282194059 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (12 bytes)
0:00:00.282203090 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.282210561 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.282217982 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.282225357 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (12 bytes)
0:00:00.282234110 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.282241580 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.282248906 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.282256265 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (12 bytes)
0:00:00.282264901 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.282272148 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.282279542 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.282286711 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (12 bytes)
0:00:00.282295333 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.282302676 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.282310105 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.282317580 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000001
0:00:00.284392613 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2973:exec_ref_pic_marking_sliding_window: reference picture marking process (sliding window)
0:00:00.284426886 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.284467290 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.284481155 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.284490148 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3434:is_new_picture: frame_num differs in value
0:00:00.284500080 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.284510523 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.284520867 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.284531016 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.284548060 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.284559759 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.284568016 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (8 bytes)
0:00:00.284577722 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.284585093 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.284593460 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.284601305 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (10 bytes)
0:00:00.284610321 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.284617617 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.284625125 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.284632347 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (10 bytes)
0:00:00.284641105 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.284648412 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.284655814 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.284662936 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (10 bytes)
0:00:00.284671518 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.284678854 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.284686318 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.284693515 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (11 bytes)
0:00:00.284702069 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.284709273 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.284716795 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.284724079 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000002
0:00:00.286895847 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.286930403 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.286950773 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.286965246 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3448:is_new_picture: nal_ref_idc differs in value
0:00:00.286983380 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287000820 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287017620 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287034097 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287058511 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.287077194 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.287090702 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1111 bytes)
0:00:00.287107508 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287154123 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.287167303 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287175758 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (851 bytes)
0:00:00.287186120 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287193569 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.287201087 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287208341 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (984 bytes)
0:00:00.287217697 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287224965 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.287232376 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287239547 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1071 bytes)
0:00:00.287248426 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287255822 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.287263305 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287270598 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (3881 bytes)
0:00:00.287279852 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287287223 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.287294494 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287301861 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000003
0:00:00.287326775 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2973:exec_ref_pic_marking_sliding_window: reference picture marking process (sliding window)
0:00:00.287350070 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.287374847 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.287394015 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287403959 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3434:is_new_picture: frame_num differs in value
0:00:00.287414044 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287424467 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287434959 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287445210 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.287464680 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.287477951 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.287486204 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2971 bytes)
0:00:00.287496317 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287503837 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.287512386 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287519982 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (5186 bytes)
0:00:00.287529423 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287536724 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.287544314 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287551733 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (4928 bytes)
0:00:00.287560927 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287568119 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.287575604 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287582972 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (3863 bytes)
0:00:00.287592199 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287599419 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.287606784 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287614064 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (571 bytes)
0:00:00.287622840 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.287629994 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.287637361 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.287644564 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000004
0:00:00.291083372 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.291124191 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.291140677 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.291150318 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3448:is_new_picture: nal_ref_idc differs in value
0:00:00.291160795 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.291171117 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.291181329 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.291191249 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.291210081 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.291223183 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.291231680 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (3114 bytes)
0:00:00.291242791 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.291250544 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.291258266 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.291265883 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2225 bytes)
0:00:00.291275170 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.291282474 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.291289720 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.291296971 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2761 bytes)
0:00:00.291311948 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.291319862 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.291327261 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.291334452 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (3301 bytes)
0:00:00.291344775 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.291352341 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.291359770 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.291366968 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (4781 bytes)
0:00:00.291378138 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.291385845 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.291393214 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.291400557 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000005
0:00:00.359001798 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2973:exec_ref_pic_marking_sliding_window: reference picture marking process (sliding window)
0:00:00.359034603 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 0 (surface 0x03000000)
0:00:00.359053361 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 0 (surface 0x03000000)
0:00:00.359276206 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.359314372 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.359335615 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359349791 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3434:is_new_picture: frame_num differs in value
0:00:00.359365366 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359383245 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359399869 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359413512 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359437546 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.359459502 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.359473367 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (773 bytes)
0:00:00.359489774 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359502389 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.359515735 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359527867 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (349 bytes)
0:00:00.359543244 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359554540 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.359565520 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359576825 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1109 bytes)
0:00:00.359592214 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359603889 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.359615688 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359627174 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (981 bytes)
0:00:00.359641905 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359653670 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.359665412 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359676562 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2616 bytes)
0:00:00.359691079 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359702736 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.359714501 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359725934 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000006
0:00:00.359761098 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 2 (surface 0x03000002)
0:00:00.359776702 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 2 (surface 0x03000002)
0:00:00.359824754 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.359853812 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.359877227 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359887319 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3448:is_new_picture: nal_ref_idc differs in value
0:00:00.359897326 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359907307 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359917221 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359926939 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.359944808 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.359958706 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.359966971 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2339 bytes)
0:00:00.359976557 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.359983938 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.359991470 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.359998698 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1956 bytes)
0:00:00.360007138 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.360014042 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.360021155 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.360028166 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1173 bytes)
0:00:00.360036512 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.360043333 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.360050291 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.360056995 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (901 bytes)
0:00:00.360069201 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.360076525 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.360083726 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.360090811 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (2428 bytes)
0:00:00.360100612 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.360107788 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.360114889 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.360121793 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000007
0:00:00.366259414 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2973:exec_ref_pic_marking_sliding_window: reference picture marking process (sliding window)
0:00:00.366282968 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 1 (surface 0x03000001)
0:00:00.366298241 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 1 (surface 0x03000001)
0:00:00.366362736 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.366392443 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.366412854 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366423213 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3434:is_new_picture: frame_num differs in value
0:00:00.366433096 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366443409 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366453396 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366462952 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366479225 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.366491922 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
0:00:00.366499817 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (377 bytes)
0:00:00.366509202 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.366516200 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.366524215 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.366531564 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (272 bytes)
0:00:00.366540064 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.366546996 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.366554121 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.366560984 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (391 bytes)
0:00:00.366569330 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.366576268 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.366583263 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.366590156 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (401 bytes)
0:00:00.366598435 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.366605272 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.366612282 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.366619107 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (436 bytes)
0:00:00.366627310 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.366634190 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2366:init_picture_refs_b_slice: decode reference picture list for B slices
0:00:00.366641436 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.366648273 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000008
0:00:00.366672043 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 4 (surface 0x03000004)
0:00:00.366684014 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 4 (surface 0x03000004)
0:00:00.366738375 15897 0x7fb3dc065540 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.366775877 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1601:parse_sei: parse SEI
0:00:00.366795176 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366809327 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3448:is_new_picture: nal_ref_idc differs in value
0:00:00.366825766 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366843011 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366859924 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.366873279 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1621:parse_slice: parse slice
0:00:00.380035082 15897 0x7fb3c40034f0 ERROR                  vaapi gstvaapitexture_glx.c:153:create_objects: failed to create FBO
0:00:00.380650037 15897 0x7fb3d011b4f0 DEBUG                  vaapi gstvaapiimage.c:261:gst_vaapi_image_new: format RGBA, size 864x480
0:00:00.380699405 15897 0x7fb3d011b4f0 DEBUG                  vaapi gstvaapiimage.c:206:gst_vaapi_image_create: image 0x6000000
0:00:00.380711669 15897 0x7fb3d011b4f0 DEBUG                  vaapi gstvaapiutils.c:53:vaapi_check_status: vaGetImage(): unknown libva error
0:00:00.380718084 15897 0x7fb3d011b4f0 ERROR       vaapivideomemory gstvaapivideomemory.c:261:gst_video_meta_map_vaapi_memory: failed to make image current
0:00:00.380783359 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1720:decode_sei: decode SEI messages
0:00:00.380822339 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:1773:init_picture_poc_0: decode picture order count type 0
ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0: Failed to upload buffer
0:00:00.380846147 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1617 bytes)
Additional debug info:
gstglimagesink.c(777): gst_glimage_sink_prepare (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstGLImageSink:glimagesink0
0:00:00.380889963 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.380919871 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.380956577 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.380975844 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1507 bytes)
0:00:00.381000281 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.381018135 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.381036023 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.381054858 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1295 bytes)
0:00:00.381078785 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.381091872 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.381103112 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.381114317 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (1863 bytes)
0:00:00.381134559 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.381152368 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.381171256 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.381186141 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:3748:decode_slice: slice (3924 bytes)
0:00:00.381205883 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2042:init_picture_refs_pic_num: decode picture numbers
0:00:00.381224675 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2300:init_picture_refs_p_slice: decode reference picture list for P and SP slices
0:00:00.381242231 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2758:exec_picture_refs_modification: execute ref_pic_list_modification()
0:00:00.381260521 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_objects.c:241:gst_vaapi_picture_decode: decode picture 0x03000000
0:00:00.381313291 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder_h264.c:2973:exec_ref_pic_marking_sliding_window: reference picture marking process (sliding window)
0:00:00.381342478 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:378:push_frame: push frame 3 (surface 0x03000003)
0:00:00.381373925 15897 0x7fb3dc065540 DEBUG                  vaapi gstvaapidecoder.c:399:pop_frame: pop frame 3 (surface 0x03000003)
0:00:00.381937845 15897      0x263e300 DEBUG        vaapiparse_h264 gsth264parse.c:267:gst_h264_parse_stop:<vaapih264parse0> stop
0:00:00.381955153 15897      0x263e300 DEBUG        vaapiparse_h264 gsth264parse.c:186:gst_h264_parse_reset_frame:<vaapih264parse0> reset frame
0:00:00.382627971 15897      0x263e300 DEBUG                  vaapi gstvaapicontext.c:88:context_destroy: context 0x02000000
0:00:00.403862662 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000003
0:00:00.404042630 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000002
0:00:00.404189681 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000001
0:00:00.404335429 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000004
0:00:00.404475564 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000007
0:00:00.404615797 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000006
0:00:00.404755286 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000005
0:00:00.404893274 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000008
0:00:00.405032374 15897      0x263e300 DEBUG                  vaapi gstvaapisurface.c:80:gst_vaapi_surface_destroy: surface 0x3000000
0:00:00.414203748 15897      0x263e300 DEBUG                  vaapi gstvaapiimage.c:116:gst_vaapi_image_destroy: image 0x6000000
Freeing pipeline ...
Comment 28 Víctor Manuel Jáquez Leal 2015-03-23 15:08:24 UTC
Jorge, 

See my comment at https://bugzilla.gnome.org/show_bug.cgi?id=746556#c2

Second, almost all the logs show the same problem: 

0:00:00.380035082 15897 0x7fb3c40034f0 ERROR                  vaapi gstvaapitexture_glx.c:153:create_objects: failed to create FBO

That is, the function gl_create_framebuffer_object() fails.

Which OpenGL drivers are you using? NVidia proprietary or noveau?

As I said in the comment #746556#c2 I tested with the proprietary NVidia drivers and I couldn't reproduce the errors that you mention.
Comment 29 Jorge 2015-03-23 15:13:48 UTC
Hi,

I'm using prprietary drivers...

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 210/PCIe/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 331.113
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:

Yes, you are right... I'm going to test your testing environment updating libva and VA-API to get the same common ground.

Thanks!
Jorge
Comment 30 Víctor Manuel Jáquez Leal 2015-03-23 15:19:26 UTC
Anyway, as I mentioned in my first reply to your email, vaapidecode and glimagesink won't work together using GLX because of bug #745233
Comment 31 Víctor Manuel Jáquez Leal 2015-04-08 16:12:12 UTC
Created attachment 301150 [details] [review]
guard buffer export API if not available

The support for buffer exports in VA-API was added in version 0.36. These
interfaces are for interop with EGL, OpenCL, etc.

GStreamer-VAAPI uses it for a dmabuf memory allocator. Though, gstreamer-vaapi
has to support VA-API versions ranging from 0.30.4, which doesn't support it.

This patch guards all the buffer exports handling (and dmabuf allocator) if
the detected VA-API version is below 0.36.

v2: Instead of building a wall with autotools, this patch instead only adds
pre-processor guards for the symbols in VA-API 0.36. This makes the patch less
intrusive.
Comment 32 sreerenj 2015-04-11 22:31:11 UTC
Review of attachment 301150 [details] [review]:

LGTM,
I wound like to get the patch in since it was a clear regression..
Please push if it make the compilation success + normal decode/render pipeline works...
Comment 33 Víctor Manuel Jáquez Leal 2015-04-13 11:24:27 UTC
commit 38f8fea4bb0deb81916b615160fcf8dc75ccb058
Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Date:   Wed Apr 8 18:05:20 2015 +0200