Cutting the RAW videos

Cutting the RAW videos

Hello,

I want to cut the raw videos into shorter samples. How can I do it using Python?
I could find this link https://docs.prophesee.ai/stable/samples/modules/hal/hal_raw_cutter.html
but it is working in C++.
Is there any Python code that does the same?

Best regards,

Sadegh