This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

gst-launch example error

Other Parts Discussed in Thread: TVP7002

I'm using latest EZSDK 5.05.02.00 on DM816x EVM rev. G.? all by default.

i'm move /usr/share/ti/ti-media-controller-utils/load-hd-v4l2-firmware.sh to /etc/init.d/load-hd-firmware.sh

v4l2 and tvp7002 module load success.

FIRMWARE: 2 start Successful
VPSS_FVID2: M3 firmware version 0x1000145 is newer,driver may not work properly.
tvp7002 2-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)
tvp7002 2-005d: Rev. 02 detected.
ti81xxvin ti81xxvin: registered sub device tvp7002
ti81xxvin ti81xxvin: TI81xx HDVPSS Capture driver initialized
HDMI W1 rev 2.0
HDMI CEC Spec version 1.2
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
Starting Matrix GUI application.


....


root@dm816x-evm:~# lsmod
Module                  Size  Used by
ti81xxhdmi             17685  0
ti81xxvin              20388  0
tvp7002                 6405  1
ti81xxvo               21210  0
ti81xxfb               21979  0
vpss                   75009  4 ti81xxhdmi,ti81xxvin,ti81xxvo,ti81xxfb
syslink              1134279  0
ipv6                  209855  12




And I get:


root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# /etc/init.d/pvr-init st
op
Stopping PVR
root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# /etc/init.d/matrix-gui-
e stop
Stopping Matrix GUI application.
root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# gst-launch -e --gst-deb
ug=3 --verbose v4l2src device="/dev/video0" always-copy=false queue-size=12 num-
buffers=-1 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1920,height=1080,f
ramerate=(fraction)60/1' ! omxbufferalloc silent=false numBuffers=12 ! omx_scale
r ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false


