-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Hi,
I get a segmentation fault when trying to enable recording to file on a Jetson Nano.
In particular, the following minimal example:
import pyzed.sl as sl
zed = sl.Camera()
init_params = sl.InitParameters()
status_open = zed.open(init_params)
if status_open == sl.ERROR_CODE.SUCCESS:
status_recording = zed.enable_recording('test.svo', compression_mode=sl.SVO_COMPRESSION_MODE.SVO_COMPRESSION_MODE_HEVC)
print(status_recording)
zed.close()
will crash at enable_recording() with the following error message:
Failed to query video capabilities: Inappropriate ioctl for device
Segmentation fault (core dumped)
Setting compression_mode=sl.SVO_COMPRESSION_MODE.SVO_COMPRESSION_MODE_AVCHD produces the same outcome. Instead, setting compression_mode=sl.SVO_COMPRESSION_MODE.SVO_COMPRESSION_MODE_LOSSY does not result in a crash.
It appears it has something to do with video encoding modes, however I cannot figure out which system library version (if any) does not get along with the ZED SDK.
I am working on a Jetson Nano with L4T 32.2.0, Cuda 10.0.326, Python 3.6.8, ZED SDK JP4.2 v2.8.3 and ZED Python API built from up-to-date source.
Please let me know if more specs are necessary to debug the issue.