TheImagingSource / tiscamera

The Linux SDK for The Imaging Source cameras.
https://www.theimagingsource.com
Apache License 2.0
299 stars 146 forks source link

Pipeline fails at high frame rates and camera gets in a bad state #105

Closed ivanprado closed 6 years ago

ivanprado commented 7 years ago

Hi,

I'm having the following issue. I have my own GStreamer pipeline equivalent to "v4l2src ! videoconvert ! mycustomsink" where mycustomsink is a sink I have written in python that just get the buffers and save them. I want to trigger the photos manually, so I enabled the trigger mode.

The pipeline works well, but some times it stops receiving images. It seems the camera gets to a inconsistent state or so, as issue persist even if I restart the pipeline. In that case, no photo is received at all. That are the state of the properties at that moment:

tcam-ctrl -p 28710063
Found 46 propert(y/ies)
Brightness                              (int) min=0 max=4095 step=1 default=240 value=240 category=Exposure
Saturation                              (int) min=0 max=255 step=1 default=64 value=64 category=Color
Hue                                     (int) min=-180 max=180 step=1 default=0 value=0 category=Color
Whitebalance Auto                       (bool) default=true value=true category=Color
Whitebalance Red                        (int) min=0 max=255 step=1 default=64 value=67 category=Color
Whitebalance Blue                       (int) min=0 max=255 step=1 default=64 value=209 category=Color
Gamma                                   (int) min=1 max=500 step=1 default=100 value=100 category=Image
Gain                                    (int) min=0 max=480 step=1 default=0 value=0 category=Exposure
Exposure                                (int) min=25 max=4000000 step=1 default=333 value=33532 category=Exposure
Exposure Auto                           (bool) default=true value=false category=Exposure
Exposure Auto Reference                 (int) min=0 max=255 step=1 default=128 value=90 category=Exposure
Gain Auto                               (bool) default=true value=true category=Exposure
Trigger Mode                            (bool) default=false value=true category=Special
Software Trigger                        (button) category=Special
Trigger Delay (us)                      (int) min=0 max=1000000 step=1 default=0 value=31 category=Special
Strobe Enable                           (bool) default=false value=false category=Special
Strobe Polarity                         (bool) default=false value=false category=Special
Strobe Exposure                         (bool) default=true value=true category=Special
Strobe Duration                         (int) min=0 max=32767 step=1 default=100 value=100 category=Special
Strobe Delay                            (int) min=0 max=32767 step=1 default=0 value=0 category=Special
GPOut                                   (int) min=0 max=1 step=1 default=0 value=0 category=Special
GPIO                                    (int) min=0 max=1 step=1 default=0 value=0 category=Special
Offset X                                (int) min=0 max=2192 step=2 default=0 value=0 category=Partial Scan
Offset Y                                (int) min=0 max=2044 step=2 default=0 value=0 category=Partial Scan
Offset Auto Center                      (bool) default=true value=true category=Partial Scan
Trigger Polarity                        (enum)  default=RisingEdge category=Special
                        value=FallingEdge
                            FallingEdge
                            RisingEdge
Trigger Exposure Mode                   (enum)  default=FrameStart category=Special
                        value=FrameStart
                            ExposureActive
                            FrameStart
Trigger Burst Count                     (int) min=1 max=1000 step=1 default=1 value=1 category=Special
Trigger Debounce Time (us)              (int) min=0 max=1000000 step=1 default=0 value=0 category=Special
Trigger Mask Time (us)                  (int) min=0 max=1000000 step=1 default=0 value=0 category=Special
Trigger Noise Surpression Time (us)     (int) min=0 max=1000000 step=1 default=0 value=0 category=Special
Auto Functions ROI Control              (bool) default=true value=true category=Special
Auto Functions ROI Left                 (int) min=0 max=2432 step=1 default=0 value=480 category=Special
Auto Functions ROI Top                  (int) min=0 max=2032 step=1 default=0 value=270 category=Special
Auto Functions ROI Width                (int) min=16 max=2448 step=1 default=0 value=960 category=Special
Auto Functions ROI Height               (int) min=16 max=2048 step=1 default=0 value=540 category=Special
Whitebalance                            (bool) default=false value=false category=Color
Whitebalance Auto Preset                (enum)  default=Any    category=Color
                        value=Any
                            Any
                            Cool White
                            Daylight
                            Deep Shade
                            Warm White
Whitebalance Green                      (int) min=0 max=255 step=1 default=64 value=64 category=Color
Whitebalance Temperature                (int) min=2500 max=10000 step=100 default=6500 value=4000 category=Color
Flip Horizontal                         (bool) default=false value=false category=Unknown
Flip Vertical                           (bool) default=false value=false category=Unknown
Highlight Reduction                     (bool) default=false value=false category=Unknown
Exposure Auto Upper Limit Auto          (bool) default=true value=true category=Unknown
Exposure Auto Lower Limit               (int) min=25 max=1000000 step=1 default=333 value=60 category=Unknown
Exposure Auto Upper Limit               (int) min=25 max=1000000 step=1 default=333 value=11111 category=Unknown

The unique way of make it back to work is re-plugging the camera.

My camera is:

Device manufacturer: The Imaging Source Europe GmbH
Product name:        DFK 33UX264
Serial number:       28710063
VendorID:ProductID:  199e:9089
Firmware version:    USB3c2-IMX/47

I'm using GStreamer 1.8, Ubuntu 14.04.

ivanprado commented 7 years ago

Please, if it would be possible assign that with priority as it is blocking for me and I need the camera for being used in crops that are mature at this precise moment, so I have no margin.

More data just if it is useful.

If I open the camera using VLC at that state I got:

[0x7f46cc003c08] v4l2 demux warning: cannot reset cropping limits: Inappropriate ioctl for device
[0x7f46d0000a68] main input error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !

And nothing is shown. Then I run

v4l2-ctl -d /dev/video0 -c trigger_mode=0

And I open VLC, and I can see a video but for a small amount of seconds. Then it freezes, and message is the same:

[0x7f3dd0003c08] main input error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !

If I open guvcview, nothing is shown, and I got these messages:

GUVCVIEW: version 2.0.3
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_equal.c:196:(_snd_pcm_equal_open) No slave configuration for equal pcm
ALSA lib pcm_equal.c:196:(_snd_pcm_equal_open) No slave configuration for equal pcm
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
V4L2_CORE: ioctl (-1067952623) retried 4 times - giving up: Resource temporarily unavailable)
V4L2_CORE: (VIDIOC_DQBUF) Unable to dequeue buffer: Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable

Running GST_DEBUG=*:4 gst-launch-1.0 "v4l2src ! videoconvert ! autovideosink"

just freezes. These are the logs:

