hi,
i encode stream on tx1 and want to use rate-control mode vbr(Variable Bit Rate), in order to reduce video data and not reduce image quality.
i use demo in /home/ubuntu/tegra_multimedia_api/samples/01_video_encode/
execute in shell like:
./video_encode 420.yuv 1280 720 H265 cbr.h265 -br 4000000 -rc cbr
i get the encoded h265 file, which is 16MB
and then execute like:
./video_encode 420.yuv 1280 720 H265 vbr.h265 -br 4000000 -rc vbr
i get the encoded h265 file, which is also 16MB!
my input file 420.yuv, is almost motionless.
why vbr file size is not less then cbr file? (both 16405711 bytes)
is pamerater -rc effective?
400~2000 frames.(i have tried mand times)
i got yuv frames from a camera via v4l2 interface and wrote into local file.
camera faces a black corner, so the video is almost black.
i try to encode yuv using different bitrate(like 6000000 4000000 2000000 500000), the encoded h265 file’s size really different. but cbr & vbr encoded file size is always the same.