Gstreamer v4l2src could not negotiate format

yemi yemio at worrell.com
Fri Jun 14 08:42:32 PDT 2013


Hi,

I am working on a IMX25 microprocessor and i have been stuck for almost a
week trying to capture images from the camera using the v4l2src element. we
have written a camera driver and have also written an application that can
capture images from the camera. Below is my pipeline:

gst-launch -v --gst-debug=3 v4l2src ! ffenc_flv ! flvmux ! filesink
location=video3.flv

Below is the error i am getting:

0:00:00.007979174  1873    0x18050 INFO                GST_INIT
gstquery.c:107:_gst_query_initialize: init queries
0:00:00.051531882  1873    0x18050 INFO                GST_INIT
gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.059778048  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.067623011  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:255:gst_plugin_register_static: registered static plugin
"staticelements"
0:00:00.068400530  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:257:gst_plugin_register_static: added static plugin
"staticelements", result: 1
0:00:00.082162561  1873    0x18050 INFO            GST_REGISTRY
gstregistry.c:1648:ensure_current_registry: reading registry cache:
/root/.gstreamer-0.10/registry.arm.bin
0:00:00.924772326  1873    0x18050 INFO            GST_REGISTRY
gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded
/root/.gstreamer-0.10/registry.arm.bin in s
0:00:00.926870371  1873    0x18050 INFO            GST_REGISTRY
gstregistry.c:1518:scan_and_update_registry: Validating plugins from
registry cache: /root/.gstreamer-0.1n
0:00:01.144231734  1873    0x18050 INFO            GST_REGISTRY
gstregistry.c:1610:scan_and_update_registry: Registry cache has not changed
0:00:01.144909704  1873    0x18050 INFO            GST_REGISTRY
gstregistry.c:1683:ensure_current_registry: registry reading and updating
done, result = 1
0:00:01.145375569  1873    0x18050 INFO                GST_INIT
gst.c:805:init_post: GLib runtime version: 2.28.8
0:00:01.146207825  1873    0x18050 INFO                GST_INIT
gst.c:807:init_post: GLib headers version: 2.28.8
0:00:01.147829028  1873    0x18050 INFO            GST_PIPELINE
gstparse.c:334:gst_parse_launch_full: parsing pipeline description 'v4l2src
! video/x-raw-yuv,width=640,h'
0:00:01.202106095  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:01.202790832  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"v4l2src"
0:00:01.224742260  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseSrc at 0xfa030> adding pad 'src'
0:00:01.475227216  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_4xm
0:00:01.478540902  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_aiff
0:00:01.484129022  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_avs
0:00:01.486951203  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_daud
0:00:01.489384587  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_dv
0:00:01.492009624  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ea
0:00:01.494689474  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ffm
0:00:01.497251955  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_flic
0:00:01.499559925  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_flv
0:00:01.502047293  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_gif
0:00:01.504411203  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_gxf
0:00:01.507025941  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_idcin
0:00:01.509541279  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_RoQ
0:00:01.511897143  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ipmovie
0:00:01.515137820  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mm
0:00:01.517596994  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mmf
0:00:01.522461730  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mpegts
0:00:01.524943760  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mxf
0:00:01.527565190  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nsv
0:00:01.529951806  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nut
0:00:01.532464513  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nuv
0:00:01.534964588  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_psxstr
0:00:01.537736243  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ingenient
0:00:01.540908123  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_film_cpk
0:00:01.543433837  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_vmd
0:00:01.546086394  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_smk
0:00:01.548619702  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_sol
0:00:01.883699618  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_swf
0:00:01.886883303  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_voc
0:00:01.890170822  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wc3movie
0:00:01.892502100  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wsaud
0:00:01.895295107  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wsvqa
0:00:01.898085259  1873    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_yuv4mpegpipe
0:00:01.943452705  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstffmpeg.so" loaded
0:00:01.944112479  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"ffenc_flv"
0:00:01.980022557  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<ffenc_flv at 0x13e278> adding pad 'sink'
0:00:01.981003159  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<ffenc_flv at 0x13e278> adding pad 'src'
0:00:02.006633612  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstflv.so" loaded
0:00:02.007437822  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"flvmux"
0:00:02.021500454  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstFlvMux at 0x142048> adding pad 'src'
0:00:02.044770079  1873    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
0:00:02.045426245  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"filesink"
0:00:02.052120832  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseSink at 0x146018> adding pad
'sink'
0:00:02.054859629  1873    0x18050 INFO                filesink
gstfilesink.c:301:gst_file_sink_set_location: filename : video3.flv
0:00:02.055486847  1873    0x18050 INFO                filesink
gstfilesink.c:302:gst_file_sink_set_location: uri      :
file:///unit_tests/video3.flv
0:00:02.056615795  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"pipeline"
0:00:02.061984291  1873    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking v4l2src0:(any) to
ffenc_flv0:(any) (0/0) with caps "0x6cb"
0:00:02.063069704  1873    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"capsfilter"
0:00:02.068538050  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseTransform at 0x14a000> adding pad
'sink'
0:00:02.070326471  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseTransform at 0x14a000> adding pad
'src'
0:00:02.071728501  1873    0x18050 INFO              GST_STATES
gstbin.c:1784:gst_bin_get_state_func:<pipeline0> getting state
0:00:02.073166847  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<capsfilter0> completed state
change to NULL
0:00:02.074717223  1873    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
v4l2src0:(any) to element capsfilter0:k
0:00:02.075812562  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:975:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:02.076697524  1873    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in
same bin, no need for ghost pads
0:00:02.078314818  1873    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link v4l2src0:src and
capsfilter0:sink
0:00:02.084028201  1873    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink,
successful
0:00:02.085793991  1873    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
capsfilter0:src to element ffenc_flv0:)
0:00:02.086618878  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:975:gst_element_get_static_pad: found pad capsfilter0:src
0:00:02.419759470  1873    0x18050 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying to link capsfilter0:src and
ffenc_flv0:sink
0:00:02.516364515  1873    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: capsfilter0 and ffenc_flv0 in
same bin, no need for ghost pas
0:00:02.517623236  1873    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link capsfilter0:src and
ffenc_flv0:sink
0:00:02.523640605  1873    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked capsfilter0:src and ffenc_flv0:sink,
successful
0:00:02.525064063  1873    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking ffenc_flv0:(any) to
flvmux0:(any) (0/0) with caps "(nil)"
0:00:02.526129252  1873    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
ffenc_flv0:(any) to element flvmux0:(a)
0:00:02.529903086  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<flvmux0> adding pad 'video'
0:00:02.530782936  1873    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: ffenc_flv0 and flvmux0 in same
bin, no need for ghost pads
0:00:02.531978124  1873    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link ffenc_flv0:src and
flvmux0:video
0:00:02.532903237  1873    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked ffenc_flv0:src and flvmux0:video,
successful
0:00:02.534265041  1873    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking flvmux0:(any) to
filesink0:(any) (0/0) with caps "(nil)"
0:00:02.535013086  1873    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
flvmux0:(any) to element filesink0:(an)
0:00:02.536017749  1873    0x18050 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying to link flvmux0:src and
filesink0:sink
0:00:02.536990155  1873    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: flvmux0 and filesink0 in same
bin, no need for ghost pads
0:00:02.538150455  1873    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link flvmux0:src and
filesink0:sink
0:00:02.538927824  1873    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked flvmux0:src and filesink0:sink,
successful
Setting pipeline to PAUSED ...
0:00:02.612795946  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<filesink0> completed state
change to READY
0:00:02.613620833  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<filesink0> notifying
about state-changed NULL to READY)
0:00:02.615398277  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'filesink0'
changed state to 2(READY) successfuy
0:00:02.616655721  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<flvmux0> completed state
change to READY
0:00:02.617432112  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmux0> notifying about
state-changed NULL to READY ()
0:00:02.618379631  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'flvmux0' changed
state to 2(READY) successfully
0:00:02.619456022  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffenc_flv0> completed state
change to READY
0:00:02.620182864  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed NULL to READ)
0:00:02.621041210  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffenc_flv0'
changed state to 2(READY) successfy
0:00:02.622078277  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<   device name is Mx25 Camera
capsfilter0> completed statIn ov7690_ioctl_g_ifparm
e change to READY
0:00:02.62283FSL: In csi_enable_mclk
0608  1873    0x18050FSL: In csi_mclk_enable
 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<capsfilter0> notifying
