stereolabs/zed-sdk

ZedX Jetson Orin Nano Recording and Playback Broken

Alescontrela opened this issue · 3 comments

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

Recording a ZED SVO file then playing it back invariably leads to a segmentation fault. This occurs when using ZED_Explorer and the zed-sdk recording scripts. Multiple issues like these are open but have not been addressed by the ZED team. in fact they are automatically closed after a few weeks. Please confirm whether users should buy the Orin Nano and ZEDX products if they want to record and playback files, which I imagine is a crucial feature for many ZED users.

Steps to Reproduce

  1. Record SVO with ./ZED_Explorer
  2. Playback recorded SVO with ./ZED_Explorer

Expected Result

I expect the ZED SVO to playback correctly, even if some frames are dropped due to a lack of hardware compression.

Actual Result

** [SVO] Hardware compression (NVENC) not available **
Stack trace (most recent call last):
#31   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff850a53b7, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#30   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff851021cb, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#29   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffff81dfbc53, in g_main_context_iteration
#28   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffff81dfbbb3, in 
#27   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffff81dfb943, in g_main_context_dispatch
#26   Object "/usr/lib/aarch64-linux-gnu/libQt5XcbQpa.so.5", at 0xffff7578e15f, in 
#25   Object "/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5", at 0xffff8545469b, in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#24   Object "/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5", at 0xffff85479593, in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
#23   Object "/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5", at 0xffff85478357, in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
#22   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff850a6c0b, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#21   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8716ead7, in QApplication::notify(QObject*, QEvent*)
#20   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff871654ab, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#19   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff871c5577, in 
#18   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff871c2bc3, in 
#17   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8716e0ff, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
#16   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff850a6c0b, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#15   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8716ef07, in QApplication::notify(QObject*, QEvent*)
#14   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff871654ab, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#13   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8733f78f, in QToolButton::event(QEvent*)
#12   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff871a746f, in QWidget::event(QEvent*)
#11   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8733f6d3, in QToolButton::mouseReleaseEvent(QMouseEvent*)
#10   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8724cbcb, in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
#9    Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8724c9ff, in 
#8    Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8724b56f, in 
#7    Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff8724b357, in QAbstractButton::clicked(bool)
#6    Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff850d3bff, in QMetaObject::activate(QObject*, int, int, void**)
#5    Object "./ZED_Explorer", at 0x44ea3f, in 
#4    Object "./ZED_Explorer", at 0x4949c7, in 
#3    Object "./ZED_Explorer", at 0x4927d3, in 
#2    Object "./ZED_Explorer", at 0x46510f, in 
#1    Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffff87198c77, in QWidget::setStyleSheet(QString const&)
#0    Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffff84f56ac8, in QString::operator=(QString const&)
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)

ZED Camera model

ZED Mini

Environment

ZEDX mini
ZED SDK 4.1
ZED SDK for JetPack 5.1.2 (L4T 35.4)
Driver: ZED Link Duo / ZED Box Orin NX 16 GB

Anything else?

Would recommend not automatically closing issues if they are not resolved.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days

Hi,

Currently Orin Nano is not supported for H26x (H264 or H265) SVO recording, due to the lack of HW encoder.
It is planned to add the support of SW encoding in the next release (this summer).
Currently you can use LOSSY or LOSSLESS encoder instead.

Best,
Olivier

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days