Renamed 'imageformat' property to 'pixel-format', and set default to 'auto',
which will query the camera for supported PixelFormats, then allow
GStreamer to negotiate the format with downstream elements.
GenICam currently supports a specific list of pixel format names,
however Basler, NI, and probably others sometimes use different names,
especially in older cameras. Spaces tend to get used, so now when
checking for matches, ignore spaces and casing.
Merged from https://github.com/zingmars/gst-pylonsrc
This includes some changes to include running gst-indent, and
modification to allow it to compile with Visual Studio 2012/VC11.
This is a convenience function to avoid using a capssetter when we want to treat
Bayer as gray. In the future we can add properties to balance each element of the
CFA.
Note there's a bug with the in-place transform, so currently a memcpy is being used.
This will set the multicast-group, multicast-port, and packet-size
properties, and begin streaming via AcquisitionStart. Currently any
client can connect as controller and change these properties, but these
removes the requirement to have such a client.
This attemps to partially implement MISB ST1608.1, "Transport of Motion
Imagery and Metadata over GigE Vision". This relies on GstKLVMeta, which
is currently a merge request 124 for gst-plugins-base. For now we
include it here. Currently all KLVMeta is packed into one chunk, no
special handling of timestamps is done. Testing has only been done
between pleorasink and pleorasrc, no other MISB-compliant stream.
Not the prettiest way to handle this, but we have a need for supporting
multiple versions of eBUS, and this way we can distribute multiple
versions. This also tries to modernize the FindPleora.cmake file.
Since we're using the Imperx unpack function, we can easily handle
packed pixel formats. For performance reasons, we could always support
packed pixel formats directly by adding new caps.
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.