0:00:00.014394434  1487    0x16050 INFO                GST_INIT gstquery.c:108:_gst_query_initialize: init queries
0:00:00.019086211  1487    0x16050 INFO                GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.020250104  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.021045441  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.021126515  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.027035277  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1599:ensure_current_registry: reading registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
0:00:00.126458412  1487    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /home/root/.gstreamer-0.10/registry.arm.bin in 0.099276 seconds
0:00:00.126867004  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1469:scan_and_update_registry: Validating plugins from registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
0:00:00.134260889  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1219:gst_registry_scan_path_level:<registry0> cached info for /usr/lib/gstreamer-0.10/libgstlibvisual.so is stale
0:00:00.176937552  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1219:gst_registry_scan_path_level:<registry0> cached info for /usr/lib/gstreamer-0.10/libgstfrei0r.so is stale
0:00:00.272820182  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1570:scan_and_update_registry: Registry cache changed. Writing new registry cache
0:00:00.273018405  1487    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:364:gst_registry_binary_write_cache: Building binary registry cache image
0:00:00.323220368  1487    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:396:gst_registry_binary_write_cache: Writing binary registry cache
0:00:00.463552886  1487    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:258:gst_registry_binary_cache_finish: Wrote binary registry cache
0:00:00.463714590  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1578:scan_and_update_registry: Registry cache written successfully
0:00:00.463769145  1487    0x16050 INFO            GST_REGISTRY gstregistry.c:1628:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.463815145  1487    0x16050 INFO                GST_INIT gst.c:792:init_post: GLib runtime version: 2.24.1
0:00:00.463865368  1487    0x16050 INFO                GST_INIT gst.c:794:init_post: GLib headers version: 2.24.1
0:00:00.464107182  1487    0x16050 INFO            GST_PIPELINE gstparse.c:299:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video0 always-copy=false queue-size=12 num-buffers=-1 ! video/x-raw-yuv-strided,format=(fourcc)NV12,width=800,height=480,framerate=(fraction)60/1 ! omxbufferalloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false '
0:00:00.476084775  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:00.476202775  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "v4l2src"
0:00:00.479566294  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSrc@0x1f8010> adding pad 'src'
0:00:00.838869183  1487    0x16050 INFO                     omx gstomx_videomixer.c:2183:init_interfaces: GstChildProxy interface registered
0:00:00.839066479  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstomx.so" loaded
0:00:00.839144257  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omxbufferalloc"
0:00:00.839898553  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstomxBufferAlloc@0x1fc050> adding pad 'sink'
0:00:00.839984553  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstomxBufferAlloc@0x1fc050> adding pad 'src'
0:00:00.840194035  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_scaler"
0:00:00.841446220  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x1fe060> adding pad 'sink'
0:00:00.841539220  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x1fe060> adding pad 'src'
0:00:00.841875331  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_ctrl"
0:00:00.842505145  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x201030> adding pad 'sink'
0:00:00.842677516  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x201030> adding pad 'src'
0:00:00.842962627  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_videosink"
0:00:00.843909516  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSink@0x2042a8> adding pad 'sink'
0:00:00.969590109  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "pipeline"
0:00:00.970175739  1487    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking v4l2src0:(any) to omxbufferalloc0:(any) (0/0) with caps "0x133820"
0:00:00.974090998  1487    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
0:00:00.974201294  1487    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "capsfilter"
0:00:00.974752849  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x208030> adding pad 'sink'
0:00:00.974968775  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x208030> adding pad 'src'
0:00:00.975127738  1487    0x16050 INFO              GST_STATES gstbin.c:1759:gst_bin_get_state_func:<pipeline0> getting state
0:00:00.975284998  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:00.975428331  1487    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink
0:00:00.975496627  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:00.975558183  1487    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads
0:00:00.975710886  1487    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink
0:00:00.976609072  1487    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful
0:00:00.976778072  1487    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element capsfilter0:src to element omxbufferalloc0:(any)
0:00:00.976843183  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:src
0:00:00.976905997  1487    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link capsfilter0:src and omxbufferalloc0:sink
0:00:00.979402591  1487    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: capsfilter0 and omxbufferalloc0 in same bin, no need for ghost pads
0:00:01.315397331  1487    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link capsfilter0:src and omxbufferalloc0:sink
0:00:01.317681072  1487    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked capsfilter0:src and omxbufferalloc0:sink, successful
0:00:01.317839072  1487    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxbufferalloc0:(any) to omxscaler0:(any) (0/0) with caps "(nil)"
0:00:01.317907850  1487    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxbufferalloc0:(any) to element omxscaler0:(any)
0:00:01.317974887  1487    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxbufferalloc0:src and omxscaler0:sink
0:00:01.320166591  1487    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxbufferalloc0 and omxscaler0 in same bin, no need for ghost pads
0:00:01.320276665  1487    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxbufferalloc0:src and omxscaler0:sink
0:00:01.322445479  1487    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxbufferalloc0:src and omxscaler0:sink, successful
0:00:01.322571072  1487    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxscaler0:(any) to omxbasectrl0:(any) (0/0) with caps "(nil)"
0:00:01.322635146  1487    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxscaler0:(any) to element omxbasectrl0:(any)
0:00:01.322698887  1487    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxscaler0:src and omxbasectrl0:sink
0:00:01.322765701  1487    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxscaler0 and omxbasectrl0 in same bin, no need for ghost pads
0:00:01.322849405  1487    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxscaler0:src and omxbasectrl0:sink
0:00:01.322918368  1487    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxscaler0:src and omxbasectrl0:sink, successful
0:00:01.323016924  1487    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxbasectrl0:(any) to omxvideosink0:(any) (0/0) with caps "(nil)"
0:00:01.323074590  1487    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxbasectrl0:(any) to element omxvideosink0:(any)
0:00:01.323132961  1487    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxbasectrl0:src and omxvideosink0:sink
0:00:01.323288368  1487    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxbasectrl0 and omxvideosink0 in same bin, no need for ghost pads
0:00:01.323379775  1487    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxbasectrl0:src and omxvideosink0:sink
0:00:01.658570183  1487    0x16050 INFO                     omx gstomx_base_sink.c:504:pad_sink_link:<omxvideosink0> link
0:00:02.739552887  1487    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxbasectrl0:src and omxvideosink0:sink, successful
Setting pipeline to PAUSED ...
0:00:02.742412294  1487    0x16050 INFO                     omx gstomx_base_sink.c:113:change_state:<omxvideosink0> changing state NULL - READY
0:00:02.742527368  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxvideosink0> completed state change to READY
0:00:02.742589739  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxvideosink0> posting state-changed NULL to READY
0:00:02.742775701  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxvideosink0' changed state to 2(READY) successfully
0:00:02.742873183  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbasectrl0> completed state change to READY
0:00:02.742928813  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbasectrl0> posting state-changed NULL to READY
0:00:02.743007998  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbasectrl0' changed state to 2(READY) successfully
0:00:02.743083627  1487    0x16050 INFO                     omx gstomx_base_filter.c:153:change_state:<omxscaler0> begin: changing state NULL -> READY
0:00:02.778987443  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxscaler0> completed state change to READY
0:00:02.779108480  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxscaler0> posting state-changed NULL to READY
0:00:02.779232294  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxscaler0' changed state to 2(READY) successfully
0:00:02.779341220  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbufferalloc0> completed state change to READY
0:00:02.779399517  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbufferalloc0> posting state-changed NULL to READY
0:00:02.779478294  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbufferalloc0' changed state to 2(READY) successfully
0:00:02.779550109  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:02.779603257  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<capsfilter0> posting state-changed NULL to READY
0:00:02.779676628  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) successfully
0:00:02.780125887  1487    0x16050 INFO                    v4l2 v4l2_calls.c:480:gst_v4l2_open:<v4l2src0> Opened device 'TI81xx_catalogue' (/dev/video0) successfully
0:00:02.780295591  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<v4l2src0> completed state change to READY
0:00:02.780359257  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<v4l2src0> posting state-changed NULL to READY
0:00:02.780492516  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 2(READY) successfully
0:00:02.780594183  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:03.117779850  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:03.118027183  1487    0x16050 INFO                     omx gstomx_base_sink.c:113:change_state:<omxvideosink0> changing state READY - PAUSED
0:00:03.118198220  1487    0x16050 INFO              GST_STATES gstbin.c:2498:gst_bin_change_state_func:<pipeline0> child 'omxvideosink0' is changing state asynchronously to PAUSED
0:00:03.139450998  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbasectrl0> completed state change to PAUSED
0:00:03.139571961  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbasectrl0> posting state-changed READY to PAUSED
0:00:03.139690591  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbasectrl0' changed state to 3(PAUSED) successfully
0:00:03.139791517  1487    0x16050 INFO                     omx gstomx_base_filter.c:153:change_state:<omxscaler0> begin: changing state READY -> PAUSED
0:00:03.139881554  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxscaler0> completed state change to PAUSED
0:00:03.139937665  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxscaler0> posting state-changed READY to PAUSED
0:00:03.140015331  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxscaler0' changed state to 3(PAUSED) successfully
0:00:03.140112665  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbufferalloc0> completed state change to PAUSED
0:00:03.140168479  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbufferalloc0> posting state-changed READY to PAUSED
0:00:03.140241405  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbufferalloc0' changed state to 3(PAUSED) successfully
0:00:03.140335405  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:03.140418109  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<capsfilter0> posting state-changed READY to PAUSED
0:00:03.140496554  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) successfully
0:00:03.140689702  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1036:gst_v4l2_object_fill_format_list:<v4l2src0> got 4 format(s):
0:00:03.140746665  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1042:gst_v4l2_object_fill_format_list:<v4l2src0>   NV12
0:00:03.140792294  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1042:gst_v4l2_object_fill_format_list:<v4l2src0>   YUYV
0:00:03.140834591  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1042:gst_v4l2_object_fill_format_list:<v4l2src0>   RGB3
0:00:03.140876220  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1042:gst_v4l2_object_fill_format_list:<v4l2src0>   NV16
0:00:03.476907590  1487    0x16050 INFO                 v4l2src gstv4l2src.c:611:gst_v4l2src_get_caps:<v4l2src0> probed caps: 0x207aa0

 Mode set is 0
