vaapi_h264_encode pipeline context pad peer query failed problem

江振钱 jiangzq at ncast.com.cn
Tue Mar 24 02:58:17 PDT 2015


Hi, 
I'm a newer of GStreamer Vaapi user, I compiled and installed GStreamer-1.4.5 and VaAPI-0.5.10 (the lasttest version).
Then, I tried to test vaapiencode_h264 plugin, there's a problem that successed to connect all elements but cannot run the pipeline.
When I saw the debug details, there is message that 'context pad peer query failed', 
Actually, I don't know what and why the context pad peer query failed, and also don't know how to fix this problem, do I need to change sth. in the pipeline?
Although I tried to search the answer from internet, I cannot find many information about it.




Thanks for any hint on what I'm doing wrong.
Best regards,
Nicholas




Here is my pipeline:
-------------------------------------
gst-launch-1.0 --gst-debug-level=4 -v \
videotestsrc num-buffers=300000  do-timestamp=true  is-live=true ! \
videoparse format=i420 width=1280 height=720 framerate=30/1 ! \
vaapiencode_h264 rate-control=cbr tune=1 !  \
qtmux streamable=true ! filesink location=/root/encoded_video.mp4

-------------------------------------


Here is my system info:
-----------------------------
Linux MyTest 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04.1 LTS \n \l
---------------------------------------


