<div dir="ltr">First, use gst-inspect for both the h264parse and vaapidecode to see if the pad caps are compatible. It seems that they must not be. Then put a caps filter between them. There are examples of using a caps filter in the documentation. You can also enable/increase logging to see why it is failing to link the pipeline. Start slow because some of the filters generate a lot of messages. Pick the ones that are responsible for the linking and increase the logging level on those. I think GST_ELEMENTS may be the primary element of interest. Enable logging with export GST_DEBUG=*:3 to start, replace the * with element names and '3' with 4 or 5.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 2:33 AM, Jaya <span dir="ltr"><<a href="mailto:j.budihal@gmail.com" target="_blank">j.budihal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Hi,<br>
<br>
I have done a VA API installation on CentOS 6.4 ,this is a list of the<br>
packages i have installed :<br>
- libdrm-2.4.52<br>
- libva-1.2.1<br>
- libva-intel-driver-1.2.2<br>
- gstreamer-vaapi-0.5.8<br>
<br>
However, this below pipeline gives an error<br>
gst-launch-1.0 filesrc location=file.mp4 ! qtdemux ! h264parse ! vaapidecode<br>
! fakesink --gst-debug=3<br>
output:<br>
0:00:00.017503778 10458   0x2432860 ERROR     vaapidecode<br>
gstvaapidecode.c:931:gst_vaapidecode_ensure_allowed_caps: failed to retrieve<br>
VA display<br>
0:00:00.017681818 10458   0x2432860 ERROR     vaapidecode<br>
gstvaapidecode.c:931:gst_vaapidecode_ensure_allowed_caps: failed to retrieve<br>
VA display<br>
0:00:00.017984945 10458   0x2432860 ERROR     GST_PIPELINE<br>
./grammar.y:624:gst_parse_perform_link: could not link h264parse0 to<br>
vaapidecode0<br>
WARNING: erroneous pipeline: could not link h264parse0 to vaapidecode0<br>
<br>
How do I the solve the linking issue from h264parse to vaapidecode<br>
<br>
Thanks.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Error-in-linking-h264parse-to-vaapidecode-tp4665390.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Error-in-linking-h264parse-to-vaapidecode-tp4665390.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>