Recording svos with .svo extension saves them with .svo2

Hi @Myzhar ,

I am trying to record svo’s by making ros2 service calls as follows

//to start
ros2 service call /zed_camera/left/start_svo_rec zed_msgs/srv/StartSvoRec \
    "{compression_mode: 0, target_framerate: 60, input_transcode: true, svo_filename: 'test_recording.svo'}"

//to stop
ros2 service call /zed_camera/left/stop_svo_rec std_srvs/srv/Trigger "{}"

However the SVO recording is saved with an .svo2 extension and not .svo
Do I need to make any other changes to record .svo instead of .svo2?

SVO2 is the default file format.

You can use the old SVO format by setting this environment variable before starting the node:

export ZED_SDK_SVO_VERSION=1

to revert to SVO V2, call

export ZED_SDK_SVO_VERSION=2
1 Like