Gstreamer v4l2src could not negotiate format

yemi yemio at worrell.com
Fri Jun 14 09:42:35 PDT 2013


Hi,

I am currently working on the IMx25 and trying to use the v4l2src element to
caputure images from a camera. However, i am getting this error. Below is my
pipeline:

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

Below is my error log:

0:00:00.010920977  1886    0x18050 INFO                GST_INIT
gstquery.c:107:_gst_query_initialize: init queries
0:00:00.054227140  1886    0x18050 INFO                GST_INIT
gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.062154959  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.069887214  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:255:gst_plugin_register_static: registered static plugin
"staticelements"
0:00:00.070814432  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:257:gst_plugin_register_static: added static plugin
"staticelements", result: 1
0:00:00.084924206  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1648:ensure_current_registry: reading registry cache:
/root/.gstreamer-0.10/registry.arm.bin
0:00:00.912204517  1886    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.914316022  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1518:scan_and_update_registry: Validating plugins from
registry cache: /root/.gstreamer-0.1n
0:00:00.927563691  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.109537438  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.118003453  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.124481499  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.132616085  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.159518193  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.168703456  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.176133757  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.186074886  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.208147519  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.213619774  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.334232412  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.393338503  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.412786773  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.429848728  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.445314293  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.453020156  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.469931509  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.475594216  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.482014517  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.516830379  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.527026243  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.544281204  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.553261653  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.570121577  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.586866011  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.603989920  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.615775484  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.633967213  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.642181123  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.662669847  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.682592930  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.701601353  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.718361129  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.726838874  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.733992708  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.740845490  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.760090003  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.767210530  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.790783764  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.812740456  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.828236772  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.849262262  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.871375721  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.879714593  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.888018202  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.908984818  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:01.915929180  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1268:gst_registry_scan_path_level:<registry0> cached info for
/usr/lib/gstreamer-0.10/libgse
0:00:06.597180897  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1619:scan_and_update_registry: Registry cache changed. Writing
new registry cache
0:00:06.597961048  1886    0x18050 INFO            GST_REGISTRY
gstregistrybinary.c:364:gst_registry_binary_write_cache: Building binary
registry cache image
0:00:06.851563314  1886    0x18050 INFO            GST_REGISTRY
gstregistrybinary.c:396:gst_registry_binary_write_cache: Writing binary
registry cache
0:00:08.283242784  1886    0x18050 INFO            GST_REGISTRY
gstregistrybinary.c:258:gst_registry_binary_cache_finish: Wrote binary
registry cache
0:00:08.284044815  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1627:scan_and_update_registry: Registry cache written
successfully
0:00:08.284500379  1886    0x18050 INFO            GST_REGISTRY
gstregistry.c:1683:ensure_current_registry: registry reading and updating
done, result = 1
0:00:08.284943386  1886    0x18050 INFO                GST_INIT
gst.c:805:init_post: GLib runtime version: 2.28.8
0:00:08.285634514  1886    0x18050 INFO                GST_INIT
gst.c:807:init_post: GLib headers version: 2.28.8
0:00:08.287338875  1886    0x18050 INFO            GST_PIPELINE
gstparse.c:334:gst_parse_launch_full: parsing pipeline description 'v4l2src
! ffmpegcolorspace ! ffenc_fl'
0:00:08.339968351  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:08.340649103  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"v4l2src"
0:00:08.363252862  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseSrc at 0x170028> adding pad 'src'
0:00:08.373999255  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so" loaded
0:00:08.374766698  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"ffmpegcolorspace"
0:00:08.413443390  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseTransform at 0x17e090> adding pad
'sink'
0:00:08.415441962  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseTransform at 0x17e090> adding pad
'src'
0:00:08.669093907  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_4xm
0:00:08.671995636  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_aiff
0:00:08.677679396  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_avs
0:00:08.680433532  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_daud
0:00:08.682939471  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_dv
0:00:08.685722029  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ea
0:00:08.688319247  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ffm
0:00:08.690810600  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_flic
0:00:08.693174209  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_flv
0:00:08.695836691  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_gif
0:00:08.698318044  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_gxf
0:00:08.700993157  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_idcin
0:00:08.703521277  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_RoQ
0:00:08.706201955  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ipmovie
0:00:08.709441203  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mm
0:00:08.711944436  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mmf
0:00:08.716710753  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mpegts
0:00:08.719316166  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_mxf
0:00:08.721858798  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nsv
0:00:08.724562633  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nut
0:00:08.727257821  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_nuv
0:00:08.729761581  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_psxstr
0:00:08.732296543  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_ingenient
0:00:08.735612032  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_film_cpk
0:00:08.738179626  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_vmd
0:00:08.740711505  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_smk
0:00:08.743139550  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_sol
0:00:09.078765110  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_swf
0:00:09.081834658  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_voc
0:00:09.085233154  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wc3movie
0:00:09.087691800  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wsaud
0:00:09.090296311  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_wsvqa
0:00:09.092937964  1886    0x18050 INFO            GST_TYPEFIND
gsttypefind.c:83:gst_type_find_register: registering typefind function for
fftype_yuv4mpegpipe
0:00:09.139590674  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstffmpeg.so" loaded
0:00:09.140245712  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"ffenc_flv"
0:00:09.176374962  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<ffenc_flv at 0x1c14f0> adding pad 'sink'
0:00:09.177342331  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<ffenc_flv at 0x1c14f0> adding pad 'src'
0:00:09.202038272  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstflv.so" loaded
0:00:09.202694588  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"flvmux"
0:00:09.216433687  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstFlvMux at 0x1c5030> adding pad 'src'
0:00:09.239799402  1886    0x18050 INFO      GST_PLUGIN_LOADING
gstplugin.c:859:gst_plugin_load_file: plugin
"/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
0:00:09.240467146  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"filesink"
0:00:09.246980756  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<GstBaseSink at 0x1c8018> adding pad
'sink'
0:00:09.249573914  1886    0x18050 INFO                filesink
gstfilesink.c:301:gst_file_sink_set_location: filename : video3.flv
0:00:09.250062485  1886    0x18050 INFO                filesink
gstfilesink.c:302:gst_file_sink_set_location: uri      :
file:///unit_tests/video3.flv
0:00:09.251207824  1886    0x18050 INFO     GST_ELEMENT_FACTORY
gstelementfactory.c:376:gst_element_factory_create: creating element
"pipeline"
0:00:09.256900982  1886    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking v4l2src0:(any) to
ffmpegcsp0:(any) (0/0) with caps "(nil)"
0:00:09.258035343  1886    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
v4l2src0:(any) to element ffmpegcsp0:()
0:00:09.259082110  1886    0x18050 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying to link v4l2src0:src and
ffmpegcsp0:sink
0:00:09.549156993  1886    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: v4l2src0 and ffmpegcsp0 in same
bin, no need for ghost pads
0:00:09.550963685  1886    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link v4l2src0:src and
ffmpegcsp0:sink
0:00:09.820458804  1886    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked v4l2src0:src and ffmpegcsp0:sink,
successful
0:00:09.822143616  1886    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking ffmpegcsp0:(any) to
ffenc_flv0:(any) (0/0) with caps "(ni"
0:00:09.823102112  1886    0x18050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
ffmpegcsp0:(any) to element ffenc_flv0)
0:00:09.824104369  1886    0x18050 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying to link ffmpegcsp0:src and
ffenc_flv0:sink
0:00:10.215217897  1886    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: ffmpegcsp0 and ffenc_flv0 in
same bin, no need for ghost pads
0:00:10.216477521  1886    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link ffmpegcsp0:src and
ffenc_flv0:sink
0:00:10.223014664  1886    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked ffmpegcsp0:src and ffenc_flv0:sink,
successful
0:00:10.224578950  1886    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:10.225351432  1886    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:10.229133311  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:728:gst_element_add_pad:<flvmux0> adding pad 'video'
0:00:10.230172935  1886    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:10.231370529  1886    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link ffenc_flv0:src and
flvmux0:video
0:00:10.232155040  1886    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked ffenc_flv0:src and flvmux0:video,
successful
0:00:10.233497822  1886    0x18050 INFO            GST_PIPELINE
./grammar.y:568:gst_parse_perform_link: linking flvmux0:(any) to
filesink0:(any) (0/0) with caps "(nil)"
0:00:10.234464214  1886    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:10.235184590  1886    0x18050 INFO                GST_PADS
gstutils.c:1032:gst_pad_check_link: trying to link flvmux0:src and
filesink0:sink
0:00:10.236159477  1886    0x18050 INFO                GST_PADS
gstutils.c:1596:prepare_link_maybe_ghosting: flvmux0 and filesink0 in same
bin, no need for ghost pads
0:00:10.237301056  1886    0x18050 INFO                GST_PADS
gstpad.c:1978:gst_pad_link_prepare: trying to link flvmux0:src and
filesink0:sink
0:00:10.238240229  1886    0x18050 INFO                GST_PADS
gstpad.c:2161:gst_pad_link_full: linked flvmux0:src and filesink0:sink,
successful
Setting pipeline to PAUSED ...
0:00:10.295537601  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<filesink0> completed state
change to READY
0:00:10.296194669  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<filesink0> notifying
about state-changed NULL to READY)
0:00:10.298121736  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'filesink0'
changed state to 2(READY) successfuy
0:00:10.298986623  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<flvmux0> completed state
change to READY
0:00:10.299712638  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmux0> notifying about
state-changed NULL to READY ()
0:00:10.300801586  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'flvmux0' changed
state to 2(READY) successfully
0:00:10.301756924  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffenc_flv0> completed state
change to READY
0:00:10.302531736  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed NULL to READ)
0:00:10.303628127  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffenc_flv0'
changed stat   device name is Mx25a
e to 2(READY) successfully
0:00In ov7690_ioctl_g_ifparm
:10.304702413  1886  FSL: In csi_enable_mclk
  0x18050 INFO    SL: In csi_mclk_enable
