I want to use jetson-utils to achieve video decoding, I installed jetson-inference on Jetson Xavier NX.
Code show as below.
import jetson.utils
import time
input = jetson.utils.videoSource(“test.mp4”)
while True:
t1 = time.time()
img = input.Capture()
t2 = time.time()
print(t2-t1)
The time to acquire a frame is about 56 milliseconds.
Why does it take so long?
Thanks!
Hi,
Have you maximized the device performance first?
$ sudo nvpmodel -m 0
$ sudo jetson_clocks
Thanks.
Yes, 15W 6CORE
I’ve tried this on multiple NX devices, and it’s always the same.
What is the normal time?
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Hi,
We want to reproduce this issue internally.
Could you share a testing video (test.mp4) with us?
Thanks.