Internal data stream error
Closed this issue · 2 comments
chiuwe commented
Hi,
I'm fairly new to this gstreamer environment. I have a Basler Dart DaA2500-14uc camera, which I'm trying to use with your plugin. I got the plugin installed but when I try to use it I run into an error.
I'm not sure if I have wrong parameters for the pipeline or if it just doesn't work with this camera or what.
GST_DEBUG=pylonsrc:5 gst-launch-1.0 pylonsrc imageformat=rgb8 ! videoconvert ! xvimagesink
0:00:00.023555791 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:397:gst_pylonsrc_init:<GstPylonsrc@0x561ac5b198e0> Initialising defaults
0:00:00.023627568 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:477:gst_pylonsrc_set_property:<pylonsrc0> Setting a property.
0:00:00.027650815 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:871:gst_pylonsrc_get_caps:<pylonsrc0> Received a request for caps.
0:00:00.027706758 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:873:gst_pylonsrc_get_caps:<pylonsrc0> Could not send caps - no camera connected.
0:00:00.028473710 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:871:gst_pylonsrc_get_caps:<pylonsrc0> Received a request for caps.
0:00:00.028509208 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:873:gst_pylonsrc_get_caps:<pylonsrc0> Could not send caps - no camera connected.
0:00:00.029213740 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:871:gst_pylonsrc_get_caps:<pylonsrc0> Received a request for caps.
0:00:00.029247419 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:873:gst_pylonsrc_get_caps:<pylonsrc0> Could not send caps - no camera connected.
0:00:00.029968453 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:871:gst_pylonsrc_get_caps:<pylonsrc0> Received a request for caps.
0:00:00.030003856 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:873:gst_pylonsrc_get_caps:<pylonsrc0> Could not send caps - no camera connected.
Setting pipeline to PAUSED ...
0:00:00.322640192 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:953:gst_pylonsrc_start:<pylonsrc0> pylonsrc: found 1 Basler device(s).
0:00:00.322752984 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2188:pylonc_connect_camera:<pylonsrc0> Connecting to the camera...
0:00:01.104606590 23212 0x561ac5aefb50 pylonsrc gstpylonsrc.c:2233:pylonc_print_camera_info:<pylonsrc0> Status: Using camera "daA2500-14uc" (serial number: 40011783, id: 0). Custom ID: None
0:00:01.109571007 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1064:gst_pylonsrc_start:<pylonsrc0> Max resolution is 2592x1944.
0:00:01.119576182 23212 0x561ac5aefb50 pylonsrc gstpylonsrc.c:1093:gst_pylonsrc_start:<pylonsrc0> Setting resolution to 2592x1944.
0:00:01.120048410 23212 0x561ac5aefb50 WARN pylonsrc gstpylonsrc.c:1105:gst_pylonsrc_start:<pylonsrc0> The camera doesn't seem to allow offset centering. Skipping...
0:00:01.125322837 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1157:gst_pylonsrc_start:<pylonsrc0> Flipping X: False, Flipping Y: False.
0:00:01.125537505 23212 0x561ac5aefb50 pylonsrc gstpylonsrc.c:1217:gst_pylonsrc_start:<pylonsrc0> Using RGB8 image format.
0:00:01.157915881 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1228:gst_pylonsrc_start:<pylonsrc0> Pixel is 24 bits large.
0:00:01.158021521 23212 0x561ac5aefb50 WARN pylonsrc gstpylonsrc.c:1248:gst_pylonsrc_start:<pylonsrc0> The camera doesn't support test image mode.
0:00:01.158041429 23212 0x561ac5aefb50 WARN pylonsrc gstpylonsrc.c:1269:gst_pylonsrc_start:<pylonsrc0> Camera does not support changing the readout mode.
0:00:01.158143913 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1275:gst_pylonsrc_start:<pylonsrc0> Limiting camera's bandwidth.
0:00:01.161548144 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1337:gst_pylonsrc_start:<pylonsrc0> Setting light preset to Daylight 5000k (Daylight).
0:00:01.164393119 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1357:gst_pylonsrc_start:<pylonsrc0> Disabling automatic exposure.
0:00:01.165516549 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1381:gst_pylonsrc_start:<pylonsrc0> Disabling automatic gain.
0:00:01.166680824 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1405:gst_pylonsrc_start:<pylonsrc0> Disabling automatic white balance.
0:00:01.167849957 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1493:gst_pylonsrc_start:<pylonsrc0> Using the auto profile currently saved on the device.
0:00:01.167987874 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1507:gst_pylonsrc_start:<pylonsrc0> Using current settings for the colour red.
0:00:01.168006912 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1518:gst_pylonsrc_start:<pylonsrc0> Using current settings for the colour green.
0:00:01.168017278 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1529:gst_pylonsrc_start:<pylonsrc0> Using current settings for the colour blue.
0:00:01.168108934 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1664:gst_pylonsrc_start:<pylonsrc0> This camera doesn't support adjusting colours. Skipping...
0:00:01.168276076 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1786:gst_pylonsrc_start:<pylonsrc0> This camera doesn't support transforming colours. Skipping...
0:00:01.168400716 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1797:gst_pylonsrc_start:<pylonsrc0> Exposure property not set, using the saved exposure setting.
0:00:01.168487682 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1809:gst_pylonsrc_start:<pylonsrc0> Setting gain to 0.00
0:00:01.171548421 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1821:gst_pylonsrc_start:<pylonsrc0> Setting black level to 0.00
0:00:01.174865352 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1830:gst_pylonsrc_start:<pylonsrc0> Setting gamma to 1.00
0:00:01.195797557 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1874:gst_pylonsrc_start:<pylonsrc0> Basler's PGI is not supported. Skipping.
0:00:01.195872455 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1878:gst_pylonsrc_start:<pylonsrc0> Setting trigger mode.
0:00:01.198783503 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:1922:gst_pylonsrc_start:<pylonsrc0> Using "FrameStart" trigger selector. Software trigger mode is Off.
0:00:01.219962786 23212 0x561ac5aefb50 WARN pylonsrc gstpylonsrc.c:2003:gst_pylonsrc_start:<pylonsrc0> Couldn't determine link speed.
0:00:01.220045167 23212 0x561ac5aefb50 WARN pylonsrc gstpylonsrc.c:2015:gst_pylonsrc_start:<pylonsrc0> Couldn't determine sensor readout time.
0:00:01.220574243 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2025:gst_pylonsrc_start:<pylonsrc0> The resulting framerate is 2 fps.
0:00:01.220616757 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2026:gst_pylonsrc_start:<pylonsrc0> Each frame is 15116544 bytes big (15.1 MB). That's 31.9MB/s.
0:00:01.225357502 23212 0x561ac5aefb50 pylonsrc gstpylonsrc.c:2040:gst_pylonsrc_start:<pylonsrc0> Initialised successfully.
Pipeline is live and does not need PREROLL ...
0:00:01.226320876 23212 0x561ac5b2d140 DEBUG pylonsrc gstpylonsrc.c:871:gst_pylonsrc_get_caps:<pylonsrc0> Received a request for caps.
0:00:01.226432252 23212 0x561ac5b2d140 DEBUG pylonsrc gstpylonsrc.c:910:gst_pylonsrc_get_caps:<pylonsrc0> The following caps were sent: video/x-raw, RGB, 2592x1944, variable fps.
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstPylonsrc:pylonsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstPylonsrc:pylonsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000101969
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:01.227614958 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2118:gst_pylonsrc_stop:<pylonsrc0> stop
0:00:01.257343105 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2164:pylonc_disconnect_camera:<pylonsrc0> Camera disconnected.
Setting pipeline to NULL ...
Freeing pipeline ...
0:00:01.287594041 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2129:gst_pylonsrc_dispose:<pylonsrc0> dispose
0:00:01.287679337 23212 0x561ac5aefb50 DEBUG pylonsrc gstpylonsrc.c:2137:gst_pylonsrc_finalize:<pylonsrc0> finalize
zingmars commented
Can you re-run with GST_DEBUG=5
?
reason not-negotiated
usually indicates a problem within the pipeline itself and the plugin seems to initialise just fine in your logs.
chiuwe commented
Hi zingmars,
I changed my output from xvimagesink to ximagesink and it works.