0:00:00.000050510 19216      0x20a3a00 INFO                GST_INIT gst.c:502:init_pre: Initializing GStreamer Core Library version 1.2.4
0:00:00.000080339 19216      0x20a3a00 INFO                GST_INIT gst.c:503:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000096887 19216      0x20a3a00 INFO                GST_INIT gst.c:513:init_pre: Linux ivan-Dell-Precision-M3800 4.4.0-83-generic #106~14.04.1-Ubuntu SMP Mon Jun 26 18:10:19 UTC 2017 x86_64
0:00:00.000552360 19216      0x20a3a00 INFO                GST_INIT gstmessage.c:123:_priv_gst_message_initialize: init messages
0:00:00.000630251 19216      0x20a3a00 INFO                GST_INIT gstcontext.c:77:_priv_gst_context_initialize: init contexts
0:00:00.000756590 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000845895 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000853591 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000877800 19216      0x20a3a00 INFO            GST_REGISTRY gstregistry.c:1680:ensure_current_registry: reading registry cache: /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.012192596 19216      0x20a3a00 INFO            GST_REGISTRY gstregistrybinary.c:617:priv_gst_registry_binary_read_cache: loaded /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin in 0.011304 seconds
0:00:00.012258030 19216      0x20a3a00 INFO            GST_REGISTRY gstregistry.c:1539:scan_and_update_registry: Validating plugins from registry cache: /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.012789286 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:1449:gst_plugin_ext_dep_extract_env_vars_paths:<plugin206> ignoring environment variable content '': either not an absolute path or not a path at all
0:00:00.012863507 19216      0x20a3a00 INFO            GST_REGISTRY gstregistry.c:1638:scan_and_update_registry: Registry cache has not changed
0:00:00.012869614 19216      0x20a3a00 INFO            GST_REGISTRY gstregistry.c:1715:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.012884008 19216      0x20a3a00 INFO                GST_INIT gst.c:707:init_post: GLib runtime version: 2.40.2
0:00:00.012890334 19216      0x20a3a00 INFO                GST_INIT gst.c:709:init_post: GLib headers version: 2.40.0
0:00:00.012919390 19216      0x20a3a00 INFO            GST_PIPELINE gstparse.c:322:gst_parse_launch_full: parsing pipeline description 'v4l2src\ !\ videoconvert\ !\ autovideosink '
0:00:00.014194252 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so" loaded
0:00:00.014208827 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "v4l2src"
0:00:00.014466298 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSrc@0x226a0e0> adding pad 'src'
0:00:00.014505834 19216      0x20a3a00 WARN                 default ./grammar.y:902:priv_gst_parse_yyerror: Error during parsing: syntax error, unexpected $undefined
0:00:00.014654598 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so" loaded
0:00:00.014664003 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "videoconvert"
0:00:00.014839268 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x2272500> adding pad 'sink'
0:00:00.014870040 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x2272500> adding pad 'src'
0:00:00.015027640 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so" loaded
0:00:00.015039635 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "autovideosink"
0:00:00.015140136 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstAutoVideoSink@0x2274020> adding pad 'sink'
0:00:00.015370422 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.015379866 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesink" named "tempsink"
0:00:00.015465105 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x2267a00> adding pad 'sink'
0:00:00.015486953 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tempsink:sink
0:00:00.015494487 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link sink:proxypad0 and tempsink:sink
0:00:00.015500606 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked sink:proxypad0 and tempsink:sink, successful
0:00:00.015510094 19216      0x20a3a00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.015526755 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "pipeline"
0:00:00.015568939 19216      0x20a3a00 INFO            GST_PIPELINE ./grammar.y:578:gst_parse_perform_link: linking v4l2src0:(any) to videoconvert0:(any) (0/0) with caps "(NULL)"
0:00:00.015578333 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element videoconvert0:(any)
0:00:00.015584918 19216      0x20a3a00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link v4l2src0:src and videoconvert0:sink
0:00:00.015597186 19216      0x20a3a00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<videoconvert0:src> pad has no peer
0:00:00.016252852 19216      0x20a3a00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: v4l2src0 and videoconvert0 in same bin, no need for ghost pads
0:00:00.016266246 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link v4l2src0:src and videoconvert0:sink
0:00:00.016275836 19216      0x20a3a00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<videoconvert0:src> pad has no peer
0:00:00.016881937 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked v4l2src0:src and videoconvert0:sink, successful
0:00:00.016888471 19216      0x20a3a00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.016893243 19216      0x20a3a00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<v4l2src0:src> Received event on flushing pad. Discarding
0:00:00.016902983 19216      0x20a3a00 INFO            GST_PIPELINE ./grammar.y:578:gst_parse_perform_link: linking videoconvert0:(any) to autovideosink0:(any) (0/0) with caps "(NULL)"
0:00:00.016910051 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element videoconvert0:(any) to element autovideosink0:(any)
0:00:00.016916969 19216      0x20a3a00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link videoconvert0:src and autovideosink0:sink
0:00:00.017377763 19216      0x20a3a00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: videoconvert0 and autovideosink0 in same bin, no need for ghost pads
0:00:00.017387125 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link videoconvert0:src and autovideosink0:sink
0:00:00.017839518 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked videoconvert0:src and autovideosink0:sink, successful
0:00:00.017846445 19216      0x20a3a00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.017851212 19216      0x20a3a00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<videoconvert0:src> Received event on flushing pad. Discarding
Setting pipeline to PAUSED ...
0:00:00.017898973 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current NULL pending VOID_PENDING, desired next READY
0:00:00.017908398 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tempsink> completed state change to NULL
0:00:00.017915724 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking sink:proxypad0(0x2278030) and tempsink:sink(0x226c6d0)
0:00:00.017923512 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked sink:proxypad0 and tempsink:sink
0:00:00.017929793 19216      0x20a3a00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<autovideosink0> removed child "tempsink"
0:00:00.017937011 19216      0x20a3a00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<tempsink> dispose
0:00:00.017941522 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tempsink> removing pad 'sink'
0:00:00.017953334 19216      0x20a3a00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<tempsink> parent class dispose
0:00:00.017958585 19216      0x20a3a00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<tempsink> finalize
0:00:00.017962781 19216      0x20a3a00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<tempsink> finalize parent
0:00:00.018383294 19216      0x20a3a00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so" loaded
0:00:00.018393670 19216      0x20a3a00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "xvimagesink" named "autovideosink0-actual-sink-xvimage"
0:00:00.018464293 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x2284c20> adding pad 'sink'
0:00:00.018477313 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad autovideosink0-actual-sink-xvimage:sink
0:00:00.019683616 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to READY
0:00:00.019698137 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.019752525 19216      0x20a3a00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad autovideosink0-actual-sink-xvimage:sink
0:00:00.019764733 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link sink:proxypad0 and autovideosink0-actual-sink-xvimage:sink
0:00:00.019772263 19216      0x20a3a00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked sink:proxypad0 and autovideosink0-actual-sink-xvimage:sink, successful
0:00:00.019779210 19216      0x20a3a00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.019792437 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current READY pending VOID_PENDING, desired next READY
0:00:00.019799896 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> skipping transition from READY to  READY
0:00:00.019805327 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 2(READY) successfully
0:00:00.019814204 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to READY
0:00:00.019819834 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.019831762 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 2(READY) successfully
0:00:00.019841325 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current NULL pending VOID_PENDING, desired next READY
0:00:00.019848792 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to READY
0:00:00.019854358 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.019867327 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 2(READY) successfully
0:00:00.019876063 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<v4l2src0> current NULL pending VOID_PENDING, desired next READY
0:00:00.104927170 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'brightness'
0:00:00.104958385 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'saturation'
0:00:00.104967765 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'hue'
0:00:00.104979088 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_component__auto'
0:00:00.105002619 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_red_component'
0:00:00.105014506 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_blue_component'
0:00:00.105024780 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gamma'
0:00:00.105034479 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gain'
0:00:00.105045074 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure_time__us_'
0:00:00.105055088 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_shutter'
0:00:00.105065054 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_exposure_reference'
0:00:00.105076515 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gain_auto'
0:00:00.105085235 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_mode'
0:00:00.105093624 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'software_trigger'
0:00:00.105103682 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_delay'
0:00:00.105112334 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'strobe_enable'
0:00:00.105120945 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'strobe_polarity'
0:00:00.105133483 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'strobe_exposure'
0:00:00.105142269 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'strobe_duration'
0:00:00.105151907 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'strobe_delay'
0:00:00.105160253 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gpout'
0:00:00.105168352 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'gpin'
0:00:00.105178269 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'roi_offset_x'
0:00:00.105187898 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'roi_offset_y'
0:00:00.105196261 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'roi_auto_center'
0:00:00.105204601 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_polarity'
0:00:00.105212992 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_exposure_mode'
0:00:00.105221562 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_burst_count'
0:00:00.105230060 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_debounce_time__us_'
0:00:00.105238815 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_mask_time__us_'
0:00:00.105247455 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'trigger_noise_supression_time'
0:00:00.105256231 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_functions_roi_control'
0:00:00.105265416 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_functions_roi_left'
0:00:00.105275310 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_functions_roi_top'
0:00:00.105284247 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_functions_roi_width'
0:00:00.105293064 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'auto_functions_roi_height'
0:00:00.105301707 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'whitebalance_mode'
0:00:00.105310142 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_auto_preset'
0:00:00.105318980 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_green_component'
0:00:00.105328067 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'whitebalance_temperature_preset'
0:00:00.105336762 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'white_balance_temperature'
0:00:00.105345291 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'flip_horizontal'
0:00:00.105353601 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'flip_vertical'
0:00:00.105361971 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'highlight_reduction'
0:00:00.105370513 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure_auto_upper_limit_auto'
0:00:00.105387912 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure_auto_lower_limit'
0:00:00.105394381 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:328:gst_v4l2_fill_lists:<v4l2src0> adding generic controls 'exposure_auto_upper_limit'
0:00:00.105400678 19216      0x20a3a00 INFO                    v4l2 v4l2_calls.c:549:gst_v4l2_open:<v4l2src0> Opened device 'DFK 33UX264' (/dev/video0) successfully
0:00:00.105416819 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<v4l2src0> completed state change to READY
0:00:00.105423645 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.105439080 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 2(READY) successfully
0:00:00.105450340 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2303:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.105456791 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:00.105480187 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2310:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:00.105498261 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.105511153 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.105525323 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' is changing state asynchronously to PAUSED
0:00:00.105537232 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' is changing state asynchronously to PAUSED
0:00:00.105545498 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.105555900 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to PAUSED
0:00:00.105561157 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.105570074 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 3(PAUSED) successfully
0:00:00.105577431 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<v4l2src0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.105589436 19216      0x20a3a00 INFO                 basesrc gstbasesrc.c:1296:gst_base_src_do_seek:<v4l2src0> seeking: time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.105617860 19216      0x20a3a00 INFO                    task gsttask.c:431:gst_task_set_lock: setting stream lock 0x226c0b0 on task 0x229f050
0:00:00.105625200 19216      0x20a3a00 INFO                GST_PADS gstpad.c:5415:gst_pad_start_task:<v4l2src0:src> created task 0x229f050
0:00:00.105664202 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<v4l2src0> completed state change to PAUSED
0:00:00.105671285 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.105681246 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2699:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:00.105691784 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to PAUSED
0:00:00.105699003 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.105706597 19216      0x2297800 INFO        GST_ELEMENT_PADS gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element "v4l2src0"
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.106006610 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1247:gst_v4l2_object_fill_format_list:<v4l2src0> got 8 format(s):
0:00:00.106014216 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YUYV
0:00:00.106021051 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   BGR3
0:00:00.106025974 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YU12 (emulated)
0:00:00.106030889 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   YV12 (emulated)
0:00:00.106035479 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   RGB3 (emulated)
0:00:00.106040150 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   
0:00:00.106044756 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   
0:00:00.106049487 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:1253:gst_v4l2_object_fill_format_list:<v4l2src0>   RGGB
0:00:00.106081694 19216      0x20a3a00 INFO               GST_EVENT gstevent.c:1184:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:00.106106053 19216      0x20a3a00 INFO                     bin gstbin.c:2499:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
0:00:00.106120161 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current READY pending PAUSED, desired next PLAYING
0:00:00.106127236 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' is changing state asynchronously to PLAYING
0:00:00.106135707 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:00.106142353 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to PLAYING
0:00:00.106147760 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:00.106156404 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 4(PLAYING) successfully
0:00:00.106165310 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<v4l2src0> completed state change to PLAYING
0:00:00.106170289 19216      0x20a3a00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:00.106178206 19216      0x20a3a00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 4(PLAYING) successfully
New clock: GstSystemClock
0:00:00.106276287 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:2729:gst_v4l2_object_get_caps:<v4l2src0> probed caps: video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)I420, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)I420, width=(int)2048, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)I420, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YV12, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YV12, width=(int)2048, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YV12, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)RGB, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)RGB, width=(int)2048, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)RGB, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)RGB, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }
0:00:00.109238411 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:2480:gst_v4l2_object_set_format:<v4l2src0> Set framerate to 35/1
0:00:00.109252618 19216      0x2297800 INFO                    v4l2 gstv4l2object.c:2292:gst_v4l2_object_setup_pool:<v4l2src0> accessing buffers via mode 2
0:00:00.113611319 19216      0x2297800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)35/1
0:00:00.114148130 19216      0x2297800 INFO           basetransform gstbasetransform.c:1335:gst_base_transform_setcaps:<videoconvert0> reuse caps
0:00:00.114184179 19216      0x2297800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)35/1
0:00:00.138908110 19216      0x2297800 INFO                 v4l2src gstv4l2src.c:813:gst_v4l2src_fill:<v4l2src0> sync to 0:00:00.028571428 out ts 0:00:00.032326543
0:00:00.138933060 19216      0x2297800 INFO               GST_EVENT gstevent.c:709:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:00.138967256 19216      0x2297800 INFO                 basesrc gstbasesrc.c:2772:gst_base_src_loop:<v4l2src0> marking pending DISCONT
0:00:00.139380800 19216      0x2297800 ERROR                default video-frame.c:136:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.139398764 19216      0x2297800 WARN             xvimagesink xvimagesink.c:991:gst_xvimagesink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image
0:00:00.139422869 19216      0x2297800 INFO              GST_STATES gstbin.c:3112:bin_handle_async_done:<autovideosink0> committing state from READY to PAUSED, old pending PAUSED
0:00:00.139431713 19216      0x2297800 INFO              GST_STATES gstbin.c:3132:bin_handle_async_done:<autovideosink0> completed state change, pending VOID
0:00:00.139439141 19216      0x2297800 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.139454566 19216      0x2297800 INFO              GST_STATES gstbin.c:3121:bin_handle_async_done:<pipeline0> setting state from PAUSED to PAUSED, pending PLAYING
0:00:00.139461040 19216      0x2297800 INFO              GST_STATES gstbin.c:3141:bin_handle_async_done:<pipeline0> continue state change, pending PLAYING
0:00:00.139522769 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2935:gst_bin_continue_func:<pipeline0> continue state change PAUSED to PLAYING, final PLAYING
0:00:00.139582397 19216 0x7fc800001d40 INFO               GST_EVENT gstevent.c:1184:gst_event_new_latency: creating latency event 0:00:00.028571428
0:00:00.139610639 19216 0x7fc800001d40 INFO                     bin gstbin.c:2499:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.028571428
0:00:00.139629032 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:00.139640963 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:00.139651897 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to PLAYING
0:00:00.139658972 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:00.139674890 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 4(PLAYING) successfully
0:00:00.139688296 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to PLAYING
0:00:00.139697144 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:00.139709761 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 4(PLAYING) successfully
0:00:00.139723085 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:00.139745509 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<videoconvert0> skipping transition from PLAYING to  PLAYING
0:00:00.139753637 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 4(PLAYING) successfully
0:00:00.139763594 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<v4l2src0> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:00.139771508 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<v4l2src0> skipping transition from PLAYING to  PLAYING
0:00:00.139778763 19216 0x7fc800001d40 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 4(PLAYING) successfully
0:00:00.139788163 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to PLAYING
0:00:00.139795097 19216 0x7fc800001d40 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:00.167016772 19216      0x2297800 ERROR                default video-frame.c:136:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.167040432 19216      0x2297800 WARN             xvimagesink xvimagesink.c:991:gst_xvimagesink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image
0:00:00.167073283 19216      0x2297800 INFO                 v4l2src gstv4l2src.c:813:gst_v4l2src_fill:<v4l2src0> sync to 0:00:00.057142856 out ts 0:00:00.000000000
0:00:00.167098355 19216      0x2297800 ERROR                default video-frame.c:136:gst_video_frame_map_id: failed to map video frame plane 0
0:00:00.167105089 19216      0x2297800 WARN             xvimagesink xvimagesink.c:991:gst_xvimagesink_show_frame:<autovideosink0-actual-sink-xvimage> could not map image
0:00:00.167132426 19216      0x2297800 INFO                 v4l2src gstv4l2src.c:813:gst_v4l2src_fill:<v4l2src0> sync to 0:00:00.085714284 out ts 0:00:00.000000000
0:00:00.167164612 19216      0x2297800 INFO                 v4l2src gstv4l2src.c:813:gst_v4l2src_fill:<v4l2src0> sync to 0:00:00.114285712 out ts 0:00:00.000000000

