# Failed to open SVO

**URL:** <https://community.stereolabs.com/t/failed-to-open-svo/1890>\
**Category:** Python\
**Tags:** svo, python, jetson\
**Created:** [December 7, 2022, 4:35pm UTC](https://community.stereolabs.com/t/failed-to-open-svo/1890 "2022-12-07T16:35:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanaFrodo](https://community.stereolabs.com/user_avatar/community.stereolabs.com/danafrodo/32/891_2.png) [@DanaFrodo](https://community.stereolabs.com/u/DanaFrodo)\
**Post date:** [December 7, 2022, 4:35pm UTC](https://community.stereolabs.com/t/failed-to-open-svo/1890/1 "2022-12-07T16:35:02Z")

</div>

Hey,

I use:  
Jetson xavier nx  
Ubuntu 18.2  
ZED\_SDK\_Tegra\_L4T32.6\_v3.7.2

I try to run post analysis on existing SVO file. when it get to open the SVO file the program gets stuck.

Followed by Stereolabs documentation, code:

```auto
        input_type = sl.InputType()
        if self.svo_file is not None:
            log.info("SVO file : " + self.svo_file)
            input_type.set_from_svo_file(self.svo_file)
        else:
            # Launch camera by id
            input_type.set_from_camera_id(zed_id)

        self.init = sl.InitParameters(input_t=input_type)

        if self.units == "MILIMETER":
            self.init.coordinate_units = sl.UNIT.MILLIMETER
        elif self.units == "CENTIMETER":
            self.init.coordinate_units = sl.UNIT.CENTIMETER
        elif self.units == "METER":
            self.init.coordinate_units = sl.UNIT.METER
        elif self.units == "INCH":
            self.init.coordinate_units = sl.UNIT.INCH

        if self.depth_mode == "PERFORMANCE":
            self.init.depth_mode = sl.DEPTH_MODE.PERFORMANCE
        elif self.depth_mode == "QUALITY":
            self.init.depth_mode = sl.DEPTH_MODE.QUALITY
        elif self.depth_mode == "ULTRA":
            self.init.depth_mode = sl.DEPTH_MODE.ULTRA

        self.runtime = sl.RuntimeParameters()

        if self.sensing_mode == "STANDARD":
            self.runtime.sensing_mode = sl.SENSING_MODE.STANDARD
        elif self.sensing_mode == "FILL":
            self.runtime.sensing_mode = sl.SENSING_MODE.FILL
        elif self.sensing_mode == "LAST":
            self.runtime.sensing_mode = sl.SENSING_MODE.LAST

        self.runtime.confidence_threshold = settings.depth_conf
        self.runtime.texture_confidence_threshold = settings.texture_conf

        # if no SVO loaded
        if self.svo_file is None:
            self.init.camera_resolution = sl.RESOLUTION.HD1080
            self.init.camera_fps = settings.camera_fps

        self.cam = sl.Camera()
        if not self.cam.is_opened():
            log.info("Opening ZED Camera...")
        status = self.cam.open(self.init)

```

gets stuck once run on the last row.

BTW, once I run the same code on the stationary computer , Ubuntu 18 , SDK 3.7.0 - it works good!

Appreciate your comments and help.

---

<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:** [December 7, 2022, 6:09pm UTC](https://community.stereolabs.com/t/failed-to-open-svo/1890/2 "2022-12-07T18:09:29Z")

</div>

Hello,

Can you install a more recent version of the SDK ? 3.8.2 for example.

Antoine

---

<div class="post-metadata">

**Author:** ![DanaFrodo](https://community.stereolabs.com/user_avatar/community.stereolabs.com/danafrodo/32/891_2.png) [@DanaFrodo](https://community.stereolabs.com/u/DanaFrodo)\
**Post date:** [December 8, 2022, 2:16pm UTC](https://community.stereolabs.com/t/failed-to-open-svo/1890/3 "2022-12-08T14:16:54Z")

</div>

Just completed the installation.  
Using ZED\_SDK\_Tegra\_L4T32.6\_v3.8.2.zstd  
Still gets stuck in opening SVO file -  
different files so it is not an issue on a specific SVO file
