# Writing an SVO File using Python API

**URL:** <https://community.stereolabs.com/t/writing-an-svo-file-using-python-api/2082>\
**Category:** Python\
**Tags:** svo, python\
**Created:** [February 6, 2023, 9:54pm UTC](https://community.stereolabs.com/t/writing-an-svo-file-using-python-api/2082 "2023-02-06T21:54:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![onurbagoren](https://community.stereolabs.com/user_avatar/community.stereolabs.com/onurbagoren/32/997_2.png) [@onurbagoren](https://community.stereolabs.com/u/onurbagoren)\
**Post date:** [February 6, 2023, 9:54pm UTC](https://community.stereolabs.com/t/writing-an-svo-file-using-python-api/2082/1 "2023-02-06T21:54:29Z")

</div>

Hello,

I am reading an SVO file and loading a calibration matrix obtained from an underwater calibration routine for my application.

I want to create a new now SVO file with the applied calibration matrix. Is this possible to do using the python API? Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![alassagne](https://community.stereolabs.com/user_avatar/community.stereolabs.com/alassagne/32/2428_2.png) [@alassagne](https://community.stereolabs.com/u/alassagne)\
**Post date:** [February 8, 2023, 8:49am UTC](https://community.stereolabs.com/t/writing-an-svo-file-using-python-api/2082/2 "2023-02-08T08:49:23Z")

</div>

Hello,  
Does your calibration follow a standard Rad/Tan model? If so you can refer to [this documentation](https://www.stereolabs.com/docs/opencv/calibration/) to be able to use it directly into the ZED SDK.  
If you want to directly update our calibration file you can find it in `/usr/local/zed/settings/` (or in `ProgramData` if you use Windows).

SVO files does not contains pre-computed data (nor calibration), so no need to re-save the same SVO with the new calibration. You can playback the same svo with different calibration values to check the impact. The factory calibration can be retrieved with ZED\_Explorer if needed.

Recording a SVO from the python API: [zed-examples/svo recording/recording/python at master · stereolabs/zed-examples · GitHub](https://github.com/stereolabs/zed-examples/tree/master/svo%20recording/recording/python)

Antoine