If I use tcambin instead I got (it doesn't freezes but finishes):

gst-launch-1.0 "tcambin ! videoconvert ! autovideosink"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:10.045420425
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

The full debug logs are:

GST_DEBUG=*:4 gst-launch-1.0 "tcambin ! videoconvert ! autovideosink"
0:00:00.000040375 19558      0x1d5da00 INFO                GST_INIT gst.c:502:init_pre: Initializing GStreamer Core Library version 1.2.4
0:00:00.000082106 19558      0x1d5da00 INFO                GST_INIT gst.c:503:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000090465 19558      0x1d5da00 INFO                GST_INIT gst.c:513:init_pre: Linux ivan-Dell-Precision-M3800 4.4.0-83-generic #106~14.04.1-Ubuntu SMP Mon Jun 26 18:10:19 UTC 2017 x86_64
0:00:00.000634283 19558      0x1d5da00 INFO                GST_INIT gstmessage.c:123:_priv_gst_message_initialize: init messages
0:00:00.000700781 19558      0x1d5da00 INFO                GST_INIT gstcontext.c:77:_priv_gst_context_initialize: init contexts
0:00:00.000832977 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000911373 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000920867 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000937828 19558      0x1d5da00 INFO            GST_REGISTRY gstregistry.c:1680:ensure_current_registry: reading registry cache: /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.013497674 19558      0x1d5da00 INFO            GST_REGISTRY gstregistrybinary.c:617:priv_gst_registry_binary_read_cache: loaded /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin in 0.012549 seconds
0:00:00.013561741 19558      0x1d5da00 INFO            GST_REGISTRY gstregistry.c:1539:scan_and_update_registry: Validating plugins from registry cache: /home/ivan/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.014151787 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:1449:gst_plugin_ext_dep_extract_env_vars_paths:<plugin206> ignoring environment variable content '': either not an absolute path or not a path at all
0:00:00.014232385 19558      0x1d5da00 INFO            GST_REGISTRY gstregistry.c:1638:scan_and_update_registry: Registry cache has not changed
0:00:00.014237589 19558      0x1d5da00 INFO            GST_REGISTRY gstregistry.c:1715:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.014251646 19558      0x1d5da00 INFO                GST_INIT gst.c:707:init_post: GLib runtime version: 2.40.2
0:00:00.014256857 19558      0x1d5da00 INFO                GST_INIT gst.c:709:init_post: GLib headers version: 2.40.0
0:00:00.014281407 19558      0x1d5da00 INFO            GST_PIPELINE gstparse.c:322:gst_parse_launch_full: parsing pipeline description 'tcambin\ !\ videoconvert\ !\ autovideosink '
0:00:00.015324496 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcambin.so" loaded
0:00:00.015334664 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "tcambin"
0:00:00.015440378 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstTcamBin@0x1f1e040> adding pad 'src'
0:00:00.015453315 19558      0x1d5da00 WARN                 default ./grammar.y:902:priv_gst_parse_yyerror: Error during parsing: syntax error, unexpected $undefined
0:00:00.015874939 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideoconvert.so" loaded
0:00:00.015884419 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "videoconvert"
0:00:00.016031200 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f29be0> adding pad 'sink'
0:00:00.016045834 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f29be0> adding pad 'src'
0:00:00.016159856 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so" loaded
0:00:00.016168011 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "autovideosink"
0:00:00.016230412 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstAutoVideoSink@0x1f2e020> adding pad 'sink'
0:00:00.016458568 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.016467301 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesink" named "tempsink"
0:00:00.016553928 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x1f32ec0> adding pad 'sink'
0:00:00.016574737 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tempsink:sink
0:00:00.016581842 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link sink:proxypad1 and tempsink:sink
0:00:00.016588125 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked sink:proxypad1 and tempsink:sink, successful
0:00:00.016593699 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.016609976 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "pipeline"
0:00:00.016655353 19558      0x1d5da00 INFO            GST_PIPELINE ./grammar.y:578:gst_parse_perform_link: linking tcambin0:(any) to videoconvert0:(any) (0/0) with caps "(NULL)"
0:00:00.016664154 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element tcambin0:(any) to element videoconvert0:(any)
0:00:00.016670923 19558      0x1d5da00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link tcambin0:src and videoconvert0:sink
0:00:00.016682847 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.016693168 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<videoconvert0:src> pad has no peer
0:00:00.017306861 19558      0x1d5da00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: tcambin0 and videoconvert0 in same bin, no need for ghost pads
0:00:00.017318585 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link tcambin0:src and videoconvert0:sink
0:00:00.017326828 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.017334040 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<videoconvert0:src> pad has no peer
0:00:00.017935541 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked tcambin0:src and videoconvert0:sink, successful
0:00:00.017942308 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.017947090 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<tcambin0:src> Received event on flushing pad. Discarding
0:00:00.017956658 19558      0x1d5da00 INFO            GST_PIPELINE ./grammar.y:578:gst_parse_perform_link: linking videoconvert0:(any) to autovideosink0:(any) (0/0) with caps "(NULL)"
0:00:00.017963568 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element videoconvert0:(any) to element autovideosink0:(any)
0:00:00.017970224 19558      0x1d5da00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link videoconvert0:src and autovideosink0:sink
0:00:00.017979125 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.018610518 19558      0x1d5da00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: videoconvert0 and autovideosink0 in same bin, no need for ghost pads
0:00:00.018619642 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link videoconvert0:src and autovideosink0:sink
0:00:00.018628088 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.019255231 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked videoconvert0:src and autovideosink0:sink, successful
0:00:00.019261820 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.019266628 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<videoconvert0:src> Received event on flushing pad. Discarding
Setting pipeline to PAUSED ...
0:00:00.019305885 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current NULL pending VOID_PENDING, desired next READY
0:00:00.019315087 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tempsink> completed state change to NULL
0:00:00.019322680 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking sink:proxypad1(0x1f1e4d0) and tempsink:sink(0x1f2a570)
0:00:00.019330497 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked sink:proxypad1 and tempsink:sink
0:00:00.019336191 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<autovideosink0> removed child "tempsink"
0:00:00.019343775 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<tempsink> dispose
0:00:00.019348491 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tempsink> removing pad 'sink'
0:00:00.019360734 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<tempsink> parent class dispose
0:00:00.019366149 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<tempsink> finalize
0:00:00.019370669 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<tempsink> finalize parent
0:00:00.020091534 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so" loaded
0:00:00.020102298 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "xvimagesink" named "autovideosink0-actual-sink-xvimage"
0:00:00.020182073 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x1f3d210> adding pad 'sink'
0:00:00.020195493 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad autovideosink0-actual-sink-xvimage:sink
0:00:00.021655209 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to READY
0:00:00.021671316 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.021714789 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad autovideosink0-actual-sink-xvimage:sink
0:00:00.021726632 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link sink:proxypad1 and autovideosink0-actual-sink-xvimage:sink
0:00:00.021735161 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked sink:proxypad1 and autovideosink0-actual-sink-xvimage:sink, successful
0:00:00.021742770 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:00.021757476 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current READY pending VOID_PENDING, desired next READY
0:00:00.021765144 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> skipping transition from READY to  READY
0:00:00.021770771 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 2(READY) successfully
0:00:00.021779906 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to READY
0:00:00.021785944 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.021797958 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 2(READY) successfully
0:00:00.021807914 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current NULL pending VOID_PENDING, desired next READY
0:00:00.021815357 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to READY
0:00:00.021821068 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.021829861 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 2(READY) successfully
0:00:00.021837833 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin0> current NULL pending VOID_PENDING, desired next READY
0:00:00.021845001 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1037:gst_tcambin_change_state: NULL_TO_READY
0:00:00.023667893 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamsrc.so" loaded
0:00:00.023684937 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "tcamsrc" named "tcambin-source"
0:00:00.023772016 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSrc@0x1f72d10> adding pad 'src'
0:00:00.023795268 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1586:gst_tcam_src_set_property: Set camera name to 
0:00:00.023804401 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1337:gst_tcam_src_change_state: must initialize device
0:00:02.120057366 19558      0x1d5da00 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.120112013 19558      0x1d5da00 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.120215058 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.120280174 19558      0x1d5da00 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.120317388 19558      0x1d5da00 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.120413192 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.120433362 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to READY
0:00:02.120441427 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:02.120461243 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "capsfilter" named "tcambin-out_caps"
0:00:02.120536080 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f8c150> adding pad 'sink'
0:00:02.120553595 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f8c150> adding pad 'src'
0:00:02.120563780 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-out_caps:src
0:00:02.120578973 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link tcambin-out_caps:src and src:proxypad0
0:00:02.120586800 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked tcambin-out_caps:src and src:proxypad0, successful
0:00:02.120604997 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.120611791 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<tcambin-out_caps:src> Received event on flushing pad. Discarding
0:00:02.120620996 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-source:src
0:00:02.120715482 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.120758788 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-source:src
0:00:02.120904931 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.120956059 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.120972517 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-source> current READY pending VOID_PENDING, desired next READY
0:00:02.120980866 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<tcambin-source> skipping transition from READY to  READY
0:00:02.120986610 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 2(READY) successfully
0:00:02.120994704 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to READY
0:00:02.120999819 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:02.121008779 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 2(READY) successfully
0:00:02.121016250 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2303:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:02.121022800 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:02.121046079 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2310:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:02.121060524 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.121072524 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.121091624 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' is changing state asynchronously to PAUSED
0:00:02.121110367 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' is changing state asynchronously to PAUSED
0:00:02.121123772 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.121145676 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to PAUSED
0:00:02.121150646 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.121159026 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 3(PAUSED) successfully
0:00:02.121166103 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin0> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.121172347 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1056:gst_tcambin_change_state: READY_TO_PAUSED
0:00:02.121340915 19558      0x1d5da00 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1080:gst_tcambin_change_state: caps of sink: video/x-raw, format=(string)YUY2, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)UYVY, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE }
0:00:02.121353102 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-source:src
0:00:02.121425793 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.121480619 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1084:gst_tcambin_change_state: caps of src: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.121795096 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:659:gst_tcambin_generate_src_caps: No intersecting caps found. Trying caps with conversion.
0:00:02.121816271 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-source:src
0:00:02.121895125 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.132793377 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:587:gst_tcambin_generate_conversion_src_caps: Testing caps: 'video/x-bayer, framerate=(fraction)[ 1/1, 2147483647/1 ], width=(int)[ 1, 2147483647 ], heigth=(int)[ 1, 2147483647 ]'
0:00:02.132894837 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:591:gst_tcambin_generate_conversion_src_caps: Found possible caps video/x-bayer, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)640, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)480; video/x-bayer, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)1920, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)1080; video/x-bayer, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)2048, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)2048; video/x-bayer, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)2448, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)2048
0:00:02.133180489 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:608:gst_tcambin_generate_conversion_src_caps: Caps are: video/x-bayer, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)640, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)480; video/x-bayer, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)1920, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)1080; video/x-bayer, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)2048, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)2048; video/x-bayer, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }, width=(int)2448, heigth=(int)[ 1, 2147483647 ], format=(string)rggb, height=(int)2048
0:00:02.133195902 19558      0x1d5da00 WARN                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:750:gst_tcambin_generate_src_caps: Unsure if caps are correctly generated. Trying anyway.
0:00:02.133204435 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking tcambin-out_caps:src(0x1f2ac00) and src:proxypad0(0x1f1e290)
0:00:02.133226236 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked tcambin-out_caps:src and src:proxypad0
0:00:02.133238465 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:865:gst_tcambin_create_elements: creating elements
0:00:02.133246049 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "capsfilter" named "tcambin-src_caps"
0:00:02.133280865 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f8c470> adding pad 'sink'
0:00:02.133299393 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1f8c470> adding pad 'src'
0:00:02.133313943 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.133333740 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element tcambin-source:(any) to element tcambin-src_caps:(any)
0:00:02.133343863 19558      0x1d5da00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link tcambin-source:src and tcambin-src_caps:sink
0:00:02.133456724 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.133481020 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<tcambin-src_caps:src> pad has no peer
0:00:02.133504307 19558      0x1d5da00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: tcambin-source and tcambin-src_caps in same bin, no need for ghost pads
0:00:02.133518004 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link tcambin-source:src and tcambin-src_caps:sink
0:00:02.133611814 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.133628974 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<tcambin-src_caps:src> pad has no peer
0:00:02.133646283 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked tcambin-source:src and tcambin-src_caps:sink, successful
0:00:02.133654410 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.133660180 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<tcambin-source:src> Received event on flushing pad. Discarding
0:00:02.133925227 19558      0x1d5da00 INFO      GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstbayer.so" loaded
0:00:02.133938550 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "bayer2rgb" named "tcambin-debayer"
0:00:02.134028633 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1fa4210> adding pad 'sink'
0:00:02.134047410 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseTransform@0x1fa4210> adding pad 'src'
0:00:02.134065685 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element tcambin-src_caps:(any) to element tcambin-debayer:(any)
0:00:02.134078810 19558      0x1d5da00 INFO                GST_PADS gstutils.c:936:gst_pad_check_link: trying to link tcambin-src_caps:src and tcambin-debayer:sink
0:00:02.134182730 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.146320187 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<tcambin-debayer:src> pad has no peer
0:00:02.146406297 19558      0x1d5da00 INFO                GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: tcambin-src_caps and tcambin-debayer in same bin, no need for ghost pads
0:00:02.146438044 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link tcambin-src_caps:src and tcambin-debayer:sink
0:00:02.146618928 19558      0x1d5da00 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.146692947 19558      0x1d5da00 INFO                GST_PADS gstpad.c:3675:gst_pad_peer_query:<tcambin-debayer:src> pad has no peer
0:00:02.146750780 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked tcambin-src_caps:src and tcambin-debayer:sink, successful
0:00:02.146765592 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.146775645 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<tcambin-src_caps:src> Received event on flushing pad. Discarding
0:00:02.146798661 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:952:gst_tcambin_create_elements: Using tcambin-debayer as exit element for internal pipeline
0:00:02.146810318 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tcambin-debayer:src
0:00:02.146822628 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:954:gst_tcambin_create_elements: Internal pipeline: tcamscr ! video/x-bayer, framerate=(fraction)45/1, width=(int)2048, height=(int)2048 ! bayer2rgb
0:00:02.146881894 19558      0x1d5da00 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:961:gst_tcambin_create_elements: Working with exit caps: video/x-raw, format=(string)YUY2, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)UYVY, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE }
0:00:02.146910675 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link tcambin-debayer:src and src:proxypad0
0:00:02.146925689 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked tcambin-debayer:src and src:proxypad0, successful
0:00:02.146938579 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:02.146948758 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<tcambin-debayer:src> Received event on flushing pad. Discarding
0:00:02.146986413 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current NULL pending VOID_PENDING, desired next PAUSED
0:00:02.147002961 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2303:gst_element_continue_state:<tcambin-debayer> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:02.147016375 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed NULL to READY (PAUSED pending)
0:00:02.147035053 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2310:gst_element_continue_state:<tcambin-debayer> continue state change READY to PAUSED, final PAUSED
0:00:02.147054391 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-debayer> completed state change to PAUSED
0:00:02.147065070 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.147080872 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 3(PAUSED) successfully
0:00:02.147098504 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current NULL pending VOID_PENDING, desired next PAUSED
0:00:02.147112140 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2303:gst_element_continue_state:<tcambin-src_caps> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:02.147125331 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed NULL to READY (PAUSED pending)
0:00:02.147140413 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2310:gst_element_continue_state:<tcambin-src_caps> continue state change READY to PAUSED, final PAUSED
0:00:02.147158254 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-src_caps> completed state change to PAUSED
0:00:02.147168605 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.147184093 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 3(PAUSED) successfully
0:00:02.147198584 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-source> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.148759823 19558      0x1d5da00 INFO                 basesrc gstbasesrc.c:1296:gst_base_src_do_seek:<tcambin-source> seeking: time segment start=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:02.148805100 19558      0x1d5da00 INFO                    task gsttask.c:431:gst_task_set_lock: setting stream lock 0x1f2a5e0 on task 0x1fa9050
0:00:02.148814738 19558      0x1d5da00 INFO                GST_PADS gstpad.c:5415:gst_pad_start_task:<tcambin-source:src> created task 0x1fa9050
0:00:02.148868909 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to PAUSED
0:00:02.148878474 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.148889245 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2699:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 3(PAUSED) successfully without preroll
0:00:02.148902134 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to PAUSED
0:00:02.148910262 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.148920328 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2699:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 3(PAUSED) successfully without preroll
0:00:02.148920763 19558      0x1f9d800 INFO        GST_ELEMENT_PADS gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element "tcambin-source"
0:00:02.148930367 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to PAUSED
0:00:02.148950432 19558      0x1f9d800 FIXME                default gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<tcambin-source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:02.148961728 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is live and does not need PREROLL ...
0:00:02.149135970 19558      0x1f9d800 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
Setting pipeline to PLAYING ...
0:00:02.179493215 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1184:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:02.179548030 19558      0x1d5da00 INFO                     bin gstbin.c:2499:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
0:00:02.179578771 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current READY pending PAUSED, desired next PLAYING
0:00:02.179593676 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2662:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' is changing state asynchronously to PLAYING
0:00:02.179609314 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.179622991 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to PLAYING
0:00:02.179632556 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.179648975 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 4(PLAYING) successfully
0:00:02.179680416 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.179695088 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-debayer> completed state change to PLAYING
0:00:02.179723580 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.179743227 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 4(PLAYING) successfully
0:00:02.179760591 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.179773935 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-src_caps> completed state change to PLAYING
0:00:02.179784127 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.179800218 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 4(PLAYING) successfully
0:00:02.179820292 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to PLAYING
0:00:02.179830929 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.179846314 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 4(PLAYING) successfully
0:00:02.179861242 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to PLAYING
0:00:02.179871356 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.179887046 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 4(PLAYING) successfully
New clock: GstSystemClock
0:00:02.180005411 19558      0x1f9d800 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1096:gst_tcam_src_set_caps: Requested caps = video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction)45/1
0:00:02.185445031 19558      0x1f9d800 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1176:gst_tcam_src_set_caps: Start acquisition
0:00:02.197889505 19558      0x1f9d800 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1191:gst_tcam_src_set_caps: Successfully set caps to: video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction)45/1
0:00:02.197914846 19558      0x1f9d800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction)45/1
0:00:02.198962397 19558      0x1f9d800 INFO           basetransform gstbasetransform.c:1335:gst_base_transform_setcaps:<tcambin-src_caps> reuse caps
0:00:02.198975831 19558      0x1f9d800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction)45/1
0:00:02.200194226 19558      0x1f9d800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-raw, width=(int)2048, height=(int)2048, framerate=(fraction)45/1, format=(string)RGBx
0:00:02.200938867 19558      0x1f9d800 INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating caps event video/x-raw, width=(int)2048, height=(int)2048, framerate=(fraction)45/1, format=(string)YUY2
0:00:12.220835577 19558 0x7f51b80022a0 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1201:gst_tcam_src_device_lost_callback: Received lost device notification. Stopping stream.
0:00:12.224169804 19558      0x1f9d800 INFO                 basesrc gstbasesrc.c:2668:gst_base_src_loop:<tcambin-source> pausing after gst_base_src_get_range() = eos
0:00:12.224250185 19558      0x1f9d800 INFO              GST_STATES gstbin.c:3112:bin_handle_async_done:<autovideosink0> committing state from READY to PAUSED, old pending PAUSED
0:00:12.224260013 19558      0x1f9d800 INFO              GST_STATES gstbin.c:3132:bin_handle_async_done:<autovideosink0> completed state change, pending VOID
0:00:12.224264510 19558      0x1f9d800 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:12.224280436 19558      0x1f9d800 INFO              GST_STATES gstbin.c:3121:bin_handle_async_done:<pipeline0> setting state from PAUSED to PAUSED, pending PLAYING
0:00:12.224296422 19558      0x1f9d800 INFO              GST_STATES gstbin.c:3141:bin_handle_async_done:<pipeline0> continue state change, pending PLAYING
0:00:12.224374739 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2935:gst_bin_continue_func:<pipeline0> continue state change PAUSED to PLAYING, final PLAYING
0:00:12.224467061 19558 0x7f51c00030f0 INFO               GST_EVENT gstevent.c:1184:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:12.224516070 19558 0x7f51c00030f0 INFO                     bin gstbin.c:2499:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
0:00:12.224554364 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:12.224575887 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:12.224586042 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to PLAYING
0:00:12.224592616 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:12.224608596 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 4(PLAYING) successfully
0:00:12.224617435 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to PLAYING
0:00:12.224617623 19558      0x1f9d800 INFO                    task gsttask.c:300:gst_task_func:<tcambin-source:src> Task going to paused
0:00:12.224624385 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:12.224666910 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 4(PLAYING) successfully
0:00:12.224687078 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:12.224693182 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<videoconvert0> skipping transition from PLAYING to  PLAYING
0:00:12.224698439 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 4(PLAYING) successfully
0:00:12.224705744 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin0> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:12.224718785 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:12.224724629 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<tcambin-debayer> skipping transition from PLAYING to  PLAYING
0:00:12.224739531 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 4(PLAYING) successfully
0:00:12.224746538 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:12.224751767 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<tcambin-src_caps> skipping transition from PLAYING to  PLAYING
0:00:12.224756557 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 4(PLAYING) successfully
0:00:12.224762833 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-source> current PLAYING pending VOID_PENDING, desired next PLAYING
0:00:12.224767903 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2344:gst_bin_element_set_state:<tcambin-source> skipping transition from PLAYING to  PLAYING
0:00:12.224772763 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 4(PLAYING) successfully
0:00:12.224779172 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to PLAYING
0:00:12.224783913 19558 0x7f51c00030f0 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 4(PLAYING) successfully
0:00:12.224790013 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to PLAYING
0:00:12.224794595 19558 0x7f51c00030f0 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
Got EOS from element "pipeline0".
Execution ended after 0:00:10.044954144
Setting pipeline to PAUSED ...
0:00:12.224873731 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.224887019 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.224894770 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to PAUSED
0:00:12.224900331 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.224909773 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 3(PAUSED) successfully
0:00:12.224917854 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to PAUSED
0:00:12.224922662 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.224930111 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 3(PAUSED) successfully
0:00:12.224937319 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.224943341 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to PAUSED
0:00:12.224947830 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.224954554 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 3(PAUSED) successfully
0:00:12.224960649 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.224971007 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.224977010 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-debayer> completed state change to PAUSED
0:00:12.224981580 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.224988996 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 3(PAUSED) successfully
0:00:12.224996425 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.225002315 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-src_caps> completed state change to PAUSED
0:00:12.225007130 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.225014192 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 3(PAUSED) successfully
0:00:12.225020609 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-source> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:12.225038021 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to PAUSED
0:00:12.225042823 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.225050458 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2699:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 3(PAUSED) successfully without preroll
0:00:12.225057690 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to PAUSED
0:00:12.225062378 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.225078532 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2699:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 3(PAUSED) successfully without preroll
0:00:12.225085447 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to PAUSED
0:00:12.225090253 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.225103050 19558      0x1d5da00 INFO              GST_STATES gstbin.c:1827:gst_bin_get_state_func:<pipeline0> getting state
Setting pipeline to READY ...
0:00:12.225121322 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current PAUSED pending VOID_PENDING, desired next READY
0:00:12.225131598 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current PAUSED pending VOID_PENDING, desired next READY
0:00:12.225146879 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to READY
0:00:12.225151909 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225160004 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 2(READY) successfully
0:00:12.225173965 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to READY
0:00:12.225178711 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225185739 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 2(READY) successfully
0:00:12.225193140 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current PAUSED pending VOID_PENDING, desired next READY
0:00:12.225219969 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to READY
0:00:12.225226815 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225236059 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 2(READY) successfully
0:00:12.225258339 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current PAUSED pending VOID_PENDING, desired next READY
0:00:12.225299654 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-debayer> completed state change to READY
0:00:12.225307338 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225317341 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 2(READY) successfully
0:00:12.225327289 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current PAUSED pending VOID_PENDING, desired next READY
0:00:12.225344480 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-src_caps> completed state change to READY
0:00:12.225350808 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225360477 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 2(READY) successfully
0:00:12.225395235 19558      0x1f9d800 INFO                    task gsttask.c:302:gst_task_func:<tcambin-source:src> Task resume from paused
0:00:12.225457790 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to READY
0:00:12.225473988 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225488467 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 2(READY) successfully
0:00:12.225502935 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking tcambin-debayer:src(0x1f2b4c0) and src:proxypad0(0x1f1e290)
0:00:12.225518309 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked tcambin-debayer:src and src:proxypad0
0:00:12.225531663 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to READY
0:00:12.225538137 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225548389 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 2(READY) successfully
0:00:12.225558639 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to READY
0:00:12.225565341 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.225579944 19558      0x1d5da00 INFO              GST_STATES gstbin.c:1827:gst_bin_get_state_func:<pipeline0> getting state
Setting pipeline to NULL ...
0:00:12.231903567 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0> current READY pending VOID_PENDING, desired next NULL
0:00:12.231929852 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<autovideosink0-actual-sink-xvimage> current READY pending VOID_PENDING, desired next NULL
0:00:12.254378850 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to NULL
0:00:12.254421204 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0-actual-sink-xvimage> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.254464917 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<autovideosink0> child 'autovideosink0-actual-sink-xvimage' changed state to 1(NULL) successfully
0:00:12.254491127 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0-actual-sink-xvimage> completed state change to NULL
0:00:12.254505219 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking sink:proxypad1(0x1f1e4d0) and autovideosink0-actual-sink-xvimage:sink(0x1f2a7a0)
0:00:12.254518465 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked sink:proxypad1 and autovideosink0-actual-sink-xvimage:sink
0:00:12.254529361 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<autovideosink0> removed child "autovideosink0-actual-sink-xvimage"
0:00:12.254546275 19558      0x1d5da00 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesink" named "tempsink"
0:00:12.254584030 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x1f3f200> adding pad 'sink'
0:00:12.254606515 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:897:gst_element_get_static_pad: found pad tempsink:sink
0:00:12.254616708 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2120:gst_pad_link_prepare: trying to link sink:proxypad1 and tempsink:sink
0:00:12.254626593 19558      0x1d5da00 INFO                GST_PADS gstpad.c:2322:gst_pad_link_full: linked sink:proxypad1 and tempsink:sink, successful
0:00:12.254634769 19558      0x1d5da00 INFO               GST_EVENT gstevent.c:1313:gst_event_new_reconfigure: creating reconfigure event
0:00:12.254643362 19558      0x1d5da00 INFO               GST_EVENT gstpad.c:5083:gst_pad_send_event_unchecked:<sink:proxypad1> Received event on flushing pad. Discarding
0:00:12.254650614 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<autovideosink0> completed state change to NULL
0:00:12.254657714 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<autovideosink0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.254670681 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'autovideosink0' changed state to 1(NULL) successfully
0:00:12.254684020 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<videoconvert0> current READY pending VOID_PENDING, desired next NULL
0:00:12.254696952 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<videoconvert0> completed state change to NULL
0:00:12.254703665 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<videoconvert0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.254715091 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'videoconvert0' changed state to 1(NULL) successfully
0:00:12.254724383 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin0> current READY pending VOID_PENDING, desired next NULL
0:00:12.254745773 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-debayer> current READY pending VOID_PENDING, desired next NULL
0:00:12.254757272 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-debayer> completed state change to NULL
0:00:12.254764245 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-debayer> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.254775535 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-debayer' changed state to 1(NULL) successfully
0:00:12.254786038 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-src_caps> current READY pending VOID_PENDING, desired next NULL
0:00:12.254797032 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-src_caps> completed state change to NULL
0:00:12.254803640 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-src_caps> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.254814828 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-src_caps' changed state to 1(NULL) successfully
0:00:12.254824623 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2227:gst_bin_element_set_state:<tcambin-source> current READY pending VOID_PENDING, desired next NULL
0:00:12.255008587 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to NULL
0:00:12.255020299 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin-source> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.255035294 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<tcambin0> child 'tcambin-source' changed state to 1(NULL) successfully
0:00:12.255050418 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin-source> completed state change to NULL
0:00:12.255060660 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking tcambin-source:src(0x1f2a570) and tcambin-src_caps:sink(0x1f2ae30)
0:00:12.255075869 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked tcambin-source:src and tcambin-src_caps:sink
0:00:12.255088544 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<tcambin0> removed child "tcambin-source"
0:00:12.255099104 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tcambin0> completed state change to NULL
0:00:12.255105780 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<tcambin0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.255117228 19558      0x1d5da00 INFO              GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'tcambin0' changed state to 1(NULL) successfully
0:00:12.255153286 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<autovideosink0-actual-sink-xvimage> dispose
0:00:12.255160667 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<autovideosink0-actual-sink-xvimage> removing pad 'sink'
0:00:12.255173282 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<autovideosink0-actual-sink-xvimage> parent class dispose
0:00:12.255182504 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<autovideosink0-actual-sink-xvimage> finalize
0:00:12.255188779 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<autovideosink0-actual-sink-xvimage> finalize parent
0:00:12.255201073 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<tcambin-source> dispose
0:00:12.255207344 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tcambin-source> removing pad 'src'
0:00:12.255216099 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<tcambin-source> parent class dispose
0:00:12.255238318 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<tcambin-source> finalize
0:00:12.255244570 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<tcambin-source> finalize parent
0:00:12.255257644 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to NULL
0:00:12.255264871 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to NULL (VOID_PENDING pending)
Freeing pipeline ...
0:00:12.255304546 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking videoconvert0:src(0x1f2a340) and autovideosink0:sink(0x1f20370)
0:00:12.255320719 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked videoconvert0:src and autovideosink0:sink
0:00:12.255334863 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<pipeline0> removed child "autovideosink0"
0:00:12.255346468 19558      0x1d5da00 INFO              GST_STATES gstelement.c:2328:gst_element_continue_state:<tempsink> completed state change to NULL
0:00:12.255355697 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking sink:proxypad1(0x1f1e4d0) and tempsink:sink(0x1f2b6f0)
0:00:12.255365481 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked sink:proxypad1 and tempsink:sink
0:00:12.255374699 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<autovideosink0> removed child "tempsink"
0:00:12.255384143 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<tempsink> dispose
0:00:12.255390312 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<tempsink> removing pad 'sink'
0:00:12.255401347 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<tempsink> parent class dispose
0:00:12.255408926 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<tempsink> finalize
0:00:12.255415057 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<tempsink> finalize parent
0:00:12.255426987 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<autovideosink0> dispose
0:00:12.255433496 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<autovideosink0> removing pad 'sink'
0:00:12.255446670 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<autovideosink0> parent class dispose
0:00:12.255453708 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<autovideosink0> finalize
0:00:12.255460147 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<autovideosink0> finalize parent
0:00:12.255469607 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1877:gst_pad_unlink: unlinking tcambin0:src(0x1f20110) and videoconvert0:sink(0x1f2a110)
0:00:12.255483198 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstpad.c:1931:gst_pad_unlink: unlinked tcambin0:src and videoconvert0:sink
0:00:12.255500044 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<pipeline0> removed child "videoconvert0"
0:00:12.255509487 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<videoconvert0> dispose
0:00:12.255515905 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<videoconvert0> removing pad 'sink'
0:00:12.255524452 19558      0x1d5da00 INFO        GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<videoconvert0> removing pad 'src'
0:00:12.255534534 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<videoconvert0> parent class dispose
0:00:12.255543421 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<videoconvert0> finalize
0:00:12.255549661 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<videoconvert0> finalize parent
0:00:12.255565496 19558      0x1d5da00 INFO           GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<pipeline0> removed child "tcambin0"
0:00:12.255575422 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<tcambin0> finalize
0:00:12.255581537 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<tcambin0> finalize parent
0:00:12.256306107 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<pipeline0> dispose
0:00:12.256324517 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<pipeline0> parent class dispose
0:00:12.256329930 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<pipeline0> finalize
0:00:12.256333624 19558      0x1d5da00 INFO         GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<pipeline0> finalize parent
0:00:12.256339668 19558      0x1d5da00 INFO                GST_INIT gst.c:938:gst_deinit: deinitializing GStreamer
0:00:12.258828717 19558      0x1d5da00 INFO                GST_INIT gst.c:1068:gst_deinit: deinitialized GStreamer
TIS-Edgar commented 7 years ago

