failed to create video decoder: h264enc

sudarshan bisht bisht.sudarshan at gmail.com
Wed May 18 22:46:22 PDT 2011


It would be good if you ask TI for this , because it looks their proprietary
decoder plugin issue.


2011/5/18 HuYaohui <huyaohui at ruiva.cn>

>  Hi All,
> I recently installed gstreamer on my DM6446 board. After installation, i
> run the example provided by the TI. I met a problem. Here is my procedure:
> <snip>
>  $ gst-launch --gst-debug-level=3 -v filesrc
> location=/root/media_file/davincieffect_pal.264 ! TIViddec2
> codecName=h264enc engineName=decode ! TIDmaiVideoSink videoStd=D1_NTSC
> videoOutput=composite sync=false
>
> I get the following debug information:
>
> 0:00:00.092229631  1110    0x150a8 INFO                GST_INIT
> gstquery.c:105:_gst_query_initialize: init queries
> 0:00:00.144839742  1110    0x150a8 INFO                GST_INIT
> gstmessage.c:73:_gst_message_initialize: init messages
> 0:00:00.150512557  1110    0x150a8 INFO      GST_PLUGIN_LOADING
> gstplugin.c:334:_gst_plugin_ini tialize: registering 0 static plugins
> 0:00:00.157380668  1110    0x150a8 INFO      GST_PLUGIN_LOADING
> gstplugin.c:250:gst_plugin_register_static: registered static plugin
> "staticelements"
> 0:00:00.158744557  1110    0x150a8 INFO      GST_PLUGIN_LOADING
> gstplugin.c:252:gst_plugin_register_static: added static plugin
> "staticelements", result: 1
> 0:00:00.170742000  1110    0x150a8 INFO                GST_INIT
> gst.c:925:ensure_current_registry: reading registry cache:
> /root/.gstreamer-0.10/registry.arm.bin
> 0:00:00.639163852  1110    0x150a8 INFO            GST_REGISTRY
> gstregistrybinary.c:1310:gst_registry_binary_read_cache: loaded
> /root/.gstreamer-0.10/registry.arm.bin in 0.466996 seconds
> 0:00:00.644422037  1111    0x150a8 INFO         &nb sp;      GST_INIT
> gst.c:689:scan_and_update_registry: Validating registry cache:
> /root/.gstreamer-0.10/registry.arm.bin
> 0:00:00.953432630  1111    0x150a8 INFO                GST_INIT
> gst.c:774:scan_and_update_registry: Registry cache has not changed
> 0:00:00.956099556  1110    0x150a8 INFO                GST_INIT
> gst.c:968:ensure_current_registry: registry reading and updating done,
> result = 1
> 0:00:00.958846000  1110    0x150a8 INFO            GST_PIPELINE
> gstparse.c:291:gst_parse_launch_full: parsing pipeline description 'filesrc
> location=/root/media_file/davincieffect_pal.264 ! TIViddec2
> codecName=h264enc engineName=decode ! TIDmaiVideoSink videoStd=D1_NTSC
> videoOutput=composite sync=false '
> 0:00:00.990659335  1110    0x150a8 INFO      G ST_PLUGIN_LOADING
> gstplugin.c:658:gst_plugin_load_file: plugin
> "/opt/gstreamer/lib/gstreamer-0.10/libgstcoreelements.so" loaded
> 0:00:00.991838594  1110    0x150a8 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:402:gst_element_factory_create: creating element
> "filesrc"
> 0:00:00.999395852  1110    0x150a8 INFO        GST_ELEMENT_PADS
> gstelement.c:727:gst_element_add_pad:<GstBaseSrc at 0xc1000> adding pad 'src'
> 0:00:01.054689594  1110    0x150a8 INFO      GST_PLUGIN_LOADING
> gstplugin.c:658:gst_plugin_load_file: plugin
> "/opt/gstreamer/lib/gstreamer-0.10/libgstticodecplugin.so" loaded
> 0:00:01.055963927  1110    0x150a8 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:402:gst_element_factory_create: creating element
> "TIViddec2"
> 0:00:01.070074704  1110    0x150a8 INFO        GST_EL EMENT_PADS
> gstelement.c:727:gst_element_add_pad:<GstTIViddec2 at 0xc6018> adding pad
> 'sink'
> 0:00:01.071385408  1110    0x150a8 INFO        GST_ELEMENT_PADS
> gstelement.c:727:gst_element_add_pad:<GstTIViddec2 at 0xc6018> adding pad
> 'src'
> 0:00:01.075442704  1110    0x150a8 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:402:gst_element_factory_create: creating element
> "TIDmaiVideoSink"
> 0:00:01.086375778  1110    0x150a8 INFO        GST_ELEMENT_PADS
> gstelement.c:727:gst_element_add_pad:<GstBaseSink at 0xc9f18> adding pad
> 'sink'
> 0:00:01.091520853  1110    0x150a8 INFO     GST_ELEMENT_FACTORY
> gstelementfactory.c:402:gst_element_factory_create: creating element
> "pipeline"
> 0:00:01.096073186  1110    0x150a8 INFO            GST_PIPELINE
> ./grammar.y:511:gst_parse_ perform_link: (null)
> 0:00:01.097418224  1110    0x150a8 INFO        GST_ELEMENT_PADS
> gstutils.c:1587:gst_element_link_pads: trying to link element filesrc0:(any)
> to element tividdec20:(any)
> 0:00:01.098900075  1110    0x150a8 INFO                GST_PADS
> gstutils.c:1045:gst_pad_check_link: trying to link filesrc0:src and
> tividdec20:src
> 0:00:01.100068816  1110    0x150a8 INFO                GST_PADS
> gstutils.c:1065:gst_pad_check_link: Sink pad tividdec20:src is not sink pad,
> failed
> 0:00:01.101211409  1110    0x150a8 INFO                GST_PADS
> gstutils.c:1045:gst_pad_check_link: trying to link filesrc0:src and
> tividdec20:sink
> 0:00:01.103168483  1110    0x150a8 INFO               &n bsp;GST_PADS
> gstutils.c:1492:prepare_link_maybe_ghosting: filesrc0 and tividdec20 in same
> bin, no need for ghost pads
> 0:00:01.105359742  1110    0x150a8 INFO                GST_PADS
> gstpad.c:1874:gst_pad_link_prepare: trying to link filesrc0:src and
> tividdec20:sink
> 0:00:01.106579372  1110    0x150a8 INFO                GST_PADS
> gstpad.c:2047:gst_pad_link: linked filesrc0:src and tividdec20:sink,
> successful
> 0:00:01.108578593  1110    0x150a8 INFO            GST_PIPELINE
> ./grammar.y:511:gst_parse_perform_link: (null)
> 0:00:01.109638778  1110    0x150a8 INFO        GST_ELEMENT_PADS
> gstutils.c:1587:gst_element_link_pads: trying to link element
> tividdec20:(any) to element tidmaivideosink0:(any)
> 0:00:01.110837408  1110    0x150a8 I NFO                GST_PADS
> gstutils.c:1045:gst_pad_check_link: trying to link tividdec20:src and
> tidmaivideosink0:sink
> 0:00:01.114898556  1110    0x150a8 INFO                GST_PADS
> gstutils.c:1492:prepare_link_maybe_ghosting: tividdec20 and tidmaivideosink0
> in same bin, no need for ghost pads
> 0:00:01.116465889  1110    0x150a8 INFO                GST_PADS
> gstpad.c:1874:gst_pad_link_prepare: trying to link tividdec20:src and
> tidmaivideosink0:sink
> 0:00:01.460492926  1110    0x150a8 INFO                GST_PADS
> gstpad.c:2047:gst_pad_link: linked tividdec20:src and tidmaivideosink0:sink,
> successful
> Setting pipeline to PAUSED ...
> 0:00:01.464409519  1110    0x150a8 INFO             & nbsp;GST_STATES
> gstelement.c:2238:gst_element_continue_state:<tidmaivideosink0> completed
> state change to READY
> 0:00:01.465579815  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<tidmaivideosink0> posting
> state-changed NULL to READY
> 0:00:01.467598111  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'tidmaivideosink0'
> changed state to 2(READY) successfully
> 0:00:01.469137223  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2238:gst_element_continue_state:<tividdec20> completed state
> change to READY
> 0:00:01.470278815  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<ti viddec20> posting
> state-changed NULL to READY
> 0:00:01.471716630  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'tividdec20'
> changed state to 2(READY) successfully
> 0:00:01.473053037  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2238:gst_element_continue_state:<filesrc0> completed state
> change to READY
> 0:00:01.474197334  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<filesrc0> posting
> state-changed NULL to READY
> 0:00:01.475617445  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
> state to 2(READY) successfully
> 0:00:01.4770 20148  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2211:gst_element_continue_state:<pipeline0> committing state
> from NULL to READY, pending PAUSED, next PAUSED
> 0:00:01.478586111  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2220:gst_element_continue_state:<pipeline0> continue state
> change READY to PAUSED, final PAUSED
> 0:00:01.481026778  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2431:gst_bin_change_state_func:<pipeline0> child 'tidmaivideosink0'
> is changing state asynchronously to PAUSED
> 0:00:01.482620037  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2238:gst_element_continue_state:<tividdec20> completed state
> change to PAUSED
> 0:00:01.483778334  1110   &nb sp;0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<tividdec20> posting
> state-changed READY to PAUSED
> 0:00:01.485186963  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'tividdec20'
> changed state to 3(PAUSED) successfully
> 0:00:01.486656223  1110    0x150a8 INFO                 filesrc
> gstfilesrc.c:981:gst_file_src_start:<filesrc0> opening file
> /root/media_file/davincieffect_pal.264
> 0:00:01.490068519  1110    0x150a8 INFO               GST_EVENT
> gstevent.c:597:gst_event_new_new_segment_full: creating newsegment update 0,
> rate 1.000000, format bytes, start 0, stop 75015005, position 0
> 0:00:01.494114630  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2238:gst_element_continue_state:<filesrc0> completed state
> change to PAUSED
> 0:00:01.495314000  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<filesrc0> posting
> state-changed READY to PAUSED
> 0:00:01.496737000  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed
> state to 3(PAUSED) successfully
> Pipeline is PREROLLING ...
> 0:00:01.499832000  1110    0xca6e8 INFO               GST_EVENT
> gstevent.c:591:gst_event_new_new_segment_full: creating newsegment update 0,
> rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop
> 99:99:99.999999999, position 0:00:00.000000000
> 0:00:02.1950530 37  1110    0xcf600 WARN               TIViddec2
> gsttividdec2.c:1278:gst_tividdec2_codec_start:<tividdec20> error: failed to
> create video decoder: h264enc
>
> 0:00:02.197261667  1110    0xcf600 INFO        GST_ERROR_SYSTEM
> gstelement.c:1763:gst_element_message_full:<tividdec20> posting message:
> failed to create video decoder: h264enc
>
> 0:00:02.199189741  1110    0xcf600 INFO        GST_ERROR_SYSTEM
> gstelement.c:1786:gst_element_message_full:<tividdec20> posted error
> message: failed to create video decoder: h264enc
>
> 0:00:02.200621630  1110    0xcf600 WARN               TIViddec2
> gsttividdec2.c:1372:gst_tividdec2_decode_thread:<tividdec20> error: failed
> to start codec
>
> 0:00:02.202210297  111 0    0xcf600 INFO        GST_ERROR_SYSTEM
> gstelement.c:1763:gst_element_message_full:<tividdec20> posting message:
> failed to start codec
>
> 0:00:02.203623260  1110    0xcf600 INFO        GST_ERROR_SYSTEM
> gstelement.c:1786:gst_element_message_full:<tividdec20> posted error
> message: failed to start codec
>
> gst-launch-0.10: BufTab.c:440: BufTab_getNumBufs: Assertion `hBufTab'
> failed.
> 0:00:02.208695667  1110    0xca6e8 WARN               TIViddec2
> gsttividdec2.c:1034:gst_tividdec2_init_video:<tividdec20> error: decode
> thread failed to create circbuf or display buffer handles
>
> 0:00:02.210385482  1110    0xca6e8 INFO        GST_ERROR_SYSTEM
> gstelement.c:1763:gst_element_message_full:<tividdec20> posting message:
> decode thread failed to create circbuf or display buffer handles
>
> ERROR: from element /GstPipeline:pipeline0/GstTIViddec2:tividdec20: failed
> to create video decoder: h264enc
>
> Additional debug info:
> gsttividdec2.c(1278): gst_tividdec2_codec_start ():
> /GstPipeline:pipeline0/GstTIViddec2:tividdec20
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> 0:00:02.222830630  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2238:gst_element_continue_state:<tidmaivideosink0> completed
> state change to READY
> 0:00:02.224198704  1110    0x150a8 INFO              GST_STATES
> gstelement.c:2251:gst_element_continue_state:<tidmaivideosink0> posting
> state-changed READY to READY
> 0:00:02.225617630  1110    0x150a8 INFO              GST_STATES
> gstbin.c:2425:gst_bin_change_state_func:<pipeline0> child 'tidmaivideosink0'
> changed state to 2(READY) successfully
> 0:00:02.227826704  1110    0xca6e8 INFO        GST_ERROR_SYSTEM
> gstelement.c:1786:gst_element_message_full:<tividdec20> posted error
> message: decode thread failed to create circbuf or display buffer handles
>
> 0:00:02.229330519  1110    0xca6e8 WARN               TIViddec2
> gsttividdec2.c:903:gst_tividdec2_chain:<tividdec20> error: unable to
> initialize video
>
> 0:00:02.230915334  1110    0xca6e8 INFO        GST_ERROR_SYSTEM
> gstelement.c:1763:gst_element_message_full:<tividdec20> posting message:
> unable to initialize video
>
> 0:00:02.232324334  1110    0xca6e8 INFO        GST_ERROR_SYSTEM gstelem
> ent.c:1786:gst_element_message_full:<tividdec20> posted error message:
> unable to initialize video
>
> 0:00:02.233696186  1110    0xca6e8 INFO                 basesrc
> gstbasesrc.c:2326:gst_base_src_loop:<filesrc0> pausing after gst_pad_push()
> = unexpected
> 0:00:02.234925593  1110    0xca6e8 INFO               GST_EVENT
> gstpad.c:5003:gst_pad_send_event:<tividdec20:sink> Received event on
> flushing pad. Discarding
> </snip>
> Thanks a lot!
>
> Best Wishes,
> Yaohui Hu
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110519/f98f663f/attachment.htm>


More information about the gstreamer-devel mailing list