I tried the recording example but it fails.
I saw this github that it will support 4.6 soon, is there ant update? Thx
/media/nvidia/SSD_HD/ZED/svo_recording/recording/python$ python3 svo_recording.py test.svo Failed to query video capabilities: Inappropriate ioctl for device libv4l2: error getting capabilities: Inappropriate ioctl for device Error in VIDIOC_REQBUFS at output planeError in VIDIOC_REQBUFS at output plane[ZED][Encoding] Critical Error : No Video Enc Segmentation fault (core dumped)
Or is there any other example for recording?
I also tried this code from SDK but it fails too. Thx
import pyzed.sl as sl import sys # Create a ZED camera object zed = sl.Camera() # Enable recording with the filename specified in argument output_path = sys.argv print("output_path = ",output_path) err = zed.enable_recording(output_path, sl.SVO_COMPRESSION_MODE.H264) while not exit_app: # Each new frame is added to the SVO file zed.grab() # Disable recording zed.disable_recording()
python3 record_test.py test.svo output_path = test.svo Traceback (most recent call last): File "record_test.py", line 10, in <module> err = zed.enable_recording(sl.SVO_COMPRESSION_MODE.H264) TypeError: Argument 'record' has incorrect type (expected pyzed.sl.RecordingParameters, got SVO_COMPRESSION_MODE)
Here is my Jetson jetson
sudo apt-cache show nvidia-jetpack