jake6
March 18, 2023, 1:18am
1
According to the specs here
A Nvidia Jetson NX should be able to handle 6 4k streams at 60fps.
I have a hevc file thats 4k@60, YUV420, and 10 seconds long. With 3 streams, it runs at 12ms per frame, or around 80fps. When im running it 6 times at once, i only get 40fps. Why is that? The specs above say i should be able to get 4k60fps. Power mode is set to max, i have a reComputer from seed, its not a dev kit (no sd card slot). So what else could be going on here?
Running with sample 14_multivideo_decode
./multivideo_decode num_files 6 ./test_4k.hevc H265 ./test_4k.hevc H265 ./test_4k.hevc H265 ./test_4k.hevc H265 ./test_4k.hevc H265 ./test_4k.hevc H265 --disable-rendering --input-nalu --stats
output stats
Stream = ./test_4k.hevc
Total Profiling time = 14.7083
Average FPS = 40.7252
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = ./test_4k.hevc
Total Profiling time = 14.7519
Average FPS = 40.6049
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = ./test_4k.hevc
Total Profiling time = 14.7638
Average FPS = 40.5721
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = ./test_4k.hevc
Total Profiling time = 14.7519
Average FPS = 40.605
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = ./test_4k.hevc
Total Profiling time = 14.59
Average FPS = 41.0556
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = ./test_4k.hevc
Total Profiling time = 14.7644
Average FPS = 40.5706
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
Hi,
Please share which release you are using. Do you use Jetpack 5.1(r35.2.1) or 4.6.3(r32.7.3)?
jake6
March 20, 2023, 2:54am
4
5.1 Flashed it a week ago
Hi,
Please generate the h265 stream and give it a try:
$ gst-launch-1.0 videotestsrc num-buffers=566 ! video/x-raw,width=3840,height=2160 ! nvvidconv ! nvv4l2h265enc ! h265parse ! video/x-h265,stream-format=byte-stream ! filesink location=test_4k.hevc
We can see each decoding thread achieve 60 fps:
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.49493
Average FPS = 66.5103
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.57538
Average FPS = 65.8863
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.58453
Average FPS = 65.8161
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.56833
Average FPS = 65.9405
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.54018
Average FPS = 66.1579
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
*****************************************
Stream = /home/nvidia/test_4k.hevc
Total Profiling time = 8.55264
Average FPS = 66.0615
Average latency(usec) = 0
Minimum latency(usec) = 18446744073709551615
Maximum latency(usec) = 0
*****************************************
Please execute sudo jetson_clocks before the test.
jake6
March 21, 2023, 2:03pm
6
Wow! That fixed it. Whats going on here? Was my QP to low or something?
Hi,
It looks like the test h265 stream you use is more complex, so the decoder takes longer time in decoding each frame.
system
Closed
April 12, 2023, 1:56am
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.