How to set bitrate for RTSP for jpegenc and vpuenc_h264

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set bitrate for RTSP for jpegenc and vpuenc_h264

1,199 Views
santhosh2
Contributor IV

Hello,

I am facing an issue in the rtsp stream image clarity, when i checked the bitrate was 1, there by the image clarity is not perfect, I am using an gstreamer open source code for rtsp streaming with mutlicast feature.

Let me know how to increase the bitrate for both jpegenc and vpuenc_h264

(Source code attached)

Regards

Santhosh

0 Kudos
3 Replies

1,182 Views
joanxie
NXP TechSupport
NXP TechSupport

what board are you talking about?

 

0 Kudos

1,179 Views
santhosh2
Contributor IV

Imx8mm board iam using

Regards

Santhosh

0 Kudos

1,168 Views
joanxie
NXP TechSupport
NXP TechSupport

for imx8mm, which support vpu encoding, you can refer to the enclosed api file,

bitRate is the target bit rate in kbps. If 0, there is no rate control and pictures are encoded with a quantization parameter equal
to quantParam in EncParam. For MJPEG, this value is ignored. Users can control the MJPEG compression rate by setting
qMatTab[4][64] of EncMjpgParam.

0 Kudos