Comments (9)
According to https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videoconvert.html videoconvert doesn't seem to support BGR24
from gst-pylonsrc.
Is there any option for this conversion (Mono8 to BGR24)?
from gst-pylonsrc.
Supposedly BGR (without the 24) should work as an output format.
from gst-pylonsrc.
I tried BGR conversion as follows.
gst-launch-1.0 -v pylonsrc imageformat=mono8 ! videoconvert ! video/x-raw,format=BGR ! xvimagesink
Result :
Setting pipeline to PAUSED ...
0:00:00.712165719 4190 0x5636fe832100 pylonsrc gstpylonsrc.c:2233:pylonc_print_camera_info: Status: Using camera "acA1920-40gm" (serial number: 0, id: 0). Custom ID: None
0:00:00.721207646 4190 0x5636fe832100 pylonsrc gstpylonsrc.c:1093:gst_pylonsrc_start: Setting resolution to 1920x1200.
0:00:00.730799528 4190 0x5636fe832100 pylonsrc gstpylonsrc.c:1217:gst_pylonsrc_start: Using Mono8 image format.
0:00:00.772921659 4190 0x5636fe832100 pylonsrc gstpylonsrc.c:2040:gst_pylonsrc_start: Initialised successfully.
Pipeline is live and does not need PREROLL ...
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)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Anything wrong in this command. Kindly help. I am stuck with this error.
from gst-pylonsrc.
Adding to the above comment.
I tried the following also. But the same results.
gst-launch-1.0 -v pylonsrc imageformat=mono8 ! video/x-raw,format=GRAY8 ! videoconvert ! video/x-raw,format=BGR ! xvimagesink
from gst-pylonsrc.
from gst-pylonsrc.
I tried the below and it worked for me.
gst-launch-1.0 -v pylonsrc imageformat=bgr8 ! videoconvert ! video/x-raw,format=BGR ! videoconvert ! xvimagesink
Actually xvimagesink only support YUV formats, (I didn't know that). By the above command BGR is convert to YV12 and it displays.
In application the below command will work.
gst-launch-1.0 -v pylonsrc imageformat=bgr8 ! videoconvert ! video/x-raw,format=BGR | appsink
from gst-pylonsrc.
Thanks for the support :)
from gst-pylonsrc.
No problem. Best of luck with your endeavour.
from gst-pylonsrc.
Related Issues (16)
- Bayer RG 8 supported? HOT 9
- Related project gst-plugins-vision HOT 6
- Camera couldn't prepare buffer in time. Probably Dead. HOT 1
- Cannot find proper location on Jeston baord HOT 6
- HW triggering parameter HOT 1
- Contrast HOT 21
- No such element or plugin 'pylonsrc' HOT 6
- pipeline for generating rtsp stream from pylon camera is failing HOT 4
- UDP Stream cuts out after one second HOT 6
- limitbandwidth not implemented for all cameras? HOT 2
- gst-pylonsrc not found HOT 2
- gstpylonsrc.c : Error in the image processing loop HOT 11
- Internal data stream error HOT 2
- cross compiling for arm HOT 1
- Can't set continuous to false HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gst-pylonsrc.