0:00:03.479407331  1487    0x16050 INFO                    v4l2 gstv4l2object.c:1525:gst_v4l2_object_get_caps_info:<v4l2src0> rowstride: 800
0:00:03.479491702  1487    0x16050 WARN                 basesrc gstbasesrc.c:2778:gst_base_src_start:<v4l2src0> error: Could not negotiate format
0:00:03.479541517  1487    0x16050 WARN                 basesrc gstbasesrc.c:2778:gst_base_src_start:<v4l2src0> error: Check your filtered caps, if any
0:00:03.479673220  1487    0x16050 INFO        GST_ERROR_SYSTEM gstelement.c:1865:gst_element_message_full:<v4l2src0> posting message: Could not negotiate format
0:00:03.479797813  1487    0x16050 INFO        GST_ERROR_SYSTEM gstelement.c:1888:gst_element_message_full:<v4l2src0> posted error message: Could not negotiate format
0:00:03.479873998  1487    0x16050 WARN                 basesrc gstbasesrc.c:2974:gst_base_src_activate_push:<v4l2src0> Failed to start in push mode
0:00:03.479922628  1487    0x16050 INFO                GST_PADS gstpad.c:983:gst_pad_activate_push:<v4l2src0:src> failed to activate in push mode
0:00:03.479978368  1487    0x16050 WARN                GST_PADS gstpad.c:734:gst_pad_set_active:<v4l2src0:src> Failed to activate pad
0:00:03.480037591  1487    0x16050 INFO              GST_STATES gstelement.c:2658:gst_element_change_state:<v4l2src0> have FAILURE change_state return
0:00:03.480090628  1487    0x16050 INFO              GST_STATES gstelement.c:2235:gst_element_abort_state:<v4l2src0> aborting state from READY to PAUSED
0:00:03.480144183  1487    0x16050 INFO              GST_STATES gstbin.c:2508:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' failed to go to state 3(PAUSED)
0:00:03.480232331  1487    0x16050 INFO              GST_STATES gstelement.c:2658:gst_element_change_state:<pipeline0> have FAILURE change_state return
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
0:00:03.482074183  1487    0x16050 INFO                     omx gstomx_base_sink.c:113:change_state:<omxvideosink0> changing state PAUSED - READY
0:00:03.482285442  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<omxvideosink0> committing state from READY to READY, pending NULL, next NULL
0:00:03.482374183  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<omxvideosink0> continue state change READY to NULL, final NULL
0:00:03.482431072  1487    0x16050 INFO                     omx gstomx_base_sink.c:113:change_state:<omxvideosink0> changing state READY - NULL
0:00:03.482503664  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxvideosink0> completed state change to NULL
0:00:03.818268665  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxvideosink0> posting state-changed READY to NULL
0:00:03.818405850  1487    0x16050 INFO       Assertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
       GST_STATEAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
