Hello,
We are using a Zed2i to gather hours of data.
What will be the best way to to cut a big SVO files we have in chunk of 10 minutes with pyzed?
Sincerely,
Jimmy
Hello,
We are using a Zed2i to gather hours of data.
What will be the best way to to cut a big SVO files we have in chunk of 10 minutes with pyzed?
Sincerely,
Jimmy
Hi @JimmyB
welcome to the Stereolabs community.
The ZED_SVO_Editor
line command allows you to manipulate SVO files:
$ ZED_SVO_Editor
You must provide arguments to this tools, here the list of them :
-inf Print SVO infos
-cut Cut a SVO and save the svo part between <s> and <e> to another svo.
-s or -e parameters must be specified.
If s is not specified, first frame will be taken.
If e is not specified, last frame will be taken.
-merge Add/Merge two or more SVO files into a single one.
SVO files must have the same resolution and same ZED Serial Number.
-cpr Convert a SVO into another SVO compression format
-m parameter must be specified.
-m Compression format to use with the -cpr option. m can be 0, 1, 2, 3, 4 , 5 or 6 for respectively PNG (Lossless), ZSTD (Lossless), JPEG (Lossy), H264 Lossy, H265 Lossy, H264 LossLess and H265 LossLess based compressions.
-repair Repair a SVO file by recreating a new SVO <svofilename_repaired.svo> with a recovered index table.
Sample usage:
"ZED_SVO_Editor -inf svo1.svo"
"ZED_SVO_Editor -cut svo1.svo -s 100 -e 200 output.svo"
"ZED_SVO_Editor -merge svo1.svo svo2.svo output.svo"
"ZED_SVO_Editor -cpr input.svo -m 2 output.svo"
"ZED_SVO_Editor -repair input.svo"