The mainly debug information as follow:
0:00:00.000428537 22296      0x1fe7920 INFO                GST_INIT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstmessage.c:119:_priv_gst_message_initialize: init messages
0:00:00.000996624 22296      0x1fe7920 INFO                GST_INIT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstcontext.c:77:_priv_gst_context_initialize: init contexts
0:00:00.001382476 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.001531035 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.001558919 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.001593770 22296      0x1fe7920 INFO            GST_REGISTRY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstregistry.c:1722:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.011281284 22296      0x1fe7920 INFO            GST_REGISTRY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstregistrybinary.c:619:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.x86_64.bin in 0.009655 seconds
0:00:00.011323779 22296      0x1fe7920 INFO            GST_REGISTRY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstregistry.c:1578:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.011852523 22296      0x1fe7920 INFO            GST_REGISTRY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstregistry.c:1680:scan_and_update_registry: Registry cache has not changed
0:00:00.011863134 22296      0x1fe7920 INFO            GST_REGISTRY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstregistry.c:1757:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.011880138 22296      0x1fe7920 INFO                GST_INIT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gst.c:709:init_post: GLib runtime version: 2.43.92
0:00:00.011888727 22296      0x1fe7920 INFO                GST_INIT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gst.c:711:init_post: GLib headers version: 2.40.2
0:00:00.011905006 22296      0x1fe7920 INFO            GST_PIPELINE /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstparse.c:323:gst_parse_launch_full: parsing pipeline description 'videotestsrc num-buffers=300000 do-timestamp=true is-live=true ! videoparse format=i420 width=1280 height=720 framerate=30/1 ! vaapiencode_h264 rate-control=cbr tune=1 ! qtmux streamable=true ! filesink location=/root/encoded_video.mp4 '
0:00:00.012266149 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:833:gst_plugin_load_file: plugin "/usr/local/gstreamer/1.4.5/lib/gstreamer-1.0/libgstvideotestsrc.so" loaded
0:00:00.012288839 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "videotestsrc"
0:00:00.012403808 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstBaseSrc at 0x2156d70> adding pad 'src'
0:00:00.012747342 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:833:gst_plugin_load_file: plugin "/usr/local/gstreamer/1.4.5/lib/gstreamer-1.0/libgstrawparse.so" loaded
0:00:00.012768247 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "videoparse"
0:00:00.012835742 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstRawParse at 0x215c170> adding pad 'sink'
0:00:00.012860946 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstRawParse at 0x215c170> adding pad 'src'
0:00:00.013770745 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:833:gst_plugin_load_file: plugin "/usr/local/gstreamer/1.4.5/lib/gstreamer-1.0/libgstvaapi.so" loaded
0:00:00.013784606 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "vaapiencode_h264"
0:00:00.013892190 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstVideoEncoder at 0x216b2c0> adding pad 'sink'
0:00:00.013909519 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstVideoEncoder at 0x216b2c0> adding pad 'src'
0:00:00.013920472 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:895:gst_element_get_static_pad: found pad (null):sink
0:00:00.013929439 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:895:gst_element_get_static_pad: found pad (null):src
0:00:00.014380717 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:833:gst_plugin_load_file: plugin "/usr/local/gstreamer/1.4.5/lib/gstreamer-1.0/libgstisomp4.so" loaded
0:00:00.014394150 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "qtmux"
0:00:00.014460026 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstQTMux at 0x2176010> adding pad 'src'
0:00:00.014734781 22296      0x1fe7920 INFO      GST_PLUGIN_LOADING /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstplugin.c:833:gst_plugin_load_file: plugin "/usr/local/gstreamer/1.4.5/lib/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.014748034 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "filesink"
0:00:00.014793143 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<GstBaseSink at 0x205ca00> adding pad 'sink'
0:00:00.014812310 22296      0x1fe7920 INFO                filesink /usr/local/gstreamer/src/gstreamer-1.4.5/plugins/elements/gstfilesink.c:286:gst_file_sink_set_location: filename : /root/encoded_video.mp4
0:00:00.014820999 22296      0x1fe7920 INFO                filesink /usr/local/gstreamer/src/gstreamer-1.4.5/plugins/elements/gstfilesink.c:287:gst_file_sink_set_location: uri      : file:///root/encoded_video.mp4
0:00:00.014831585 22296      0x1fe7920 INFO     GST_ELEMENT_FACTORY /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelementfactory.c:364:gst_element_factory_create: creating element "pipeline"
0:00:00.014880253 22296      0x1fe7920 INFO            GST_PIPELINE /usr/local/gstreamer/src/gstreamer-1.4.5/gst/parse/grammar.y:570:gst_parse_perform_link: linking videotestsrc0:(any) to videoparse0:(any) (0/0) with caps "(NULL)"
0:00:00.014895527 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1545:gst_element_link_pads_full: trying to link element videotestsrc0:(any) to element videoparse0:(any)
0:00:00.014907110 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:937:gst_pad_check_link: trying to link videotestsrc0:src and videoparse0:sink
0:00:00.014927333 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1445:prepare_link_maybe_ghosting: videotestsrc0 and videoparse0 in same bin, no need for ghost pads
0:00:00.014944794 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2186:gst_pad_link_prepare: trying to link videotestsrc0:src and videoparse0:sink
0:00:00.014956841 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2388:gst_pad_link_full: linked videotestsrc0:src and videoparse0:sink, successful
0:00:00.014965405 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstevent.c:1377:gst_event_new_reconfigure: creating reconfigure event
0:00:00.014975721 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:5182:gst_pad_send_event_unchecked:<videotestsrc0:src> Received event on flushing pad. Discarding
0:00:00.014987270 22296      0x1fe7920 INFO            GST_PIPELINE /usr/local/gstreamer/src/gstreamer-1.4.5/gst/parse/grammar.y:570:gst_parse_perform_link: linking videoparse0:(any) to vaapiencodeh264-0:(any) (0/0) with caps "(NULL)"
0:00:00.014997555 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1545:gst_element_link_pads_full: trying to link element videoparse0:(any) to element vaapiencodeh264-0:(any)
0:00:00.015006837 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:937:gst_pad_check_link: trying to link videoparse0:src and vaapiencodeh264-0:sink
0:00:00.015019061 22296      0x1fe7920 INFO             vaapiencode /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapiencode.c:79:gst_vaapiencode_query:<vaapiencodeh264-0> query type caps
0:00:00.015032511 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1445:prepare_link_maybe_ghosting: videoparse0 and vaapiencodeh264-0 in same bin, no need for ghost pads
0:00:00.015043319 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2186:gst_pad_link_prepare: trying to link videoparse0:src and vaapiencodeh264-0:sink
0:00:00.015053651 22296      0x1fe7920 INFO             vaapiencode /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapiencode.c:79:gst_vaapiencode_query:<vaapiencodeh264-0> query type caps
0:00:00.015062140 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2388:gst_pad_link_full: linked videoparse0:src and vaapiencodeh264-0:sink, successful
0:00:00.015070290 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstevent.c:1377:gst_event_new_reconfigure: creating reconfigure event
0:00:00.015077455 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:5182:gst_pad_send_event_unchecked:<videoparse0:src> Received event on flushing pad. Discarding
0:00:00.015087020 22296      0x1fe7920 INFO            GST_PIPELINE /usr/local/gstreamer/src/gstreamer-1.4.5/gst/parse/grammar.y:570:gst_parse_perform_link: linking vaapiencodeh264-0:(any) to qtmux0:(any) (0/0) with caps "(NULL)"
0:00:00.015096964 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1545:gst_element_link_pads_full: trying to link element vaapiencodeh264-0:(any) to element qtmux0:(any)
0:00:00.015106829 22296      0x1fe7920 INFO             vaapiencode /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapiencode.c:79:gst_vaapiencode_query:<vaapiencodeh264-0> query type caps
0:00:00.015136915 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:643:gst_element_add_pad:<qtmux0> adding pad 'video_0'
0:00:00.015151021 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1445:prepare_link_maybe_ghosting: vaapiencodeh264-0 and qtmux0 in same bin, no need for ghost pads
0:00:00.015162785 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2186:gst_pad_link_prepare: trying to link vaapiencodeh264-0:src and qtmux0:video_0
0:00:00.015173185 22296      0x1fe7920 INFO             vaapiencode /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapiencode.c:79:gst_vaapiencode_query:<vaapiencodeh264-0> query type caps
0:00:00.015185343 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2388:gst_pad_link_full: linked vaapiencodeh264-0:src and qtmux0:video_0, successful
0:00:00.015194561 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstevent.c:1377:gst_event_new_reconfigure: creating reconfigure event
0:00:00.015202779 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:5182:gst_pad_send_event_unchecked:<vaapiencodeh264-0:src> Received event on flushing pad. Discarding
0:00:00.015212837 22296      0x1fe7920 INFO            GST_PIPELINE /usr/local/gstreamer/src/gstreamer-1.4.5/gst/parse/grammar.y:570:gst_parse_perform_link: linking qtmux0:(any) to filesink0:(any) (0/0) with caps "(NULL)"
0:00:00.015222570 22296      0x1fe7920 INFO        GST_ELEMENT_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1545:gst_element_link_pads_full: trying to link element qtmux0:(any) to element filesink0:(any)
0:00:00.015232344 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:937:gst_pad_check_link: trying to link qtmux0:src and filesink0:sink
0:00:00.015245958 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstutils.c:1445:prepare_link_maybe_ghosting: qtmux0 and filesink0 in same bin, no need for ghost pads
0:00:00.015256767 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2186:gst_pad_link_prepare: trying to link qtmux0:src and filesink0:sink
0:00:00.015267258 22296      0x1fe7920 INFO                GST_PADS /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:2388:gst_pad_link_full: linked qtmux0:src and filesink0:sink, successful
0:00:00.015275957 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstevent.c:1377:gst_event_new_reconfigure: creating reconfigure event
0:00:00.015283728 22296      0x1fe7920 INFO               GST_EVENT /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstpad.c:5182:gst_pad_send_event_unchecked:<qtmux0:src> Received event on flushing pad. Discarding
Setting pipeline to PAUSED ...
0:00:00.015325200 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2230:gst_bin_element_set_state:<filesink0> current NULL pending VOID_PENDING, desired next READY
0:00:00.021707477 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2328:gst_element_continue_state:<filesink0> completed state change to READY
0:00:00.021730186 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2233:_priv_gst_element_state_changed:<filesink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.021749078 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2673:gst_bin_change_state_func:<pipeline0> child 'filesink0' changed state to 2(READY) successfully
0:00:00.021761388 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2230:gst_bin_element_set_state:<qtmux0> current NULL pending VOID_PENDING, desired next READY
0:00:00.021770758 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2328:gst_element_continue_state:<qtmux0> completed state change to READY
0:00:00.021777956 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2233:_priv_gst_element_state_changed:<qtmux0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.021787446 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2673:gst_bin_change_state_func:<pipeline0> child 'qtmux0' changed state to 2(READY) successfully
0:00:00.021796661 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2230:gst_bin_element_set_state:<vaapiencodeh264-0> current NULL pending VOID_PENDING, desired next READY
0:00:00.021818857 22296      0x1fe7920 INFO             GST_CONTEXT /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapivideocontext.c:83:context_pad_query:<vaapiencodeh264-0:src> context pad peer query failed
0:00:00.021829744 22296      0x1fe7920 INFO             GST_CONTEXT /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapivideocontext.c:83:context_pad_query:<vaapiencodeh264-0:sink> context pad peer query failed
0:00:00.021836661 22296      0x1fe7920 INFO             GST_CONTEXT /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst/vaapi/gstvaapivideocontext.c:151:gst_vaapi_video_context_prepare:<vaapiencodeh264-0> posting `need-context' message
0:00:00.021848723 22296      0x1fe7920 INFO                   vaapi /usr/local/gstreamer/src/gstreamer-vaapi-0.5.10/gst-libs/gst/vaapi/gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.5.10
0:00:00.021876375 22296      0x1fe7920 WARN            videoencoder /usr/local/gstreamer/src/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideoencoder.c:1523:gst_video_encoder_change_state:<vaapiencodeh264-0> error: Failed to open encoder
0:00:00.021893630 22296      0x1fe7920 INFO        GST_ERROR_SYSTEM /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:1835:gst_element_message_full:<vaapiencodeh264-0> posting message: Could not initialize supporting library.
0:00:00.021908473 22296      0x1fe7920 INFO        GST_ERROR_SYSTEM /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:1858:gst_element_message_full:<vaapiencodeh264-0> posted error message: Could not initialize supporting library.
0:00:00.021917330 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2609:gst_element_change_state:<vaapiencodeh264-0> have FAILURE change_state return
0:00:00.021928798 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2203:gst_element_abort_state:<vaapiencodeh264-0> aborting state from NULL to READY
0:00:00.021936960 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstbin.c:2689:gst_bin_change_state_func:<pipeline0> child 'vaapiencodeh264-0' failed to go to state 2(READY)
0:00:00.021948691 22296      0x1fe7920 INFO              GST_STATES /usr/local/gstreamer/src/gstreamer-1.4.5/gst/gstelement.c:2609:gst_element_change_state:<pipeline0> have FAILURE change_state return
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0: Could not initialize supporting library.
Additional debug info:
/usr/local/gstreamer/src/gst-plugins-base-1.4.5/gst-libs/gst/video/gstvideoencoder.c(1523): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstVaapiEncodeH264:vaapiencodeh264-0:
Failed to open encoder
Setting pipeline to NULL ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150324/d9d39665/attachment-0001.html>


More information about the gstreamer-devel mailing list