Other Parts Discussed in Thread: TEST2
We use J721S2 and SDK8.4
We test encoder sample cmd and we want to set different bitrate.
Test1: bitrate=10000000
gst-launch-1.0 videotestsrc pattern=ball num-buffers=100 ! video/x-raw, format=NV12, width=852, height=480, framerate=30/1 ! v4l2h264enc bitrate=10000000 ! h264parse ! filesink location=./demo.264
Test2: bitrate=100000000
gst-launch-1.0 videotestsrc pattern=ball num-buffers=100 ! video/x-raw, format=NV12, width=852, height=480, framerate=30/1 ! v4l2h264enc bitrate=100000000 ! h264parse ! filesink location=./demo.264
Test3: bitrate=50000
gst-launch-1.0 videotestsrc pattern=ball num-buffers=100 ! video/x-raw, format=NV12, width=852, height=480, framerate=30/1 ! v4l2h264enc bitrate=50000! h264parse ! filesink location=./demo.264
But the result is the same.
How to set encoder bitrate?