about state-changed NULL to READY (VOID_PENDING pending)
0:00:02.956755338   Enable csi clock from source 8
  1873    0x18050 n ov7690_ioctl_init
2;01mINFO          ov7690_configure: RGB565
       GST_STATES gstbin.c:2526:   ov7690_configure: write pixel format
gst_bin_change_state_func:<pipeli2c-adapter i2c-0: master_xfer[0] W,
addr=0x21, len=2, ine0> child 'capsfilter0' c0x12, hanged state to 2(READY)
success0x06, fully
0:00:02.957871579  
1873    0x18050 INFO                    v4l2
v4l2_calls.c:423:gst_v4l2_open:<v4l2src0> imhere
0:00:02.958366691  1873   i2c-adapter i2c-0: master_xfer[0] W, addr=0x21,
len=2,  0x18050 INFO    82, 00m                v4l2 v4l2_cal0x03,
ls.c:433:gst_v4l2_open:<v4l2s0
> imhere 2
0:00:02.959065113  1873    0x18050 INFO                    v4l2
v4l2_calls.c:446:gst_v4l2_open:<v4l2src0> imhere 3
0:00:02.9i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 59506616 
1873    0x10x3e, 8050 INFO     0x30,                v4l2 v4l2_calls.c
:453:gst_v4l2_open:<v4l2src0> imhere4
   ov7690_configure: write size - vga
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x16, 0x03, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x17, 0x69, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x18, 0xa4, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x19, 0x0c, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x1a, 0xf6, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0x22, 0x00, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xc8, 0x02, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xc9, 0x80, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xca, 0x01, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xcb, 0xe0, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xcc, 0x02, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xcd, 0x80, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xce, 0x01, 
i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2, 0xcf, 0xe0, 
0:00:03.397662101  1873n MVC: csi_v4l_do_ioctl, 80685600
0m    0x18050 INFO     case VIDIOC_QUERYCAP
0m                 v4l2 v4lIn MVC: csi_v4l_do_ioctl, c050561a
2_calls.c:461:gst_v4l2_open:<v4l   case not supported
2src0> imhere5
n MVC: csi_v4l_do_ioctl, c0485619
;120;1;0x   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
In MVC: csi_v4l_do_ioctl, c0445624
   case not supported
