Skip to content

Commit

Permalink
Merge branch 'feature/update_to_0.7.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
thiesmoeller committed May 10, 2023
2 parents 88919d5 + 1e70e48 commit 2fba87f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 19 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.7.0] - 2023-05-08

### Changed
- offset x/y are cached when pipeline is not playing.
* setting the offset an ROI configured via caps is possible now
* fixes #44

### Added
- Restructing of buffer pool management to support platform specific optimal buffer types
- NVMM support
* This feature is automatically enabled when both the CUDA library and the DeepStream library are installed on the system.
* If enabled pylonsrc can directly generate output buffers into nvmm, that can be used by other nvidia elements.
* Current restrictions:
* only runs on NVIDIA Jetson at the moment

- Pylon 7.3
* meson supports to build the plugin with pylon 7.3 now


## [0.6.2] - 2023-04-04

### Changed
Expand Down
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,25 @@ possible values) after applying the userset and pfs file. It is
recommended to set a caps-filter to explicitly set the wanted
capabilities.
# NVMM Support
NVMM caps are now supported in the current version of the element. This feature
is automatically enabled when both the CUDA library and the DeepStream library
are installed on the system.
By using this support, a memory speedup can be achieved as it eliminates the
need for an additional element to connect the system memory and NVIDIA's GPU
memory.
Here's an example of how to use this feature:
```bash
gst-launch-1.0 pylonsrc ! "video/x-raw(memory:NVMM), width=1920, height=1080" ! nvvidconv ! "video/x-raw(memory:NVMM), width=1280, height=720" ! fakesink
```
### Handle capture errors
`pylonsrc` lets you decide what to do when a capture error happens.
Expand Down Expand Up @@ -533,23 +552,6 @@ Installation on macOS is currently not supported due to conflicts between meson
This target will be integrated after a Basler pylon 7.x release for macOS
# NVMM Support
NVMM caps are now supported in the current version of the element. This feature
is automatically enabled when both the CUDA library and the DeepStream library
are installed on the system.
By using this support, a memory speedup can be achieved as it eliminates the
need for an additional element to connect the system memory and NVIDIA's GPU
memory.
Here's an example of how to use this feature:
```bash
gst-launch-1.0 pylonsrc ! "video/x-raw(memory:NVMM), width=1920, height=1080" ! nvvidconv ! "video/x-raw(memory:NVMM), width=1280, height=720" ! fakesink
```
# Known issues
Expand Down
4 changes: 3 additions & 1 deletion gst-libs/gst/pylon/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
# import PYLON_ROOT environment into meson
pylon_path = run_command(python3, '-c', 'import os; print(os.environ.get("PYLON_ROOT","PYLON_ROOT_NOT_SET"))', check: false).stdout().strip()

if target_machine.system() == 'linux' and pylon_path == 'PYLON_ROOT_NOT_SET'
fs = import('fs')

if target_machine.system() == 'linux' and (pylon_path == 'PYLON_ROOT_NOT_SET' or not fs.exists(pylon_path / 'include/pylon'))
# PYLON_ROOT has to be set
error('PYLON_ROOT has to be set to location of pylon install e.g. /opt/pylon')
endif
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('gst-plugin-pylon', 'c', 'cpp',
version : '0.6.2',
version : '0.7.0',
meson_version : '>= 0.61',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
Expand Down

0 comments on commit 2fba87f

Please sign in to comment.