zingmars / gst-pylonsrc

A gstreamer plugin for image capture from Basler's USB3 cameras. Please read the README before using.
Other
14 stars 7 forks source link

Camera couldn't prepare buffer in time. Probably Dead. #13

Closed chiuwe closed 4 years ago

chiuwe commented 4 years ago

Hi,

I was wondering if have ever ran into this problem before? I created a new ubuntu VM and for some reason keep running into this error trying to use the basler camera. I know for sure the camera isn't dead. When i switch to my first VM with the same command everything works fine. I'm not sure where to look to resolve this issue.

gst-launch-1.0 pylonsrc imageformat=ycbcr422_8 width=1280 height=720 ! videorate ! video/x-raw, framerate=5/1 ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
0:00:01.290903935 16138 0x55a82c70f590              pylonsrc gstpylonsrc.c:2233:pylonc_print_camera_info:<pylonsrc0> Status: Using camera "daA2500-14uc" (serial number: 23145676, id: 0). Custom ID: None
0:00:01.331273863 16138 0x55a82c70f590              pylonsrc gstpylonsrc.c:1093:gst_pylonsrc_start:<pylonsrc0> Setting resolution to 1280x720.
0:00:01.338057008 16138 0x55a82c70f590              pylonsrc gstpylonsrc.c:1217:gst_pylonsrc_start:<pylonsrc0> Using YCbCr422_8 image format.
0:00:01.479749323 16138 0x55a82c70f590              pylonsrc gstpylonsrc.c:2040:gst_pylonsrc_start:<pylonsrc0> Initialised successfully.
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:05.285173734 16138 0x55a82c707230              pylonsrc gstpylonsrc.c:2061:gst_pylonsrc_create:<pylonsrc0> Camera couldn't prepare the buffer in time. Probably dead.
ERROR: from element /GstPipeline:pipeline0/GstPylonsrc:pylonsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2695): gst_base_src_get_range (): /GstPipeline:pipeline0/GstPylonsrc:pylonsrc0:
Subclass GstPylonsrc neither returned a buffer nor submitted a buffer list from its create function
Execution ended after 0:00:03.805648074
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
zingmars commented 4 years ago

What's the host OS, what was used as a hypervisor? If it works on the first VM then it's probably related to that.