348 Commits

Author SHA1 Message Date
Joshua M. Doe
91e060dcbd pleorasrc: read GEV packet size after negotiation
For debug and set to property
2019-11-07 09:17:49 -05:00
Joshua M. Doe
6084edb3f7 pleorasrc: refactor device/stream opening 2019-11-07 09:17:49 -05:00
Joshua M. Doe
4b03de07fe pleorasrc: allow config file to specify only one of stream or device 2019-11-07 09:17:49 -05:00
Joshua M. Doe
76e67ee5fc pleorasrc: set caps before _create to avoid bad negotiation
Caps must be fixated before _create, otherwise initial caps is
width=1,height=1 which cause some sinks to create incorrect window
sizes.
2019-11-07 09:17:49 -05:00
Joshua M. Doe
88f7a82818 pleorasrc: cache caps if width, height, and pixel type don't change 2019-11-07 09:17:49 -05:00
Joshua M. Doe
19ce118c96 pleorasrc: add config-file and config-file-connect properties
If config-file is set to the filepath of a XML file, such as is
generated by eBUS Player, it will be used to restore configuration
to the device and stream. By default, the device and stream will be
connected using the information from the config-file. Set
config-file-connect=false to connect to the camera using other element
properties, and then apply the configuration changes from the
config-file.
2019-11-07 09:17:49 -05:00
Joshua M. Doe
e4ae64b44b pleorasrc: add packet-size property
Also, if auto-negotiate (packet-size=0) is used (the default), and
negotiation fails, use the safe packet size of 1476 bytes.
2019-11-07 09:17:49 -05:00
Joshua M. Doe
351aab12d8 pleorasrc: add more and better useful error feedback to user
Try to return most useful error message to user via GST_ELEMENT_ERROR
instead of using GST_WARNING_OBJECT.
2019-11-07 09:17:49 -05:00
joshdoe
a045f24efa
Merge pull request #7 from 5shekel/patch-1
idsueyesrc: add SENSOR_RAW8 color format
2019-11-07 09:16:21 -05:00
yair
fa24f0e437
Update gstidsueyesrc.c
added color_mode for RAW (un-bayered) 8bit stream
2019-11-07 15:56:07 +02:00
joshdoe
865eed1c46
add more instructions and examples to README.md
Also separate out image acquisition and generation elements
2019-10-10 08:47:24 -04:00
Joshua M. Doe
685b202541 select: new filter to drop frames based on offset and skip
Motivation was to select only odd or even frames.
2019-10-10 07:49:56 -04:00
Joshua M. Doe
8b7b405381 pleorasrc: add support for IYU1 and IYU2 pixel formats
This also needed a change to calculating the strides, as IYU1 is 12bpp,
and GstVideoInfo defines pixel stride in bytes, so for IYU2 the stride
was calculated as zero. Instead use Pleora's own definition of pixel
stride to calculate Pleora's row stride.
2019-10-10 07:38:52 -04:00
Joshua M. Doe
5839020c33 gigesimsink: allow compiling with GStreamer < 1.10
IYU2 was added in 1.10, but we'd like to be able to build against 1.2,
so define the pixel type if it doesn't exist.
2019-10-10 07:36:51 -04:00
Joshua M. Doe
73708059f6 gigesimsink: new sink for A&B Soft GigESim to produce GigE Vision video
This will require a license from A&B to transmit, which can be purchased
from their website.
2019-10-09 10:56:00 -04:00
Joshua M. Doe
ef1242fd81 pleorasrc: run gst-indent 2019-10-02 10:58:17 -04:00
Joshua M. Doe
e1d0574ecf pleorasrc: more useful error messages 2019-10-02 10:58:01 -04:00
Joshua M. Doe
a7f4657547 pleorasrc: add support for compiling against eBUS SDK 5
Unfortunately eBUS SDK 5 breaks API, but only in a few minor ways.
2019-10-02 10:55:24 -04:00
Joshua M. Doe
5ef38d0833 kayasrc: support opening multiple cameras from one frame grabber
Previously only one camera per physical capture card could be opened.
Multiple cameras per card can now be captured, however they must both
still be in the same process. There is no IPC implemented yet.
2019-10-02 09:39:05 -04:00
Joshua M. Doe
75aaec26b6 kayasrc: add UNIX epoch reference timestamp for absolute timestamping
Requires GStreamer 1.14 and a downstream element that can use it.
2019-10-02 09:35:39 -04:00
Joshua M. Doe
1611f54672 niimaqdxsrc: don't over-report dropped frames 2019-10-02 09:32:43 -04:00
Joshua M. Doe
8fd7c91da6 niimaqdxsrc: add UNIX epoch reference timestamp for absolute timestamping
Requires GStreamer 1.14 and a downstream element that can use it.
2019-10-02 09:31:02 -04:00
Joshua M. Doe
11bb336ee4 niimaqsrc: add UNIX epoch reference timestamp for absolute timestamping
Requires GStreamer 1.14 and a downstream element that can use it.
2019-10-02 09:17:05 -04:00
Joshua M. Doe
54f9df72b7 imperxflex,extractcolor,niimaq: change plugin name to match module
Some newer version of GStreamer requires the plugin name used in
GST_PLUGIN_DEFINE to match the name of the compiled module, excluding
libgst and the extension.
2019-10-02 09:16:08 -04:00
Joshua M. Doe
fb9072bc8b build: make sure kaya and genicam PDBs are put in the right zip 2019-09-30 10:28:04 -04:00
Joshua M. Doe
e364cfe4d5 pleorasrc: fix handling of strides that aren't 32-bit aligned
For example, a Mono8 642x482 would have failed to work, as GStreamer
expects the stride to be a multiple of 4-bytes, that is 644 bytes in
this example, while Pleora doesn't do this alignment. This incurs a copy
unfortunately, and there might be a way with memory meta to avoid this,
however eventually most elements will need to have the data 4-byte
aligned.
2019-08-29 14:56:18 -04:00
Joshua M. Doe
64866758a2 "pleorasrc: open devices by default in unicast mode
When multicast was added, it was always used. Set default
multicast-group to "0.0.0.0" now, which implies unicast.
2019-08-29 12:26:36 -04:00
Joshua M. Doe
d68f26619a add more supported sources in README.md 2019-08-01 14:48:30 -04:00
Joshua M. Doe
2ee4399f3f imperxsdisrc: new source element for IMPERX HD-SDI Express framegrabbers
The IMPERX SDI cards support BGR, YUY2, and a unique 10-bit YUV 4:2:2
format which is not currently supported in GStreamer. For now, we'll
unpack it to AYUV64.

