<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I was trying to play an H.264 video today using gstreamer-vaapi master from git. It fails for me, and I’m not sure where else to look to understand why. How can I debug this further? I’ve included the debug output from vaapidecode and vainfo output from my system. (I’m on an AMD-based system; using the fglrx driver, with XvBA.)</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks in advance for any pointers!</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">-d</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><div id="bloop_customfont" style="margin: 0px;">Using Gst: 1.3.2.1</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;">GST_DEBUG=vaapidecode:5 gst-launch-1.0 playbin uri=file:///scratch/excite/content/Trickshots_02_h264_rf20.mp4</div><div id="bloop_customfont" style="margin: 0px;">Setting pipeline to PAUSED ...</div><div id="bloop_customfont" style="margin: 0px;">Pipeline is PREROLLING ...</div><div id="bloop_customfont" style="margin: 0px;">libva: VA-API version 0.32.0</div><div id="bloop_customfont" style="margin: 0px;">Xlib: extension "XFree86-DRI" missing on display ":0.0".</div><div id="bloop_customfont" style="margin: 0px;">libva: va_getDriverName() returns 0</div><div id="bloop_customfont" style="margin: 0px;">libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so</div><div id="bloop_customfont" style="margin: 0px;">libva: va_openDriver() returns 0</div><div id="bloop_customfont" style="margin: 0px;">Got context from element 'vaapisink0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.273668373 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.298442510 9796 0xb5a02060 INFO vaapidecode gstvaapipluginbase.c:65:plugin_set_context:<vaapidecode0> set display 0xb5001ea8</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.299263549 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.299374313 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.299510379 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.300145648 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.300254623 9796 0xb5a02060 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.300477626 9796 0xb50084c0 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.300620517 9796 0xb50084c0 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.303231441 9796 0xb50084c0 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.303928600 9796 0xb50084c0 INFO vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.376401191 9796 0xb50084c0 INFO vaapidecode gstvaapidecode.c:546:gst_vaapidecode_decide_allocation: no pool or doesn't support GstVaapiVideoMeta, making new pool</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.377036397 9796 0xb50084c0 DEBUG vaapidecode gstvaapipluginbase.c:304:ensure_sinkpad_buffer_pool: assume video buffer pool format is NV12</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.421503228 9796 0x9f67150 INFO vaapidecode gstvaapidecode.c:546:gst_vaapidecode_decide_allocation: no pool or doesn't support GstVaapiVideoMeta, making new pool</div><div id="bloop_customfont" style="margin: 0px;">0:00:00.444140523 9796 0x9f67150 ERROR vaapidecode gstvaapidecode.c:370:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error -4)</div><div id="bloop_customfont" style="margin: 0px;">ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.</div><div id="bloop_customfont" style="margin: 0px;">Additional debug info:</div><div id="bloop_customfont" style="margin: 0px;">qtdemux.c(4473): gst_qtdemux_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:</div><div id="bloop_customfont" style="margin: 0px;">streaming stopped, reason not-negotiated</div><div id="bloop_customfont" style="margin: 0px;">ERROR: pipeline doesn't want to preroll.</div><div id="bloop_customfont" style="margin: 0px;">Setting pipeline to NULL ...</div><div id="bloop_customfont" style="margin: 0px;">Freeing pipeline ...</div></div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">vainfo reports:</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;">libva: VA-API version 0.32.0</div><div id="bloop_customfont" style="margin: 0px;">Xlib: extension "XFree86-DRI" missing on display ":0".</div><div id="bloop_customfont" style="margin: 0px;">libva: va_getDriverName() returns 0</div><div id="bloop_customfont" style="margin: 0px;">libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so</div><div id="bloop_customfont" style="margin: 0px;">libva: va_openDriver() returns 0</div><div id="bloop_customfont" style="margin: 0px;">vainfo: VA-API version: 0.32 (libva 1.0.15)</div><div id="bloop_customfont" style="margin: 0px;">vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8</div><div id="bloop_customfont" style="margin: 0px;">vainfo: Supported profile and entrypoints</div><div id="bloop_customfont" style="margin: 0px;"> VAProfileH264High : VAEntrypointVLD</div><div id="bloop_customfont" style="margin: 0px;"> VAProfileVC1Advanced : VAEntrypointVLD</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><br></div></div></div><br><div id="bloop_sign_1400703223332429056" class="bloop_sign"><span style="font-family:helvetica,arial;font-size:13px"></span>-- <br>David W. Harks <dave@dwink.net><br></div></body></html>