Open kostastsing opened 7 months ago
Currently looking into supporting CompressionBeyond in the plugin.
We have to give up the optimization to directly cycle the pylon capture buffers in the gstreamer pipeline for this. ... and track the state of the ImageCompressonMode feature, to setup the buffer management accordingly
@kostastsing Hi, may we connect e.g. via LinkedIn and have a short chat on that? My ID is: www.linkedin.com/in/momchil-binev-380479145
Describe the bug I have enabled the feature Compression Beyond in the camera (a2A1920-51gcPRO) with lossless compression-ratio at 85%. The following pipeline exits with Segmentation Fault. I provide the stacktrace below:
However, when I run the pipeline with C code, I am not getting a segmentation fault but the following error instead that causes the pipeline to terminate.
From the error message, I can understand that the incoming data to the
bayer2rgb
element do not have the expected size when compression beyond is enabled. How to resolve this issue? Thanks in advance!To Reproduce
gst-launch-1.0 pylonsrc pfs-location=a2A1920-51gcPRO_40104514_50fps_compression85.pfs ! "video/x-bayer,width=1920,height=1000,framerate=50/1,format=rggb" ! bayer2rgb ! videoconvert ! queue ! autovideosink
Environment