0:00:03.559590607  1873n MVC: csi_v4l_do_ioctl, 80085617
0m    0x18050 INFO     case not supported
0m                 v4l2 v4lIn MVC: csi_v4l_do_ioctl, 80045626
2_calls.c:501:gst_v4l2_open:<v4l   case not supported
2src0> Opened device '' (/dev/video0) successfully
0:00:03.582001735  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<v4l2src0> completed state
change to READY
0:00:0In MVC: csi_v4l_do_ioctl, c0405602
3.582648426  1873       case not supported
0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<v4l2src0> notifying about
state-changed NULL to READY (VOID_PENDING pending)
0:00:03.583766922  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed
state to 2(READY) successfuly
0:00:03.584864817  1873    0x18050 INFO              GST_STATES
gstelement.c:2435:gst_element_continue_state:<pipeline0> committing state
from NULL to READY, pending PAUD
0:00:03.585548576  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed NULL to READY)
0:00:03.588757449  1873    0x18050 INFO              GST_STATES
gstelement.c:2442:gst_element_continue_state:<pipeline0> continue state
change READY to PAUSED, final PAUD
0:00:03.590800833  1873    0x18050 INFO              GST_STATES
gstbin.c:2532:gst_bin_change_state_func:<pipeline0> child 'filesink0' is
changing state asynchronously toD
0:00:03.591999028  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<flvmux0> completed state
change to PAUSED
0:00:03.592628276  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmux0> notifying about
state-changed READY to PAUSED)
0:00:03.593740081  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'flvmux0' changed
state to 3(PAUSED) successfuly
0:00:03.594974291  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffenc_flv0> completed state
change to PAUSED
0:00:03.595863089  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed READY to PAU)
0:00:03.596831585  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffenc_flv0'
changed state to 3(PAUSED) successy
0:00:03.599566172  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<capsfilter0> completed state
change to PAUSED
0:00:03.600383014  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<capsfilter0> notifying
about state-changed READY to PA)
0:00:03.601491886  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'capsfilter0'
changed state to 3(PAUSED) succesy
0:00:03.612187224  1873    0x18050 INFO                    v4l2
gstv4l2object.c:1105:gst_v4l2_object_fill_format_list:<v4l2src0> got 0
format(s):
0:00:03.612789931  1873    0x18050 INFO                 v4l2src
gstv4l2src.c:612:gst_v4l2src_get_caps:<v4l2src0> probed caps: 0x131b80
0:00:03.615786548  1873    0x18050 WARN                 basesrc
gstbasesrc.c:2830:gst_base_src_start:<v4l2src0> error: Could not negotiate
format
0:00:03.616589330  1873    0x18050 WARN                 basesrc
gstbasesrc.c:2830:gst_base_src_start:<v4l2src0> error: Check your filtered
caps, if any
0:00:03.617989556  1873    0x18050 INFO        GST_ERROR_SYSTEM
gstelement.c:1964:gst_element_message_full:<v4l2src0> posting message: Could
not negotiate format
0:00:03.619228277  1873    0x18050 INFO        GST_ERROR_SYSTEM
gstelement.c:1987:gst_element_message_full:<v4l2src0> posted error message:
Could not negotiate format
0:00:03.952721727  1873    0x18050 WARN                 basesrc
gstbasesrc.c:3039:gst_base_src_activate_push:<v4l2src0> Failed to start in
push mode
0:00:03.953253983  1873    0x18050 INFO                GST_PADS
gstpad.c:986:gst_pad_activate_push:<v4l2src0:src> failed to activate in push
mode
0:00:03.954045787  1873    0x18050 WARN                GST_PADS
gstpad.c:737:gst_pad_set_active:<v4l2src0:src> Failed to activate pad
0:00:03.954686314  1873    0x18050 INFO              GST_STATES
gstelement.c:2768:gst_element_change_state:<v4l2src0> have FAILURE
change_state return
0:00:03.955445938  1873    0x18050 INFO              GST_STATES
gstelement.c:2335:gst_element_abort_state:<v4l2src0> aborting state from
READY to PAUSED
0:00:03.956240300  1873    0x18050 INFO              GST_STATES
gstbin.c:2542:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' failed
to go to state 3(PAUSED)
0:00:03.957138345  1873    0x18050 INFO              GST_STATES
gstelement.c:2768: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(2830): gst_base_src_start ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
0:00:03.974409473  1873    0x18050 INFO              GST_STATES
gstelement.c:2435:gst_element_continue_state:<filesink0> committing state
from READY to READY, pending NUL
0:00:03.975276917  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<filesink0> notifying
about state-changed READY to READ)
0:00:03.976483985  1873    0x18050 INFO              GST_STATES
gstelement.c:2442:gst_element_continue_state:<filesink0> continue state
change READY to NULL, final NULL
0:00:03.977726842  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<filesink0> completed state
change to NULL
0:00:03.978345489  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<filesink0> notifying
about state-changed READY to NULL)
0:00:03.979353684  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'filesink0'
changed state to 1(NULL) successfuly
0:00:03.980746692  1873    0x18050 INFO              GST_STATES
gstelement.c:2435:gst_element_continue_state:<flvmux0> committing state from
PAUSED to READY, pending NULL
0:00:03.981595865  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmux0> notifying about
state-changed PAUSED to READY)
0:00:03.982545038  1873    0x18050 INFO              GST_STATES
gstelement.c:2442:gst_element_continue_state:<flvmux0> continue state change
READY to NULL, final NULL
0:00:03.983603233  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<flvmux0> completed state
change to NULL
0:00:03.984345714  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmIn MVC:csi_v4l_close
ux0> notifying about state-FSL: In csi_enable_mclk
changed READY to NULL (VOID_PENDFSL: In csi_mclk_disable
ING pending)
0:00:03.985299399    Disable csi clock from source 8
 1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'flvmux0' changed