What hardware are you using?

V4L2_CORE: (VIDIOC_DQBUF) Unable to dequeue buffer: Resource temporarily unavailable

This often indicates a problem with the usb connection, be it bandwidth, power or something else. Also why are you still on the old firmware?

Does the problem also occur when you use a small resolution with a low framerate? Something like 640x480@5fps.

The gst pipeline would be:

gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,width=640,height=480,framerate=5/1
ivanprado commented 7 years ago

Hi Edgar,

My camera is DFK33UX264 with a 3m USB3 wire sold with the camera (USB 3.0 Cable E119932 AWM 2725 80ºC 30V VW-1 COPARTNER). I plug the camera to a Dell Precision M3800 laptop.

I didn't know I was with an older firmware. I requested one by email but the answer was no new firmware was available. I'll request it again.

I just want to notice that the problems start once the camera gets a particular wrong state, because before it works properly (even at high framerates and resolutions)

This is the result of the pipeline you suggest when the camera is in the bad state (nothing is shown, no buffers flowing):

 gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,width=640,height=480,framerate=5/1 ! videoconvert ! autovideosink

(gst-plugin-scanner:23461): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsteglglessink.so': /usr/lib/x86_64-linux-gnu/libgstegl-1.0.so.0: undefined symbol: eglDestroyImageKHR
0:00:00.514203700 23460       0x9b50f0 DEBUG                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1228:gst_tcambin_init: init
Setting pipeline to PAUSED ...
0:00:00.519225893 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1037:gst_tcambin_change_state: NULL_TO_READY
0:00:00.519237722 23460       0x9b50f0 DEBUG                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:767:gst_tcambin_create_source: Creating source...
0:00:00.521185073 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1586:gst_tcam_src_set_property: Set camera name to 
0:00:00.521209525 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1333:gst_tcam_src_change_state: State change: NULL -> READY
0:00:00.521213356 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1337:gst_tcam_src_change_state: must initialize device
0:00:00.521218284 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1209:gst_tcam_src_init_camera:<tcambin-source> Initializing device.
0:00:02.525881074 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1219:gst_tcam_src_init_camera:<tcambin-source> Found 1 devices.
0:00:02.525905893 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1227:gst_tcam_src_init_camera:<tcambin-source> No serial given. Opening first available device.
0:00:02.615592280 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:675:gst_tcam_src_get_all_camera_caps: Found 5 pixel formats
0:00:02.615618024 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-bayer, format=(string)rggb' pixel format string
0:00:02.615628126 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.615682251 23460       0x9b50f0 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.615687339 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)YUY2' pixel format string
0:00:02.615693034 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.615728149 23460       0x9b50f0 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.615732014 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)BGR' pixel format string
0:00:02.615736790 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.615834036 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.615862007 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:675:gst_tcam_src_get_all_camera_caps: Found 5 pixel formats
0:00:02.615871891 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-bayer, format=(string)rggb' pixel format string
0:00:02.615878428 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.615913278 23460       0x9b50f0 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.615917631 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)YUY2' pixel format string
0:00:02.615923368 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.615957035 23460       0x9b50f0 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.615960729 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)BGR' pixel format string
0:00:02.615965376 23460       0x9b50f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.616050551 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.616225239 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.616362036 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.616502857 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1056:gst_tcambin_change_state: READY_TO_PAUSED
0:00:02.616515729 23460       0x9b50f0 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1080:gst_tcambin_change_state: caps of sink: video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.616646853 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.616708346 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1084:gst_tcambin_change_state: caps of src: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.616929521 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:659:gst_tcambin_generate_src_caps: No intersecting caps found. Trying caps with conversion.
0:00:02.617002956 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.617025617 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:587:gst_tcambin_generate_conversion_src_caps: Testing caps: 'video/x-bayer, framerate=(fraction)5/1, width=(int)640, height=(int)480'
0:00:02.617039810 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:591:gst_tcambin_generate_conversion_src_caps: Found possible caps video/x-bayer, framerate=(fraction)5/1, width=(int)640, height=(int)480, format=(string)rggb
0:00:02.617054843 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:608:gst_tcambin_generate_conversion_src_caps: Caps are: video/x-bayer, framerate=(fraction)5/1, width=(int)640, height=(int)480, format=(string)rggb
0:00:02.617059202 23460       0x9b50f0 WARN                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:750:gst_tcambin_generate_src_caps: Unsure if caps are correctly generated. Trying anyway.
0:00:02.617069749 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:865:gst_tcambin_create_elements: creating elements
0:00:02.617172999 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.626225045 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.626698077 23460       0x9b50f0 DEBUG                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:841:create_and_add_element: Adding bayer2rgb(0xb80120) to pipeline
0:00:02.626879705 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.627066260 23460       0x9b50f0 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.629454231 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:952:gst_tcambin_create_elements: Using tcambin-debayer as exit element for internal pipeline
0:00:02.629469529 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:954:gst_tcambin_create_elements: Internal pipeline: tcamscr ! video/x-bayer, framerate=(fraction)5/1, width=(int)640, height=(int)480 ! bayer2rgb
0:00:02.629483571 23460       0x9b50f0 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:961:gst_tcambin_create_elements: Working with exit caps: video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)5/1
Pipeline is live and does not need PREROLL ...
0:00:02.629871370 23460       0xb7e230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.629892923 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:855:gst_tcam_src_negotiate:<tcambin-source> caps of src: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.630423739 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:864:gst_tcam_src_negotiate:<tcambin-source> caps of peer: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.630430299 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:868:gst_tcam_src_negotiate: Peer gave us something to work with.
0:00:02.630438116 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:884:gst_tcam_src_negotiate:<tcambin-source> peer: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.630460255 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:895:gst_tcam_src_negotiate:<tcambin-source> intersect: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.630488788 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1506:gst_tcam_src_fixate_caps:<tcambin-source> Fixated caps to video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.630504315 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1012:gst_tcam_src_negotiate:<tcambin-source> fixated to: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.630520093 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1084:gst_tcam_src_set_caps: In tcam_set_caps
0:00:02.630523217 23460       0xb7e230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1096:gst_tcam_src_set_caps: Requested caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1
0:00:02.635905831 23460       0xb7e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1141:gst_tcam_src_set_caps:<tcambin-source> Frame rate = 5 Hz
0:00:02.635943750 23460       0xb7e230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1176:gst_tcam_src_set_caps: Start acquisition
0:00:02.642542385 23460       0xb7e230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1191:gst_tcam_src_set_caps: Successfully set caps to: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)5/1

