# SDK 4.1 recording .svo option // Possible?

**URL:** <https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995>\
**Category:** Software\
**Created:** [September 9, 2024, 8:15pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995 "2024-09-09T20:15:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 9, 2024, 8:15pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/1 "2024-09-09T20:15:53Z")

</div>

Hello,

I just noticed that since SDK 4.1 the recording format is .svo2 and unfortunately, it is not yet supported by the Touch Designer platform ( 4.0.5).  
The easy option would be to downgrade the SDK to a version before 4.1.  
But I have a jetson nano running 4.1 streaming a Zed2i to the host. I do not have remote access at the moment, and even if I did have access, given my difficulties in getting the SDK installed, I would prefer to avoid having to reinstall the SDK remotely.  
I need to run the same version on the host for compatibility reasons.  
I have read that by setting the environment variable: `ZED_SDK_SVO_VERSION` to 1, I will be able to record in the older format, .svo.

The environment variable is set :  
C:\Users\DEADHEAD\>echo %ZED\_SDK\_SVO\_VERSION%  
1  
but recording with the Zed explorer still output a .svo2 format.  
Is it possible ?

Thanks

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [September 10, 2024, 10:06am UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/2 "2024-09-10T10:06:32Z")

</div>

Hi @xvgt,

Have you rebooted your PC after setting the environment variable? This is usually required on Windows to apply the env variables.

---

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 11, 2024, 12:49pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/3 "2024-09-11T12:49:43Z")

</div>

Hi @mattrouss

yes, I confirm. The system has been rebooted.  
I tried on the host remotely ( receiving the stream from the jetson) and on my laptop with a ZED connected.  
Even with the environment variable set , Zed explorer continues to output .svo2.  
I’m running the last SDK 4.1.2.

One option would be to stream from the Zed explorer to touch Designer But unfortunately, it is not possible to read and stream a svo2 file

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [September 12, 2024, 8:00am UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/4 "2024-09-12T08:00:05Z")

</div>

Hi @xvgt,

If you have also tried while using a camera directly on the laptop with ZED\_Explorer, it seems that the application is not detecting the environment variable correctly.

Can you check if you are still unable to save .svo files with our recording sample (with the environment variable set of course): [zed-sdk/recording/recording/mono at master · stereolabs/zed-sdk · GitHub](https://github.com/stereolabs/zed-sdk/tree/master/recording/recording/mono)

---

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 12, 2024, 1:38pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/5 "2024-09-12T13:38:44Z")

</div>

Hi @mattrouss

I can record and export to svo using the python script.

That could be an option, but as the project relies on Touch Designer (SDK 4.0.5), I’m a bit reluctant to install all python dependencies on the production machine, even using a virtual environment.  
I’ve just had a fright installing depthAi and a conflict with the version that TD uses ( even in a virtual env).  
any luck to have the zed explorer recording svo as expected ?

thanks

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [September 12, 2024, 5:01pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/6 "2024-09-12T17:01:05Z")

</div>

Thank you for testing this.

I can recommend using the equivalent C++ sample to record an SVO, which would require no dependencies apart from the C++ runtime.

In the meantime, I will look into if I can reproduce the env variable not being detected in ZED\_Explorer.

---

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 13, 2024, 7:48am UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/7 "2024-09-13T07:48:35Z")

</div>

Hi @mattrouss  
It would be really great if you could find a way to use ZED\_Explorer.  
As I need to record a stream, none of the scripts can do this straight out of the box.  
I might be able to write a Python script that would merge the recording and the streaming samples together. But that will definitely be out of my reach in C++.

The last option would be to downgrade the SDK to 4.0.8 on the Jetson.  
But after my struggle to get it to work:

> [@HELP ! Jetson Nano : Python API - Pyzed installation error](https://community.stereolabs.com/t/help-jetson-nano-python-api-pyzed-installation-error/6870/4):
>
> Hi @xvgt, I believe your analysis is correct, it seems to be a numpy / Cython issue on your platform. Can you run ZED\_Diagnostic and send the resulting JSON file? This will allow me to check your SDK and Jetpack versions. Trying with the numpy version you’ve found is a good lead, however you have mixed up the wheel that you are supposed to install which does not match your platform, in your second message. The one you want to install is pyzed-4.1-cp36-cp36m-linux\_aarch64.whl, not the x86\_64 …

But as I already have numpy and cython installed, the installation might be smoother.  
Thanks for your support.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [September 13, 2024, 4:27pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/8 "2024-09-13T16:27:37Z")

</div>

Hi @xvgt,

We have investigated this issue some more, and there seems to be an issue with the naming of the files by ZED\_Explorer. The svo is named with .svo2 extension, but as long as the environment variable is used, the file is actually a .svo.

Can you test this by renaming the file to .svo and using it with Touch Designer?

We have logged this and will make a fix to change this behavior so that it reflects what is really happening.

---

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 15, 2024, 7:15pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/9 "2024-09-15T19:15:07Z")

</div>

Hey @mattrouss

I can open the renamed file in .svo  
I’m using a special release of Touch Designer and I just found out that the SDK has been updated to 4.1.2.  
So it should be able to read svo2 as well.  
I’m waiting for feedback from the derivative team to know if it could also be a naming issue : can only display svo but can read the svo2 ( if named as .svo)  
I will get back when I get the info.

---

<div class="post-metadata">

**Author:** ![xvgt](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xvgt](https://community.stereolabs.com/u/xvgt)\
**Post date:** [September 21, 2024, 2:53pm UTC](https://community.stereolabs.com/t/sdk-4-1-recording-svo-option-possible/6995/10 "2024-09-21T14:53:57Z")

</div>

Finally, the pre-release version of Touch Designer I’m using can read .svo2.  
There was also a bug in which the pop-up window for loading a file was limited to only display svo.  
So I cannot say if renaming svo2 to svo works.
