tce-load -i gst-plugins-bad-dev gst-plugins-ugly-dev libva-dev coreutils yasm cd gstreamer-vaapi-1.8.1 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --disable-wayland find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \; make sudo make install gstreamer-vaapi configuration summary: Installation Prefix .............. : /usr/local GStreamer API version ............ : 1.8 VA-API version ................... : 0.38.0 Video encoding ................... : yes Video outputs .................... : drm x11 glx egl Test rm /home/tc/.cache/gstreamer-1.0/registry.x86_64.bin * Play an H.264 video with an MP4 container in fullscreen mode $ gst-launch-1.0 -v filesrc location=/mnt/sdb1/media/video/video_test.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 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/GstQTDemux:qtdemux0: GStreamer encountered a general stream error. Additional debug info: qtdemux.c(4434): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0: streaming stopped, reason not-linked ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... /GstPipeline:pipeline0/GstQTDemux:qtdemux0.GstPad:audio_0: caps = "NULL" /GstPipeline:pipeline0/GstQTDemux:qtdemux0.GstPad:video_0: caps = "NULL" Freeing pipeline ... $ gst-play-1.0 /mnt/sdb1/media/video/video_test.mp4 Now playing /mnt/sdb1/media/video/video_test.mp4 libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 libva info: va_openDriver() returns 0 Redistribute latency... 0:00:16.2 / 0:00:16.2 Reached end of play list. $ gst-launch-1.0 -v filesrc location=/mnt/sdb1/media/video/caitlin_jump.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 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; /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:sink: caps = "video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)2.1\,\ profile\=\(string\)main\,\ codec_data\=\(buffer\)014d4015ffe10019674d40159a7203c14d80880000030008000003019078b1724001000468cf3c80\,\ width\=\(int\)480\,\ height\=\(int\)320\,\ framerate\=\(fraction\)25/1\,\ pixel-aspect-ratio\=\(fraction\)1/1" Redistribute latency... /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)480\,\ height\=\(int\)320\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1" /GstPipeline:pipeline0/GstVaapiSink:vaapisink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)480\,\ height\=\(int\)320\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)25/1" Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:01:12.880217928 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...