I don't think problem is related with USB bandwith or wire, as I'm just getting one full resolution photo each 700 ms or so, so I'm far from full frame rate.

ivanprado commented 7 years ago

Something that is also happening: finishing the pipeline when camera is that state freezes. When I press Ctrl-c I got:

Interrupt: Stopping pipeline ...
Execution ended after 0:04:45.414748395
Setting pipeline to PAUSED ...

And it doesn't returns control until another Ctrl-c is pressed.

ivanprado commented 7 years ago

Unrelated problem,

When running (on a stable state):

gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,format=BGR,width=2448,height=2048,framerate=25/1 ! videoconvert ! autovideosink

I got the following error:

 gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,format=BGR,width=2448,height=2048,framerate=25/1 ! videoconvert ! autovideosink 
0:00:00.018980516 24540       0x93d360 DEBUG                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1228:gst_tcambin_init: init
Setting pipeline to PAUSED ...
0:00:00.024405369 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1037:gst_tcambin_change_state: NULL_TO_READY
0:00:00.024420350 24540       0x93d360 DEBUG                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:767:gst_tcambin_create_source: Creating source...
0:00:00.026240858 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1586:gst_tcam_src_set_property: Set camera name to 
0:00:00.026255395 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1333:gst_tcam_src_change_state: State change: NULL -> READY
0:00:00.026259415 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1337:gst_tcam_src_change_state: must initialize device
0:00:00.026264541 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1209:gst_tcam_src_init_camera:<tcambin-source> Initializing device.
0:00:02.031531787 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1219:gst_tcam_src_init_camera:<tcambin-source> Found 1 devices.
0:00:02.031558042 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1227:gst_tcam_src_init_camera:<tcambin-source> No serial given. Opening first available device.
0:00:02.123247302 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:675:gst_tcam_src_get_all_camera_caps: Found 5 pixel formats
0:00:02.123272765 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-bayer, format=(string)rggb' pixel format string
0:00:02.123288577 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123352523 24540       0x93d360 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.123359075 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)YUY2' pixel format string
0:00:02.123371673 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123415913 24540       0x93d360 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.123421181 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)BGR' pixel format string
0:00:02.123432600 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123551600 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.123585432 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:675:gst_tcam_src_get_all_camera_caps: Found 5 pixel formats
0:00:02.123593082 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-bayer, format=(string)rggb' pixel format string
0:00:02.123599670 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123640959 24540       0x93d360 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.123644932 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)YUY2' pixel format string
0:00:02.123651584 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123681578 24540       0x93d360 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:685:gst_tcam_src_get_all_camera_caps: Format has empty fourcc. Ignoring.
0:00:02.123685343 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:691:gst_tcam_src_get_all_camera_caps: Found 'video/x-raw, format=(string)BGR' pixel format string
0:00:02.123691914 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:697:gst_tcam_src_get_all_camera_caps: Found 4 resolutions
0:00:02.123762561 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:833:gst_tcam_src_get_all_camera_caps: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.123901889 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.124002870 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.124120500 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1056:gst_tcambin_change_state: READY_TO_PAUSED
0:00:02.124134709 24540       0x93d360 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1080:gst_tcambin_change_state: caps of sink: video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction)25/1
0:00:02.124213132 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.124268985 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1084:gst_tcambin_change_state: caps of src: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.124452998 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:659:gst_tcambin_generate_src_caps: No intersecting caps found. Trying caps with conversion.
0:00:02.124523718 24540       0x93d360 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.124546420 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:587:gst_tcambin_generate_conversion_src_caps: Testing caps: 'video/x-bayer, framerate=(fraction)25/1, width=(int)2448, height=(int)2048'
0:00:02.124556719 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:591:gst_tcambin_generate_conversion_src_caps: Found possible caps EMPTY
0:00:02.124560369 24540       0x93d360 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:595:gst_tcambin_generate_conversion_src_caps: Unable to find intersecting caps. Continuing with empty caps.
0:00:02.124565391 24540       0x93d360 WARN                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:750:gst_tcambin_generate_src_caps: Unsure if caps are correctly generated. Trying anyway.
0:00:02.124586935 24540       0x93d360 INFO                 tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:865:gst_tcambin_create_elements: creating elements
0:00:02.124611463 24540       0x93d360 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:890:gst_tcambin_create_elements: Could not find valid caps. Aborting pipeline creation.
0:00:02.124624885 24540       0x93d360 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1091:gst_tcambin_change_state: Error while creating elements
0:00:02.124628952 24540       0x93d360 ERROR                tcambin /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:1099:gst_tcambin_change_state: target_pad not defined
Pipeline is live and does not need PREROLL ...
0:00:02.124874183 24540       0x9d1f70 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1063:gst_tcam_src_get_caps: Available caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
Setting pipeline to PLAYING ...
0:00:02.133765175 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:855:gst_tcam_src_negotiate:<tcambin-source> caps of src: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.133937001 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:864:gst_tcam_src_negotiate:<tcambin-source> caps of peer: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2048, height=(int)2048, framerate=(fraction){ 45/1, 30/1, 15/1, 5/1, 1/1 }; video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction){ 600/1, 480/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, framerate=(fraction){ 90/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2048, height=(int)2048, framerate=(fraction){ 40/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)YUY2, width=(int)2448, height=(int)2048, framerate=(fraction){ 35/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)640, height=(int)480, framerate=(fraction){ 400/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)1920, height=(int)1080, framerate=(fraction){ 60/1, 30/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2048, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; video/x-raw, format=(string)BGR, width=(int)2448, height=(int)2048, framerate=(fraction){ 25/1, 15/1, 5/1, 1/1 }; ANY
0:00:02.133953025 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:868:gst_tcam_src_negotiate: Peer gave us something to work with.
0:00:02.133970721 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:884:gst_tcam_src_negotiate:<tcambin-source> peer: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }
New clock: GstSystemClock
0:00:02.136285993 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:895:gst_tcam_src_negotiate:<tcambin-source> intersect: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction){ 300/1, 5000000/20833, 120/1, 60/1, 30/1, 15/1, 5/1, 1/1 }
0:00:02.136339290 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1506:gst_tcam_src_fixate_caps:<tcambin-source> Fixated caps to video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)300/1
0:00:02.136350415 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1012:gst_tcam_src_negotiate:<tcambin-source> fixated to: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)300/1
0:00:02.136498280 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1084:gst_tcam_src_set_caps: In tcam_set_caps
0:00:02.136503705 24540       0x9d1f70 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1096:gst_tcam_src_set_caps: Requested caps = video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)300/1
0:00:02.142207813 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1141:gst_tcam_src_set_caps:<tcambin-source> Frame rate = 300 Hz
0:00:02.142242613 24540       0x9d1f70 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1176:gst_tcam_src_set_caps: Start acquisition
0:00:02.149130877 24540       0x9d1f70 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1191:gst_tcam_src_set_caps: Successfully set caps to: video/x-bayer, format=(string)rggb, width=(int)640, height=(int)480, framerate=(fraction)300/1
0:00:02.272952675 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1461:gst_tcam_src_create: Timestamp(ns): 86348609916000
0:00:02.272972962 24540       0x9d1f70 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1475:gst_tcam_src_create:<tcambin-source> Pushing buffer...
ERROR: from element /GstPipeline:pipeline0/GstTcamBin:tcambin0/GstTcamSrc:tcambin-source: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstTcamBin:tcambin0/GstTcamSrc:tcambin-source:
streaming task paused, reason not-linked (-1)
Execution ended after 0:00:00.139168716
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:02.274530514 24540       0x93d360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Setting pipeline to NULL ...
Freeing pipeline ...
Caught SIGSEGV

