Error in linking h264parse to vaapidecode

Chuck Crisler ccrisler at mutualink.net
Fri Feb 21 08:09:44 PST 2014


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.


On Thu, Feb 20, 2014 at 2:33 AM, Jaya <j.budihal at gmail.com> wrote:

>  Hi,
>
> I have done a VA API installation on CentOS 6.4 ,this is a list of the
> packages i have installed :
> - libdrm-2.4.52
> - libva-1.2.1
> - libva-intel-driver-1.2.2
> - gstreamer-vaapi-0.5.8
>
> However, this below pipeline gives an error
> gst-launch-1.0 filesrc location=file.mp4 ! qtdemux ! h264parse !
> vaapidecode
> ! fakesink --gst-debug=3
> output:
> 0:00:00.017503778 10458   0x2432860 ERROR     vaapidecode
> gstvaapidecode.c:931:gst_vaapidecode_ensure_allowed_caps: failed to
> retrieve
> VA display
> 0:00:00.017681818 10458   0x2432860 ERROR     vaapidecode
> gstvaapidecode.c:931:gst_vaapidecode_ensure_allowed_caps: failed to
> retrieve
> VA display
> 0:00:00.017984945 10458   0x2432860 ERROR     GST_PIPELINE
> ./grammar.y:624:gst_parse_perform_link: could not link h264parse0 to
> vaapidecode0
> WARNING: erroneous pipeline: could not link h264parse0 to vaapidecode0
>
> How do I the solve the linking issue from h264parse to vaapidecode
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Error-in-linking-h264parse-to-vaapidecode-tp4665390.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140221/80ff09b7/attachment-0001.html>


More information about the gstreamer-devel mailing list