Dear all,<div><br></div><div>firstly this is my work environment :</div><div><br></div><div>Asus AT3 with nvidia GT218 Chipset.</div><div>latest stable version of gstreamer base and plugins (good, bad)</div><div>latest git version of vdpau-va-drivers</div>
<div>latest git version of libva</div><div>latest git version of gstreamer-vaapi</div><div><br></div><div><br></div><div>I actually try to play some tv records that are mpegts streams with mpeg2 video inside.</div><div>to get benefits of hardware acceleration, i would get working gstreamer-vaapi.</div>
<div><br></div><div>after compiling and installing gstreamer-vaapi i can play some h264 streams fluently with vaapidecode and vaapisink inside a playbin2 element.</div><div><br></div><div>the problem i have, seems to occurs only with mpegts streams.</div>
<div><br></div><div>the pipeline go in PLAYING state, the audio play fine, but i have only the first video frame.</div><div><br></div><div>after adding some debug traces with this command line :</div><div><br></div><div>GST_DEBUG=vaapi:5,vaapidecode:5 gst-launch -v playbin2 uri=file:///tv/bfm_business.ts</div>
<div><div><br></div><div>it appears some errors on vaapidecode element :</div><div><br></div><div>#####################</div><div><div>0:00:03.622048968 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:259:gst_vaapidecode_step: decode timeout. Decoder required a VA surface but none got available within one second</div>
<div>0:00:03.622550808 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div><div>0:00:03.622842928 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa1730c0 (5688 bytes)</div>
<div>0:00:04.630819919 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:259:gst_vaapidecode_step: decode timeout. Decoder required a VA surface but none got available within one second</div><div>0:00:04.631353639 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:04.631651479 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa173120 (5496 bytes)</div><div>0:00:05.639477110 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:259:gst_vaapidecode_step: decode timeout. Decoder required a VA surface but none got available within one second</div>
<div>0:00:05.640880150 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div><div>0:00:05.641189710 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa171da0 (88956 bytes)</div>
<div>0:00:06.649069620 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:259:gst_vaapidecode_step: decode timeout. Decoder required a VA surface but none got available within one second</div><div>0:00:06.649642940 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:06.649993420 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa171c20 (5864 bytes)</div><div><div>#####################</div><div></div></div></div><div>
<div><br></div><div>Is there someone who can explain me what means that there is no VA surface available?</div><div><br></div><div>maybe i have forgotten something to do.</div><div><br></div><div>i don't understand where can be the problem.</div>
<div><br></div><div>here some VAinfo if needed :</div><div><br></div><div><div>libva: VA-API version 0.32.0</div><div>libva: va_getDriverName() returns 0</div><div>libva: Trying to open /usr/lib/dri/nvidia_drv_video.so</div>
<div>libva: va_openDriver() returns 0</div><div>vainfo: VA-API version: 0.32 (libva 1.0.16.pre1)</div><div>vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4.pre1</div><div>vainfo: Supported profile and entrypoints</div>
<div> VAProfileMPEG2Simple :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div><div> VAProfileMPEG2Main :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div>
<div> VAProfileH264Main :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div><div> VAProfileH264High :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div>
<div> VAProfileVC1Simple :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div><div> VAProfileVC1Main :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div>
<div> VAProfileVC1Advanced :<span class="Apple-tab-span" style="white-space:pre">        </span>VAEntrypointVLD</div></div><div><br></div><div>Best regards</div>-- <br>Arnaud Tonda<br><br>
</div></div>