Meanwhile executing it using v4l2src works:

gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color v4l2src ! video/x-raw,format=BGR,width=2448,height=2048,framerate=25/1 ! videoconvert ! autovideosink

ivanprado commented 7 years ago

New findings:

It seems that problem is not related with trigger mode. I have seen video freeze on video (video/x-raw,format=BGR,width=2448,height=2048,framerate=25/1) using v4l2src.

Now testing with tcambin at 640x480 5Hz and seems to be working (I'll keep it running). I couldn't test on tcambin in full resolution because of the problem in the last comment.

¿Any ideas on what could be the problem? ¿heating? ¿the cable?

ivanprado commented 7 years ago

I can confirm it also fails with tcambin at higher resolutions:

gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,width=2448,height=2048,framerate=35/1 ! videoconvert ! autovideosink:

....
0:10:44.284161690 25602       0xbcb230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1461:gst_tcam_src_create: Timestamp(ns): 88507627320000
0:10:44.284192510 25602       0xbcb230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1475:gst_tcam_src_create:<tcambin-source> Pushing buffer...
0:10:54.159413443 25602 0x7f2350001320 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1201:gst_tcam_src_device_lost_callback: Received lost device notification. Stopping stream.
0:10:54.162736418 25602 0x7f2350001320 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Got EOS from element "pipeline0".
Execution ended after 0:10:52.025104766
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:10:54.163394257 25602       0xb36360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Setting pipeline to NULL ...
Freeing pipeline ...

After the failure, the camera gets into mentioned bad state, so re-executing the former pipeline gets:

...
0:00:02.135176157 26186       0xc6f230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1084:gst_tcam_src_set_caps: In tcam_set_caps
0:00:02.135181442 26186       0xc6f230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1096:gst_tcam_src_set_caps: Requested caps = video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction)35/1
0:00:02.140635748 26186       0xc6f230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1141:gst_tcam_src_set_caps:<tcambin-source> Frame rate = 35 Hz
0:00:02.140677535 26186       0xc6f230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1176:gst_tcam_src_set_caps: Start acquisition
0:00:02.152996569 26186       0xc6f230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1191:gst_tcam_src_set_caps: Successfully set caps to: video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction)35/1
0:00:12.174021326 26186 0x7fd618002560 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1201:gst_tcam_src_device_lost_callback: Received lost device notification. Stopping stream.
0:00:12.178729135 26186 0x7fd618002560 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Got EOS from element "pipeline0".
Execution ended after 0:00:10.044668091
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:12.179812511 26186       0xbda360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Setting pipeline to NULL ...
Freeing pipeline ...
TIS-Stefan commented 7 years ago