This has only been tested on a ExpressCard device, but is expected to
work with all IMPERX grabbers that use this SDK.

Special attention has not been given yet to timestamping or accounting
for dropped frames.

Currently if the source is interlaced this element will deinterlace.
Another mode could be supported to push out the frames as is, with
appropriate caps to indicate interlacing mode.
2019-08-01 12:25:23 -04:00
Joshua M. Doe
477ae0b9d7 imperxflex: move imperxflexsrc to a more unique directory 2019-07-26 10:44:06 -04:00
Joshua M. Doe
904546b7e2 niimaqdxsrc: fix endianness for Mono14 big endian 2019-04-15 10:43:39 -04:00
Joshua M. Doe
68e7fb1c00 niimaqdxsrc: ignore spaces in format names
Some devices add spaces to format names, such as 'Mono 16'.
Ignore these spaces.
2019-03-25 14:42:07 -04:00
Joshua M. Doe
85b4e242ca kayasrc: issue warning when exposure time value is invalid 2019-03-25 14:32:07 -04:00
Joshua M. Doe
4e18c58e19 kayasrc: add property to allow command execution after opening camera
Closes #3. With Kaya project files, commands don't get executed, such as
UserSet loading.
2019-03-25 14:31:32 -04:00
Joshua M. Doe
b6d837aed4 misbirunpack: add properties to allow tweaking luma and chroma mask
This can be useful for non-standard implementations of this conversion process
2018-10-04 13:10:47 -04:00
Joshua M. Doe
bcb80f3b87 pleorasrc: run gst-indent 2018-10-04 13:05:17 -04:00
Joshua M. Doe
5546ea432a pleorasrc: avoid releasing buffer if pipeline is destroyed 2018-10-04 13:02:47 -04:00
Joshua M. Doe
cde7de8b97 pixcisrc: only use format-file if specified, ignoring format-name 2018-10-02 07:36:53 -04:00
Joshua M. Doe
9142674df2 misbirunpack: add shift and swap property for non-compliant sources 2018-08-14 12:54:48 -04:00
Joshua M. Doe
f238398851 kayasrc: xml file existence bug fix 2018-07-19 07:43:26 -04:00
Joshua M. Doe
760620b21a kayasrc: use grabber PixelFormat in case format conversion is being used 2018-07-19 07:43:25 -04:00
Joshua M. Doe
73725a57da common: add some RGB pixel formats to genicam conversion 2018-07-19 07:43:24 -04:00
Joshua M. Doe
4c47870c00 kayasrc: report dropped frames with warning and bus message 2018-07-19 07:43:23 -04:00
Joshua M. Doe
e7cdcb426d kayasrc: add exposure-time property 2018-07-19 07:42:50 -04:00
Joshua M. Doe
3e7230e782 genicamsrc: fix device-index property installation 2018-07-10 14:56:11 -04:00
Joshua M. Doe
5e6a0eea99 pleorasrc: add RGBa8 support as RGBx 2018-07-10 14:56:10 -04:00
Joshua M. Doe
2588c7b836 pleorasrc: fix detection-timeout property 2018-07-10 14:56:09 -04:00
Joshua M. Doe
c5ee1a5706 pleorasrc: add multicast and receiver-only support 2018-07-10 14:56:08 -04:00
Joshua M. Doe
44dfc350f0 videolevels: add support for 8- and 16-bit Bayer
Since GstVideoFilter doesn't support Bayer, most work was in reverting back to GstBaseTransform
2018-07-10 14:56:07 -04:00
Joshua M. Doe
5d58db5e9e build: fix Pleora plugin build 2018-07-10 14:56:06 -04:00