state to 1(NULL) successfully
0:00:04.319968870  1873    0x18050 INFO              GST_STATES
gstelement.c:2435:gst_element_continue_state:<ffenc_flv0> committing state
from PAUSED to READY, pending L
0:00:04.320835937  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed PAUSED to RE)
0:00:04.321936990  1873    0x18050 INFO              GST_STATES
gstelement.c:2442:gst_element_continue_state:<ffenc_flv0> continue state
change READY to NULL, final NULL
0:00:04.322875260  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffenc_flv0> completed state
change to NULL
0:00:04.323618117  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed READY to NUL)
0:00:04.324704658  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffenc_flv0'
changed state to 1(NULL) successfuy
0:00:04.326415937  1873    0x18050 INFO              GST_STATES
gstelement.c:2435:gst_element_continue_state:<capsfilter0> committing state
from PAUSED to READY, pendingL
0:00:04.327120524  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<capsfilter0> notifying
about state-changed PAUSED to R)
0:00:04.328229170  1873    0x18050 INFO              GST_STATES
gstelement.c:2442:gst_element_continue_state:<capsfilter0> continue state
change READY to NULL, final NULL
0:00:04.329276538  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<capsfilter0> completed state
change to NULL
0:00:04.329867816  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<capsfilter0> notifying
about state-changed READY to NU)
0:00:04.330955711  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'capsfilter0'
changed state to 1(NULL) successfy
0:00:04.352735407  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<v4l2src0> completed state
change to NULL
0:00:04.353358189  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<v4l2src0> notifying about
state-changed READY to NULL )
0:00:04.354454880  1873    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed
state to 1(NULL) successfully
0:00:04.356382324  1873    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<pipeline0> completed state
change to NULL
0:00:04.357164805  1873    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<pipeline0> notifying
about state-changed READY to NULL)
0:00:04.358332173  1873    0x18050 INFO              GST_STATES
gstbin.c:1784:gst_bin_get_state_func:<pipeline0> getting state
Freeing pipeline ...
0:00:04.359721422  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking capsfilter0:src(0xf94b0) and
ffenc_flv0:sink(0xf90c8)
0:00:04.693391059  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked capsfilter0:src and ffenc_flv0:sink
0:00:04.694781961  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking v4l2src0:src(0xf9000) and
capsfilter0:sink(0xf93e8)
0:00:04.696116398  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink
0:00:04.697587225  1873    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "capsfilter0"
0:00:04.698798954  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<capsfilter0> dispose
0:00:04.699484142  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<capsfilter0> removing pad 'src'
0:00:04.700708353  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<capsfilter0> removing pad 'sink'
0:00:04.701770759  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<capsfilter0> parent class dispose
0:00:04.702606097  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<capsfilter0> finalize
0:00:04.703259405  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<capsfilter0> finalize parent
0:00:04.704065946  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking flvmux0:src(0xf9258) and
filesink0:sink(0xf9320)
0:00:04.705311886  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked flvmux0:src and filesink0:sink
0:00:04.706876623  1873    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "filesink0"
0:00:04.707721059  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<filesink0> dispose
0:00:04.708497676  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<filesink0> removing pad 'sink'
0:00:04.709497901  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<filesink0> parent class dispose
0:00:04.710212864  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<filesink0> finalize
0:00:04.710978277  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<filesink0> finalize parent
0:00:04.711637525  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking ffenc_flv0:src(0xf9190) and
flvmux0:video(0xf9578)
0:00:04.712861811  1873    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked ffenc_flv0:src and flvmux0:video
0:00:04.714336622  1873    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "flvmux0"
0:00:04.715395720  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<flvmux0> dispose
0:00:04.716177676  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<flvmux0> removing pad 'video'
0:00:05.050278876  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<flvmux0> removing pad 'src'
0:00:05.051436244  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<flvmux0> parent class dispose
0:00:05.052362034  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<flvmux0> finalize
0:00:05.053177973  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<flvmux0> finalize parent
0:00:05.054225417  1873    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "ffenc_flv0"
0:00:05.055147823  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<ffenc_flv0> dispose
0:00:05.056067598  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffenc_flv0> removing pad 'src'
0:00:05.057100982  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffenc_flv0> removing pad 'sink'
0:00:05.057964215  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<ffenc_flv0> parent class dispose
0:00:05.060073463  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<ffenc_flv0> finalize
0:00:05.060763162  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<ffenc_flv0> finalize parent
0:00:05.061743012  1873    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "v4l2src0"
0:00:05.062905493  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<v4l2src0> dispose
0:00:05.063512485  1873    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<v4l2src0> removing pad 'src'
0:00:05.064556094  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<v4l2src0> parent class dispose
0:00:05.065825193  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<v4l2src0> finalize
0:00:05.066649779  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<v4l2src0> finalize parent
0:00:05.067328501  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<pipeline0> dispose
0:00:05.068311809  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<pipeline0> parent class dispose
0:00:05.069030832  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<pipeline0> finalize
0:00:05.069818351  1873    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<pipeline0> finalize parent
0:00:05.070421133  1873    0x18050 INFO                GST_INIT
gst.c:1023:gst_deinit: deinitializing GStreamer
0:00:05.175744969  1873    0x18050 INFO                GST_INIT
gst.c:1129:gst_deinit: deinitialized GStreamer


Please any help or insight you can provide me with will be very much
appreciated. I have been stuck on figuring this out for a while now. Thanks

-Yemi



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-v4l2src-could-not-negotiate-format-tp4660564.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list