I asked per email for a sample project for us, so we can check the project on our own and see, what happens.

The firmware in the camera 459. We have no newer firmware.

Stefan

ivanprado commented 7 years ago

Acording to Stefan Geissler, the camera already has the latest firmware version.

I also got the error with 640x480 30 frames:

gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! autovideosink
ivanprado commented 7 years ago

I'm doing tests with a brand new USB3 cable. Things seems to improve, but still the problem arises.

I have run gst-launch-1.0 --gst-debug=tcam*:5 --gst-debug-no-color tcambin ! video/x-raw,width=2448,height=2048,framerate=35/1 ! videoconvert ! autovideosink and it stopped working after 28 minutes, as can be seen here:

...
0:28:15.826372814 13291      0x255e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1475:gst_tcam_src_create:<tcambin-source> Pushing buffer...
0:28:15.997617439 13291      0x255e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1461:gst_tcam_src_create: Timestamp(ns): 10535911249000
0:28:15.997657082 13291      0x255e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1475:gst_tcam_src_create:<tcambin-source> Pushing buffer...
0:28:16.168340090 13291      0x255e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1461:gst_tcam_src_create: Timestamp(ns): 10535996929000
0:28:16.168369202 13291      0x255e230 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1475:gst_tcam_src_create:<tcambin-source> Pushing buffer...
0:28:26.077027121 13291 0x7f0448001320 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1201:gst_tcam_src_device_lost_callback: Received lost device notification. Stopping stream.
0:28:26.080660437 13291 0x7f0448001320 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Got EOS from element "pipeline0".
Execution ended after 0:28:23.947872179
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:28:26.081375067 13291      0x24c9360 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Setting pipeline to NULL ...
Freeing pipeline ...

If I try to execute the same just after, it simply didn't work. The message is the same Received lost device notification. Stopping stream.

...
0:00:02.682273468 15175      0x1174230 INFO                 tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1191:gst_tcam_src_set_caps: Successfully set caps to: video/x-bayer, format=(string)rggb, width=(int)2448, height=(int)2048, framerate=(fraction)35/1
0:00:12.704185404 15175 0x7f657c001d50 ERROR                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1201:gst_tcam_src_device_lost_callback: Received lost device notification. Stopping stream.
0:00:12.707339421 15175 0x7f657c001d50 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Got EOS from element "pipeline0".
Execution ended after 0:00:10.043004773
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:12.708089062 15175       0xfab0f0 DEBUG                tcamsrc /home/ivan/sw/tiscamera/src/gstreamer-1.0/gsttcamsrc.cpp:1315:gst_tcam_src_stop:<tcambin-source> Stopped acquisition
Setting pipeline to NULL ...
Freeing pipeline ...

Please, @TIS-Edgar any idea what is happening?

Regards

TIS-Arne commented 7 years ago

This looks like a USB communication issue. Does your host computer have multiple USB ports? If so, could you please try to connect the camera to a different USB port. Also please post the output of "dmesg" after the issue happens.

ivanprado commented 7 years ago

@TIS-Arne dmesg after the issue happens:

[18614.712965] usb 4-6: new SuperSpeed USB device number 10 using xhci_hcd
[18614.729881] usb 4-6: LPM exit latency is zeroed, disabling LPM.
[18614.730656] usb 4-6: New USB device found, idVendor=199e, idProduct=9089
[18614.730658] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18614.730659] usb 4-6: Product: DFK 33UX264
[18614.730660] usb 4-6: Manufacturer: The Imaging Source Europe GmbH
[18614.730661] usb 4-6: SerialNumber: 28710063
[18614.731402] uvcvideo: Unknown video format 36314752-0000-0010-8000-00aa00389b71
[18614.731405] uvcvideo: Unknown video format 31313459-0000-0010-8000-00aa00389b71
[18614.731408] uvcvideo: Found UVC 1.10 device DFK 33UX264 (199e:9089)
[18615.399606] ------------[ cut here ]------------
[18615.399617] WARNING: CPU: 6 PID: 3511 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[18615.399618] Unknown pixelformat 0x00000000
[18615.399619] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[18615.399693] CPU: 6 PID: 3511 Comm: AudioThread Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[18615.399694] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[18615.399695]  0000000000000000 ffff8803ff04fbe8 ffffffff813ddefc ffff8803ff04fc30
[18615.399697]  ffffffffc13f4ab0 ffff8803ff04fc20 ffffffff8107ea36 ffff8803ff04fd98
[18615.399698]  0000000000000000 0000000000000000 ffff880229c60c00 ffffffffc13f7180
[18615.399700] Call Trace:
[18615.399704]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[18615.399708]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[18615.399709]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[18615.399713]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[18615.399718]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[18615.399721]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[18615.399723]  [<ffffffff81220eb4>] ? mntput+0x24/0x40
[18615.399725]  [<ffffffff8120ef89>] ? path_openat+0x2e9/0x12d0
[18615.399729]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[18615.399732]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[18615.399735]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[18615.399738]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[18615.399741]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[18615.399742]  [<ffffffff812103d3>] ? putname+0x53/0x60
[18615.399744]  [<ffffffff81200548>] ? do_sys_open+0x1b8/0x270
[18615.399745]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[18615.399748]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[18615.399749] ---[ end trace 6bcd2dfb7f344bac ]---
[18615.399924] ------------[ cut here ]------------
[18615.399929] WARNING: CPU: 6 PID: 3511 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[18615.399930] Unknown pixelformat 0x00000000
[18615.399931] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[18615.399990] CPU: 6 PID: 3511 Comm: AudioThread Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[18615.399990] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[18615.399991]  0000000000000000 ffff8803ff04fbe8 ffffffff813ddefc ffff8803ff04fc30
[18615.399993]  ffffffffc13f4ab0 ffff8803ff04fc20 ffffffff8107ea36 ffff8803ff04fd98
[18615.399994]  0000000000000000 0000000000000000 ffff880229c60b00 ffffffffc13f7180
[18615.399996] Call Trace:
[18615.399997]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[18615.400000]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[18615.400002]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[18615.400004]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[18615.400008]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[18615.400011]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[18615.400012]  [<ffffffff81220eb4>] ? mntput+0x24/0x40
[18615.400014]  [<ffffffff8120ef89>] ? path_openat+0x2e9/0x12d0
[18615.400017]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[18615.400021]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[18615.400023]  [<ffffffff812112f2>] ? do_filp_open+0x92/0xd0
[18615.400026]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[18615.400029]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[18615.400031]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[18615.400032]  [<ffffffff812103d3>] ? putname+0x53/0x60
[18615.400033]  [<ffffffff81200548>] ? do_sys_open+0x1b8/0x270
[18615.400035]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[18615.400037]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[18615.400038] ---[ end trace 6bcd2dfb7f344bad ]---
[18615.400050] ------------[ cut here ]------------
[18615.400053] WARNING: CPU: 6 PID: 3511 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[18615.400054] Unknown pixelformat 0x00000000
[18615.400054] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[18615.400102] CPU: 6 PID: 3511 Comm: AudioThread Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[18615.400102] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[18615.400103]  0000000000000000 ffff8803ff04fbe8 ffffffff813ddefc ffff8803ff04fc30
[18615.400104]  ffffffffc13f4ab0 ffff8803ff04fc20 ffffffff8107ea36 ffff8803ff04fd98
[18615.400106]  0000000000000000 0000000000000000 ffff880229c60b00 ffffffffc13f7180
[18615.400107] Call Trace:
[18615.400108]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[18615.400110]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[18615.400112]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[18615.400114]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[18615.400117]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[18615.400120]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[18615.400121]  [<ffffffff81220eb4>] ? mntput+0x24/0x40
[18615.400123]  [<ffffffff8120ef89>] ? path_openat+0x2e9/0x12d0
[18615.400126]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[18615.400129]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[18615.400131]  [<ffffffff812112f2>] ? do_filp_open+0x92/0xd0
[18615.400134]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[18615.400137]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[18615.400139]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[18615.400140]  [<ffffffff812103d3>] ? putname+0x53/0x60
[18615.400141]  [<ffffffff81200548>] ? do_sys_open+0x1b8/0x270
[18615.400143]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[18615.400144]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[18615.400145] ---[ end trace 6bcd2dfb7f344bae ]---
[18668.632312] ------------[ cut here ]------------
[18668.632323] WARNING: CPU: 5 PID: 3645 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[18668.632324] Unknown pixelformat 0x00000000
[18668.632325] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[18668.632397] CPU: 5 PID: 3645 Comm: gst-launch-1.0 Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[18668.632398] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[18668.632399]  0000000000000000 ffff8803121f3be8 ffffffff813ddefc ffff8803121f3c30
[18668.632401]  ffffffffc13f4ab0 ffff8803121f3c20 ffffffff8107ea36 ffff8803121f3d98
[18668.632402]  0000000000000000 0000000000000000 ffff880223285100 ffffffffc13f7180
[18668.632404] Call Trace:
[18668.632408]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[18668.632411]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[18668.632412]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[18668.632416]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[18668.632419]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[18668.632422]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[18668.632426]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[18668.632429]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[18668.632432]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[18668.632435]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[18668.632438]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[18668.632440]  [<ffffffff81068cb7>] ? __do_page_fault+0x1b7/0x430
[18668.632442]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[18668.632444]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[18668.632445] ---[ end trace 6bcd2dfb7f344baf ]---
[18668.632495] ------------[ cut here ]------------
[18668.632499] WARNING: CPU: 5 PID: 3645 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[18668.632499] Unknown pixelformat 0x00000000
[18668.632500] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[18668.632544] CPU: 5 PID: 3645 Comm: gst-launch-1.0 Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[18668.632545] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[18668.632546]  0000000000000000 ffff8803121f3be8 ffffffff813ddefc ffff8803121f3c30
[18668.632547]  ffffffffc13f4ab0 ffff8803121f3c20 ffffffff8107ea36 ffff8803121f3d98
[18668.632548]  0000000000000000 0000000000000000 ffff880223285100 ffffffffc13f7180
[18668.632550] Call Trace:
[18668.632551]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[18668.632553]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[18668.632554]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[18668.632556]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[18668.632559]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[18668.632562]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[18668.632565]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[18668.632568]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[18668.632572]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[18668.632574]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[18668.632576]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[18668.632577]  [<ffffffff81068cb7>] ? __do_page_fault+0x1b7/0x430
[18668.632579]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[18668.632580]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[18668.632581] ---[ end trace 6bcd2dfb7f344bb0 ]---

