stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
209 stars 95 forks source link

cannot open svo file that not recorded in my computer #208

Closed Mache-Hoffman closed 2 years ago

Mache-Hoffman commented 2 years ago

Preliminary Checks

Description

i have downloaded latest sdk 3.6.5 for Ubuntu 20.04 nvidia driver 510 gpu T500 cuda 11.2 installation was successful.

when i record an svo file from the ZED_EXPLORER i manage to open and run the samples. when i am trying to play asvo file that didnt record in my computer- on the same EXPLORER or the playback.py the svo does not open in any case.

i tried to download and run the latest devel docker(with nvidia-container) with share volume and gpu all, x11 and all ..but same problem.i tried bot 20.04 and 18 taged images.

in my college computer with Ubuntu 18 and 3.5.6 sdk i manage to open both records.

Steps to Reproduce

///

Expected Result

record both svo files

Actual Result

fail to play an svo file that wasn't recorded in my computer

ZED Camera model

ZED2

Environment

os: Ubuntu 20.04.3 LTS
zed sdk 3.6.5
cuda 11.2
nvidia driver 510.47.03
gpu T500 4GB
cpu 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz × 8

Anything else?

No response

Mache-Hoffman commented 2 years ago

Problem Found closing issue

the problem was that my gpu T500 dose not support [NVDEC] (nvidia video codec)

(https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new#collapseTwo)

Read svo method tries to encode the svo recording as it was decoded. if the recording was with H264/5 -> gpu's that does not support NVDEC wont be able to play it. but all the recording that was preform with lossy/lossless compression will be played successfully.