S gstbin.c:2492:Assertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
gst_bin_change_sAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
tate_func:<pipelAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
ine0> childAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
 'omxvideosink0'Assertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
 changed state tAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
o 1(NULL) succesAssertion at Line no: 380 in /swcoe/sdk/cm/netra/arago-tmp/work/dm816x-evm-none-linux-gnueabi/ti-syslink-2_20_02_20-r4j/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/ResTrack.c: (elem == NULL) : failed
sfully
0:00:03.838082702  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<omxbasectrl0> committing state from PAUSED to READY, pending NULL, next NULL
0:00:03.838241554  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<omxbasectrl0> continue state change READY to NULL, final NULL
0:00:03.838332183  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbasectrl0> completed state change to NULL
0:00:03.838390146  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbasectrl0> posting state-changed READY to NULL
0:00:03.838471146  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbasectrl0' changed state to 1(NULL) successfully
0:00:03.838559850  1487    0x16050 INFO                     omx gstomx_base_filter.c:153:change_state:<omxscaler0> begin: changing state PAUSED -> READY
0:00:03.838686035  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<omxscaler0> committing state from PAUSED to READY, pending NULL, next NULL
0:00:03.838773406  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<omxscaler0> continue state change READY to NULL, final NULL
0:00:03.838828035  1487    0x16050 INFO                     omx gstomx_base_filter.c:153:change_state:<omxscaler0> begin: changing state READY -> NULL
0:00:03.859434517  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxscaler0> completed state change to NULL
0:00:03.859539368  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxscaler0> posting state-changed READY to NULL
0:00:03.859650331  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxscaler0' changed state to 1(NULL) successfully
0:00:03.859799924  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<omxbufferalloc0> committing state from PAUSED to READY, pending NULL, next NULL
0:00:03.859889554  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<omxbufferalloc0> continue state change READY to NULL, final NULL
0:00:04.109003886  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<omxbufferalloc0> completed state change to NULL
0:00:04.109125664  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<omxbufferalloc0> posting state-changed READY to NULL
0:00:04.109247442  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxbufferalloc0' changed state to 1(NULL) successfully
0:00:04.109412220  1487    0x16050 INFO              GST_STATES gstelement.c:2314:gst_element_continue_state:<capsfilter0> committing state from PAUSED to READY, pending NULL, next NULL
0:00:04.109505442  1487    0x16050 INFO              GST_STATES gstelement.c:2323:gst_element_continue_state:<capsfilter0> continue state change READY to NULL, final NULL
0:00:04.109586146  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:04.109638146  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<capsfilter0> posting state-changed READY to NULL
0:00:04.444758516  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 1(NULL) successfully
0:00:04.445011590  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<v4l2src0> completed state change to NULL
0:00:04.445081516  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<v4l2src0> posting state-changed READY to NULL
0:00:04.445167293  1487    0x16050 INFO              GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 1(NULL) successfully
0:00:04.445362404  1487    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<pipeline0> completed state change to NULL
0:00:04.445420701  1487    0x16050 INFO              GST_STATES gstelement.c:2354:gst_element_continue_state:<pipeline0> posting state-changed READY to NULL
0:00:04.445518034  1487    0x16050 INFO              GST_STATES gstbin.c:1759:gst_bin_get_state_func:<pipeline0> getting state
Freeing pipeline ...
0:00:04.445746997  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:gst_pad_unlink: unlinking capsfilter0:src(0x1f7710) and omxbufferalloc0:sink(0x1f70d0)
0:00:04.445871182  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gst_pad_unlink: unlinked capsfilter0:src and omxbufferalloc0:sink
0:00:04.445975108  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:gst_pad_unlink: unlinking v4l2src0:src(0x1f7008) and capsfilter0:sink(0x1f7648)
0:00:04.446105479  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink
0:00:04.446225812  1487    0x16050 INFO           GST_PARENTAGE gstbin.c:1440:gst_bin_remove_func:<pipeline0> removed child "capsfilter0"
0:00:04.446329886  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:2955:gst_element_dispose:<capsfilter0> dispose
0:00:04.446386701  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:835:gst_element_remove_pad:<capsfilter0> removing pad 'src'
0:00:04.446492849  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:835:gst_element_remove_pad:<capsfilter0> removing pad 'sink'
0:00:04.446572738  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:2979:gst_element_dispose:<capsfilter0> parent class dispose
0:00:04.446633849  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:3010:gst_element_finalize:<capsfilter0> finalize
0:00:04.446689108  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:3021:gst_element_finalize:<capsfilter0> finalize parent
0:00:04.446753404  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:gst_pad_unlink: unlinking omxbasectrl0:src(0x1f74b8) and omxvideosink0:sink(0x1f7580)
0:00:04.446844960  1487    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gst_pad_unlink: unlinked omxbasectrl0:src and omxvideosink0:sink
0:00:04.782315553  1487    0x16050 INFO           GST_PARENTAGE gstbin.c:1440:gst_bin_remove_func:<pipeline0> removed child "omxvideosink0"
0:00:04.782413256  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:2955:gst_element_dispose:<omxvideosink0> dispose
0:00:04.782471368  1487    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:835:gst_element_remove_pad:<omxvideosink0> removing pad 'sink'
0:00:04.782551331  1487    0x16050 INFO         GST_REFCOUNTING gstelement.c:2979:gst_element_dispose:<omxvideosink0> parent class dispose
gst-launch-0.10: OmxRpcStub.c:1432: OmxRpc_stubGetState: Assertion `(1 == OmxRpc_module->localCoreRcmServer.initDone)' failed.
Aborted
root@dm816x-evm:/usr/share/ti/ti-media-controller-utils#

If launch second, get other error:



root@dm816x-evm:~# gst-launch -e --gst-debug=3 --verbose v4l2src device="/dev/vi
deo0" always-copy=false queue-size=12 num-buffers=-1 ! 'video/x-raw-yuv-strided,
format=(fourcc)NV12,width=1920,height=1080,framerate=(fraction)60/1' ! omxbuffer
alloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MOD
E_1080P_60  ! omx_videosink sync=false
0:00:00.014467905  1496    0x16050 INFO                GST_INIT gstquery.c:108:_gst_query_initialize: init queries
0:00:00.019066974  1496    0x16050 INFO                GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.020178556  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.021223361  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.021310694  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.028972372  1496    0x16050 INFO            GST_REGISTRY gstregistry.c:1599:ensure_current_registry: reading registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
0:00:00.129807035  1496    0x16050 INFO            GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /home/root/.gstreamer-0.10/registry.arm.bin in 0.100691 seconds
0:00:00.130214999  1496    0x16050 INFO            GST_REGISTRY gstregistry.c:1469:scan_and_update_registry: Validating plugins from registry cache: /home/root/.gstreamer-0.10/registry.arm.bin
0:00:00.196191242  1496    0x16050 INFO            GST_REGISTRY gstregistry.c:1561:scan_and_update_registry: Registry cache has not changed
0:00:00.196348464  1496    0x16050 INFO            GST_REGISTRY gstregistry.c:1628:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.196405650  1496    0x16050 INFO                GST_INIT gst.c:792:init_post: GLib runtime version: 2.24.1
0:00:00.196455538  1496    0x16050 INFO                GST_INIT gst.c:794:init_post: GLib headers version: 2.24.1
0:00:00.196670205  1496    0x16050 INFO            GST_PIPELINE gstparse.c:299:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video0 always-copy=false queue-size=12 num-buffers=-1 ! video/x-raw-yuv-strided,format=(fourcc)NV12,width=1920,height=1080,framerate=(fraction)60/1 ! omxbufferalloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink sync=false '
0:00:00.206594941  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:00.206709978  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "v4l2src"
0:00:00.209979495  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSrc@0x154060> adding pad 'src'
0:00:00.225110607  1496    0x16050 INFO                     omx gstomx_videomixer.c:2183:init_interfaces: GstChildProxy interface registered
0:00:00.225251273  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstomx.so" loaded
0:00:00.225321496  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omxbufferalloc"
0:00:00.226105903  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstomxBufferAlloc@0x159858> adding pad 'sink'
0:00:00.226195348  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstomxBufferAlloc@0x159858> adding pad 'src'
0:00:00.226404570  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_scaler"
0:00:00.227737311  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x15c048> adding pad 'sink'
0:00:00.227830163  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x15c048> adding pad 'src'
0:00:00.228127496  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_ctrl"
0:00:00.228744608  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x15e038> adding pad 'sink'
0:00:00.228915978  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x15e038> adding pad 'src'
0:00:00.229201237  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_videosink"
0:00:00.230156534  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSink@0x1622c0> adding pad 'sink'
0:00:00.358806315  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "pipeline"
0:00:00.359451129  1496    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking v4l2src0:(any) to omxbufferalloc0:(any) (0/0) with caps "0x133220"
0:00:00.363208574  1496    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
0:00:00.363319055  1496    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "capsfilter"
0:00:00.363901278  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x1660c0> adding pad 'sink'
0:00:00.364090982  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseTransform@0x1660c0> adding pad 'src'
0:00:00.364232834  1496    0x16050 INFO              GST_STATES gstbin.c:1759:gst_bin_get_state_func:<pipeline0> getting state
0:00:00.364391352  1496    0x16050 INFO              GST_STATES gstelement.c:2341:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:00.364532685  1496    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink
0:00:00.364636278  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:00.700735833  1496    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads
0:00:00.700922981  1496    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink
0:00:00.701687611  1496    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful
0:00:00.701839462  1496    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element capsfilter0:src to element omxbufferalloc0:(any)
0:00:00.701903499  1496    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad capsfilter0:src
0:00:00.701967314  1496    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link capsfilter0:src and omxbufferalloc0:sink
0:00:00.704388536  1496    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: capsfilter0 and omxbufferalloc0 in same bin, no need for ghost pads
0:00:00.704506092  1496    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link capsfilter0:src and omxbufferalloc0:sink
0:00:00.706722758  1496    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked capsfilter0:src and omxbufferalloc0:sink, successful
0:00:00.706857870  1496    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxbufferalloc0:(any) to omxscaler0:(any) (0/0) with caps "(nil)"
0:00:00.706923610  1496    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxbufferalloc0:(any) to element omxscaler0:(any)
0:00:00.706985499  1496    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxbufferalloc0:src and omxscaler0:sink
0:00:00.709209684  1496    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxbufferalloc0 and omxscaler0 in same bin, no need for ghost pads
0:00:00.709313795  1496    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxbufferalloc0:src and omxscaler0:sink
0:00:00.711501314  1496    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxbufferalloc0:src and omxscaler0:sink, successful
0:00:00.711624240  1496    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxscaler0:(any) to omxbasectrl0:(any) (0/0) with caps "(nil)"
0:00:00.711685128  1496    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxscaler0:(any) to element omxbasectrl0:(any)
0:00:00.711746869  1496    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxscaler0:src and omxbasectrl0:sink
0:00:00.711813351  1496    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxscaler0 and omxbasectrl0 in same bin, no need for ghost pads
0:00:01.046729204  1496    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxscaler0:src and omxbasectrl0:sink
0:00:01.046820870  1496    0x16050 INFO                GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxscaler0:src and omxbasectrl0:sink, successful
0:00:01.046928389  1496    0x16050 INFO            GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxbasectrl0:(any) to omxvideosink0:(any) (0/0) with caps "(nil)"
0:00:01.046988611  1496    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxbasectrl0:(any) to element omxvideosink0:(any)
0:00:01.047050796  1496    0x16050 INFO                GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxbasectrl0:src and omxvideosink0:sink
0:00:01.047214389  1496    0x16050 INFO                GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxbasectrl0 and omxvideosink0 in same bin, no need for ghost pads
0:00:01.047306722  1496    0x16050 INFO                GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxbasectrl0:src and omxvideosink0:sink
0:00:01.047435611  1496    0x16050 INFO                     omx gstomx_base_sink.c:504:pad_sink_link:<omxvideosink0> link
gst-launch-0.10: OmxRpc.c:624: OmxRpc_Instance_init: Assertion `(OmxRpc_errorNone == retVal)' failed.
Aborted
root@dm816x-evm:~#

  • Hello,

    okhinriy said:
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
    Additional debug info:
    gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Check your filtered caps, if any
    Setting pipeline to NULL ...

    This error 'Could not negotiate format' indicates some params are not set right in GstV4l2Src/V4l2 driver layer or not supported by camera, but gstreamer component is asking. So, it is better to try capture using only V4l2 level, with out Gstreamer and make it work. After that try with Gstreamer.


    Could  you please try with capture sample examples. You have connected component input right with proper color coding right? Check here about the examples:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide

    Chapter : 8 Sample Applications

    You could try to add to the pipeline --gst-debug=v4l2:5 too.

    Or you could try to change the format:

    gst-launch --gst-debug=3 -v v4l2src always-copy=false queue-size=12  ! 'video/x-raw-yuv-strided,format=(fourcc)YUYV,width=1920,height=1080,framerate=(fraction)60/1' !  omxbufferalloc numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf  ! omx_videosink

    You could use ffmpegcolorspace element in the pipeline, but I don't recommend this only if it is necessary.

    Best Regards,

    Margarita