dmesg if I relaunch just after the failure (so without re-plugging the UBS):

[20654.799437] ------------[ cut here ]------------
[20654.799449] WARNING: CPU: 0 PID: 5677 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[20654.799450] Unknown pixelformat 0x00000000
[20654.799451] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[20654.799522] CPU: 0 PID: 5677 Comm: gst-launch-1.0 Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[20654.799523] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[20654.799525]  0000000000000000 ffff880230a2bbe8 ffffffff813ddefc ffff880230a2bc30
[20654.799526]  ffffffffc13f4ab0 ffff880230a2bc20 ffffffff8107ea36 ffff880230a2bd98
[20654.799528]  0000000000000000 0000000000000000 ffff8802d7955e00 ffffffffc13f7180
[20654.799529] Call Trace:
[20654.799533]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[20654.799537]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[20654.799539]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[20654.799543]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[20654.799546]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[20654.799550]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[20654.799554]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[20654.799557]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[20654.799560]  [<ffffffff811b1d0c>] ? tlb_finish_mmu+0x1c/0x50
[20654.799562]  [<ffffffff811b9263>] ? unmap_region+0xd3/0x100
[20654.799565]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[20654.799568]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[20654.799572]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[20654.799574]  [<ffffffff811bb4bb>] ? do_munmap+0x29b/0x3b0
[20654.799576]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[20654.799578]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[20654.799579] ---[ end trace 6bcd2dfb7f344bb1 ]---
[20654.799630] ------------[ cut here ]------------
[20654.799634] WARNING: CPU: 0 PID: 5677 at /build/linux-lts-xenial-ep3zLI/linux-lts-xenial-4.4.0/drivers/media/v4l2-core/v4l2-ioctl.c:1272 v4l_enum_fmt+0xd3e/0x10c0 [videodev]()
[20654.799635] Unknown pixelformat 0x00000000
[20654.799635] Modules linked in: cdc_ether uas usbnet usb_storage cdc_acm mii ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc aufs nvram drbg ansi_cprng ctr ccm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nfnetlink_queue nfnetlink_log nfnetlink input_polldev cmac uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btbcm v4l2_common btintel videodev hid_multitouch media nvidia_uvm(POE) arc4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter nvidia_modeset(POE) ip6_tables bnep rfcomm nf_conntrack_netbios_ns nf_conntrack_broadcast bluetooth nf_nat_ftp nf_nat nf_conntrack_ftp nvidia(POE) nf_conntrack iptable_filter ip_tables pn544_mei mei_phy x_tables pn544 hci nfc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek dell_laptop kvm_intel snd_hda_codec_generic dcdbas kvm snd_hda_intel snd_hda_codec irqbypass iwlmvm dell_smm_hwmon snd_hda_core crct10dif_pclmul snd_hwdep crc32_pclmul snd_pcm mac80211 ghash_clmulni_intel snd_seq_midi snd_seq_midi_event aesni_intel snd_rawmidi snd_seq aes_x86_64 lrw gf128mul glue_helper ablk_helper snd_seq_device cryptd input_leds joydev iwlwifi serio_raw snd_timer rtsx_pci_ms cfg80211 memstick snd lpc_ich mei_me mei ie31200_edac soundcore shpchp edac_core binfmt_misc acpi_als kfifo_buf industrialio mxm_wmi dell_wmi sparse_keymap int3403_thermal mac_hid processor_thermal_device int3402_thermal int3400_thermal dell_smo8800 dell_rbtn wmi int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf parport_pc ppdev lp parport btrfs xor raid6_pq hid_apple hid_generic usbhid hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci libahci rtsx_pci video fjes
[20654.799679] CPU: 0 PID: 5677 Comm: gst-launch-1.0 Tainted: P        W  OE   4.4.0-83-generic #106~14.04.1-Ubuntu
[20654.799680] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[20654.799681]  0000000000000000 ffff880230a2bbe8 ffffffff813ddefc ffff880230a2bc30
[20654.799682]  ffffffffc13f4ab0 ffff880230a2bc20 ffffffff8107ea36 ffff880230a2bd98
[20654.799683]  0000000000000000 0000000000000000 ffff8802d7955e00 ffffffffc13f7180
[20654.799685] Call Trace:
[20654.799686]  [<ffffffff813ddefc>] dump_stack+0x63/0x87
[20654.799688]  [<ffffffff8107ea36>] warn_slowpath_common+0x86/0xc0
[20654.799689]  [<ffffffff8107eabc>] warn_slowpath_fmt+0x4c/0x50
[20654.799691]  [<ffffffffc146a147>] ? uvc_ioctl_enum_fmt+0xb7/0x140 [uvcvideo]
[20654.799695]  [<ffffffffc13de80e>] v4l_enum_fmt+0xd3e/0x10c0 [videodev]
[20654.799698]  [<ffffffffc13dedea>] __video_do_ioctl+0x25a/0x2e0 [videodev]
[20654.799702]  [<ffffffff8118e630>] ? __alloc_pages_nodemask+0x130/0x240
[20654.799705]  [<ffffffffc13e13fb>] video_usercopy+0x21b/0x590 [videodev]
[20654.799708]  [<ffffffffc13deb90>] ? v4l_enum_fmt+0x10c0/0x10c0 [videodev]
[20654.799710]  [<ffffffff811b1d0c>] ? tlb_finish_mmu+0x1c/0x50
[20654.799713]  [<ffffffffc13e1785>] video_ioctl2+0x15/0x20 [videodev]
[20654.799716]  [<ffffffffc13da644>] v4l2_ioctl+0xa4/0xc0 [videodev]
[20654.799718]  [<ffffffff812143bd>] do_vfs_ioctl+0x2dd/0x4c0
[20654.799721]  [<ffffffff81068cb7>] ? __do_page_fault+0x1b7/0x430
[20654.799722]  [<ffffffff81214619>] SyS_ioctl+0x79/0x90
[20654.799723]  [<ffffffff8180c876>] entry_SYSCALL_64_fastpath+0x16/0x75
[20654.799724] ---[ end trace 6bcd2dfb7f344bb2 ]---
[20654.834272] uvcvideo: Non-zero status (-71) in video completion handler.
[20654.834799] uvcvideo: Non-zero status (-71) in video completion handler.
[20654.838269] uvcvideo: Non-zero status (-71) in video completion handler.
[20654.841772] uvcvideo: Non-zero status (-71) in video completion handler.
[20654.845270] uvcvideo: Non-zero status (-71) in video completion handler.

I'll try in a different port and I'll let you know.

I have also discovered the following:

ivanprado commented 7 years ago

@TIS-Arne I can confirm that the same problem arises in a different USB port.

TIS-Arne commented 7 years ago

Thank you very much for the log files.

There seems to be an issue with the USB communication. First of all you should be able to receive the full 35 FPS, as long as your host machine has enough performance to process this amount of data. From the dmesg output it looks like you are using a Core i7 machine which should suffice. I got stable 35 FPS on a Core i3 machine with the following launch line:

gst-launch-1.0 tcambin serial=48610630 ! video/x-raw,width=2448,height=2048,framerate=35/1 ! queue ! videoconvert ! fpsdisplaysink video-sink=xvimagesink

The lines containing "uvcvideo: Non-zero status (-71) in video completion handler." indicate a low level hardware issue. It is difficult to pinpoint the exact cause but here are some things you should try:

ivanprado commented 7 years ago

Thanks @TIS-Arne

TIS-Arne commented 7 years ago

The kernel version does not sound too old. Probably it is not worth trying a newer one.

To test the frame rate, you could use this script:

https://www.dropbox.com/s/8x29vrx536jt0xf/camera.py?dl=0

It will prompt you for a camera, video format and frame rate. It should then present a live video image. You could enter "f" on the console and it will print the currently achieved frame rate.

For the instabilities, my best bet is still an USB power issue since this would explain why the camera only fails at higher frame rates and resolutions. Maybe you can borrow a USB hub from someone for testing?

ivanprado commented 7 years ago

Frame rate reported by this tool is 34.879171. So it seems that fps is good as reported by this tool.

I have also noticed that the problem also appears when using this tool.

TIS-Arne commented 7 years ago

A web search with your notebook brand and model turned up some USB issues which look similar to what you are encountering (for example here: http://forum.notebookreview.com/threads/xps-9530-usb-connects-disconnects.760728/page-2#post-9809393). Unfortunately there does not seem to be a definite solution to the problem. You could try the solutions discussed in this thread (ie. change some USB settings in the BIOS and/or use ridiculously short cables) but it looks like there really might be an issue with the laptop hardware. My best bet would still be to use a powered USB hub but even this is not guaranteed to work. I am sorry I could not come up with a better solution for this issue :/

ivanprado commented 6 years ago

@TIS-Arne I have tested with a powered USB3 hub with no luck. But then I have also tested in another laptop with same OS and kernel version and It seems to work :-D. So by now (crossing fingers) I conclude that you were right and there is particular strange problem with USB on my laptop. Thanks for the support.

Anyway I'll run more exhaustive tests as I want to be completely sure. If issue returns on that laptop I'll tell you here.

Regards, Iván