[00;01;31m          GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffmpegcsp0> completed state
change to READY
0:00:10.638610824   Enable csi clock from source 8
  1886    0x18050 n ov7690_ioctl_init
2;01mINFO          ov7690_configure: RGB565
       GST_STATES gstelement.c:2   ov7690_configure: write pixel format
365:_priv_gst_element_state_chani2c-adapter i2c-0: master_xfer[0] W,
addr=0x21, len=2, ged:<ffmpegcsp0> notifying 0x12, about state-changed NULL
to READ0x06, Y (VOID_PEN)
0:00:1
0.639724358  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffmi2c-adapter
i2c-0: master_xfer[0] W, addr=0x21, ly
0:00:10.64070630x03, 88  1886    0x18050 
INFO                    v4l2 v4l2_calls.c:423:gst_v4l2_open:<v4l2src0>
imhere
0:00:10.641345486  1886    0x18050 INFO       i2c-adapter i2c-0:
master_xfer[0] W, addr=0x21, len=2,              v4l2 v4l2_calls.c:40x3e,
33:gst_v4l2_open:<v4l2src0>0x32
0:00:10.641915110 
 1886    0x18050 INFO                    v4l2
v4l2_calls.c:446:gst_v4l2_open:<v4l2src0> imhere 3
0:00:10.642505185  1886    0x18050   ov7690_configure: write size - vga
[32;01mINFO           i2c-adapter i2c-0: master_xfer[0] W, addr=0x21, len=2,         
v4l2 v4l2_calls.c:453:g0x16, st_v4l2_open:<v4l2src0> imh0x03, ere4

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:11.083965860  1886n MVC: csi_v4l_do_ioctl, 80685600
0m    0x18050 INFO     case VIDIOC_QUERYCAP
0m                 v4l2 v4l2_calls.c:461:gst_v4l2_open:<v4l2src0> imheIn
MVC:csi_v4l_close
re5
0:00:11.095891649  18FSL: In csi_enable_mclk
86    0x18050 WARN FSL: In csi_mclk_disable
                   v4l   Disable csi clock from source 8
2 v4l2_calls.c:536:gst_v4l2_open:<v4l2src0> error: Device '/dev/video0' is
not a capture device.
0:00:11.096446536  1886    0x18050 WARN                    v4l2
v4l2_calls.c:536:gst_v4l2_open:<v4l2src0> error: Capabilities: 0x1000204
0:00:11.097876385  1886    0x18050 INFO        GST_ERROR_SYSTEM
gstelement.c:1964:gst_element_message_full:<v4l2src0> posting message:
Device '/dev/video0' is not a capt.
0:00:11.099129618  1886    0x18050 INFO        GST_ERROR_SYSTEM
gstelement.c:1987:gst_element_message_full:<v4l2src0> posted error message:
Device '/dev/video0' is not a.
0:00:11.120580370  1886    0x18050 INFO              GST_STATES
gstelement.c:2768:gst_element_change_state:<v4l2src0> have FAILURE
change_state return
0:00:11.121252626  1886    0x18050 INFO              GST_STATES
gstelement.c:2335:gst_element_abort_state:<v4l2src0> aborting state from
NULL to READY
0:00:11.122058867  1886    0x18050 INFO              GST_STATES
gstbin.c:2542:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' failed
to go to state 2(READY)
0:00:11.122951874  1886    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: Device
'/dev/video0' is not a capture device.
Additional debug info:
v4l2_calls.c(536): gst_v4l2_open ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x1000204
Setting pipeline to NULL ...
0:00:11.135839545  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<filesink0> completed state
change to NULL
0:00:11.136480372  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<filesink0> notifying
about state-changed READY to NULL)
0:00:11.137568568  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'filesink0'
changed state to 1(NULL) successfuly
0:00:11.138884508  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<flvmux0> completed state
change to NULL
0:00:11.139468267  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<flvmux0> notifying about
state-changed READY to NULL ()
0:00:11.140472402  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'flvmux0' changed
state to 1(NULL) successfully
0:00:11.141720222  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffenc_flv0> completed state
change to NULL
0:00:11.142342553  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffenc_flv0> notifying
about state-changed READY to NUL)
0:00:11.143422628  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffenc_flv0'
changed state to 1(NULL) successfuy
0:00:11.144829245  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<ffmpegcsp0> completed state
change to NULL
0:00:11.145600448  1886    0x18050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<ffmpegcsp0> notifying
about state-changed READY to NUL)
0:00:11.146550373  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'ffmpegcsp0'
changed state to 1(NULL) successfuy
0:00:11.147583907  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<v4l2src0> completed state
change to NULL
0:00:11.480521584  1886    0x18050 INFO              GST_STATES
gstbin.c:2526:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed
state to 1(NULL) successfully
0:00:11.481356847  1886    0x18050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<pipeline0> completed state
change to NULL
0:00:11.482190456  1886    0x18050 INFO              GST_STATES
gstbin.c:1784:gst_bin_get_state_func:<pipeline0> getting state
Freeing pipeline ...
0:00:11.483442035  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking flvmux0:src(0x1723e8) and
filesink0:sink(0x1724b0)
0:00:11.484882863  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked flvmux0:src and filesink0:sink
0:00:11.486349479  1886    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "filesink0"
0:00:11.487442863  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking ffenc_flv0:src(0x172320) and
flvmux0:video(0x172578)
0:00:11.488716622  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked ffenc_flv0:src and flvmux0:video
0:00:11.490206772  1886    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "flvmux0"
0:00:11.491116246  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking ffmpegcsp0:src(0x172190) and
ffenc_flv0:sink(0x172258)
0:00:11.492376095  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked ffmpegcsp0:src and ffenc_flv0:sink
0:00:11.493954291  1886    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "ffenc_flv0"
0:00:11.495019479  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1750:gst_pad_unlink: unlinking v4l2src0:src(0x172000) and
ffmpegcsp0:sink(0x1720c8)
0:00:11.496200381  1886    0x18050 INFO        GST_ELEMENT_PADS
gstpad.c:1795:gst_pad_unlink: unlinked v4l2src0:src and ffmpegcsp0:sink
0:00:11.497624366  1886    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "ffmpegcsp0"
0:00:11.498781734  1886    0x18050 INFO           GST_PARENTAGE
gstbin.c:1465:gst_bin_remove_func:<pipeline0> removed child "v4l2src0"
0:00:11.500139554  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<v4l2src0> dispose
0:00:11.500819629  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<v4l2src0> removing pad 'src'
0:00:11.501940756  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<v4l2src0> parent class dispose
0:00:11.502971132  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<v4l2src0> finalize
0:00:11.503634967  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<v4l2src0> finalize parent
0:00:11.504588201  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<pipeline0> dispose
0:00:11.837606023  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<filesink0> dispose
0:00:11.838238203  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<filesink0> removing pad 'sink'
0:00:11.839232414  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<filesink0> parent class dispose
0:00:11.840068053  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<filesink0> finalize
0:00:11.840710910  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<filesink0> finalize parent
0:00:11.841587451  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<flvmux0> dispose
0:00:11.842193165  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<flvmux0> removing pad 'video'
0:00:11.843055947  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<flvmux0> removing pad 'src'
0:00:11.844257452  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<flvmux0> parent class dispose
0:00:11.845169332  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<flvmux0> finalize
0:00:11.845967828  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<flvmux0> finalize parent
0:00:11.846803241  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<ffenc_flv0> dispose
0:00:11.847573918  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffenc_flv0> removing pad 'src'
0:00:11.848586399  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffenc_flv0> removing pad 'sink'
0:00:11.849428354  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<ffenc_flv0> parent class dispose
0:00:11.851411361  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<ffenc_flv0> finalize
0:00:11.852046549  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<ffenc_flv0> finalize parent
0:00:11.852943241  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3064:gst_element_dispose:<ffmpegcsp0> dispose
0:00:11.853581136  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffmpegcsp0> removing pad 'src'
0:00:11.854768655  1886    0x18050 INFO        GST_ELEMENT_PADS
gstelement.c:847:gst_element_remove_pad:<ffmpegcsp0> removing pad 'sink'
0:00:11.855812038  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<ffmpegcsp0> parent class dispose
0:00:11.859137828  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<ffmpegcsp0> finalize
0:00:11.860025722  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<ffmpegcsp0> finalize parent
0:00:11.861113542  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3088:gst_element_dispose:<pipeline0> parent class dispose
0:00:12.194715415  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3119:gst_element_finalize:<pipeline0> finalize
0:00:12.195410828  1886    0x18050 INFO         GST_REFCOUNTING
gstelement.c:3130:gst_element_finalize:<pipeline0> finalize parent
0:00:12.196201505  1886    0x18050 INFO                GST_INIT
gst.c:1023:gst_deinit: deinitializing GStreamer
0:00:12.296589481  1886    0x18050 INFO                GST_INIT
gst.c:1129:gst_deinit: deinitialized GStreamer


Any help or insight will be very much appreciated.

Thanks
-Yemi



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


More information about the gstreamer-devel mailing list