./video_encode -fps param is invalid

1./video_encode ../../data/Video/sample_outdoor_car_1080p_10fps.yuv 1920 1080 H264 output.h264 -fps 10 1
2./video_encode ../../data/Video/sample_outdoor_car_1080p_10fps.yuv 1920 1080 H264 output.h264 -fps 100 1

The execution results of the above two commands are the same, and they are encoded according to 30fps.

How to set the frame rate correctly?
Thank you!

Hi,
The information is stored in VUI. Please run with --insert-vui.

Thank you!
With the --insert-vui, I can set the framerate up to 60.
Is the max framerate also 60fps when the resolution is 1280x1024?

Hi,
There should be no limitation in setting the information to VUI. Which release do you use?

Hi,

head -n 1 /etc/nv_tegra_release
# R32 (release), REVISION: 2.1, GCID: 16294929, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug 13 04:45:36 UTC 2019

When I set the frame rate to be greater than 60fps, there is no error message, but the actual frame rate is 30fps

Hi,
We have fixed it in later releases. It is discussed in
Video encode when Frame rate greater than 60

If you need to set higher frame rate in VUI, we suggest upgrade to latest Jetpack 4.6.2(r32.7.2)

Thank you!
I use the attachment in
Video encode when Frame rate greater than 60
and the problem is solved.
The version I use is: 32.2.1, but the version in the attachment is 32.4.3, is this compatible?

Hi,
No, it’s not compatible. You would need to upgrade to later release.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.