<br><br>
<div class="gmail_quote">On Wed, Feb 29, 2012 at 12:52 PM, arnaud tonda <span dir="ltr"><<a href="mailto:arnaud.tonda@gmail.com">arnaud.tonda@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">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:<a href="tel:03.622048968" target="_blank" value="+3583622048968">03.622048968</a> 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:<a href="tel:03.622550808" target="_blank" value="+3583622550808">03.622550808</a> 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:<a href="tel:03.622842928" target="_blank" value="+3583622842928">03.622842928</a> 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa1730c0 (5688 bytes)</div>
<div>0:00:<a href="tel:04.630819919" target="_blank" value="+3584630819919">04.630819919</a> 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:<a href="tel:04.631353639" target="_blank" value="+3584631353639">04.631353639</a> 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:<a href="tel:04.631651479" target="_blank" value="+3584631651479">04.631651479</a> 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa173120 (5496 bytes)</div>
<div>0:00:<a href="tel:05.639477110" target="_blank" value="+3585639477110">05.639477110</a> 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:<a href="tel:05.640880150" target="_blank" value="+3585640880150">05.640880150</a> 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:<a href="tel:05.641189710" target="_blank" value="+3585641189710">05.641189710</a> 18673 0xa171b20 DEBUG vaapi gstvaapidecoder.c:66:push_buffer: queue encoded data buffer 0xa171da0 (88956 bytes)</div>
<div>0:00:<a href="tel:06.649069620" target="_blank" value="+3586649069620">06.649069620</a> 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:<a href="tel:06.649642940" target="_blank" value="+3586649642940">06.649642940</a> 18673 0xa171b20 DEBUG vaapidecode gstvaapidecode.c:678:gst_vaapidecode_sink_event: handle sink event 'tag'</div>
<div>0:00:<a href="tel:06.649993420" target="_blank" value="+3586649993420">06.649993420</a> 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></div></blockquote>
<div> </div>
<div>
<div>It is probably a bug in gst-vaapi. vaapidecoder is pre-allocating six surfaces for rendering (except for h264)...somehow it is not freeing .. Is it the case for all mpeg2-transportstream?</div>
<div><br> </div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<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 style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileMPEG2Main :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileH264Main :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileH264High :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileVC1Simple :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileVC1Main :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div>
<div> VAProfileVC1Advanced :<span style="WHITE-SPACE:pre-wrap"> </span>VAEntrypointVLD</div></div>
<div><br></div>
<div>Best regards</div>-- <br><font color="#888888">Arnaud Tonda<br><br></font></div></div><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Sreerenj Balachandran (Intel OTC, Finland)
<div><a href="http://twitter.com/#!/sreerenj" target="_blank">http://twitter.com/#!/sreerenj</a><br><br>
<div><br></div></div><br>