How to set bitrate for RTSP for jpegenc and vpuenc_h264

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set bitrate for RTSP for jpegenc and vpuenc_h264

197 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

180 Views
joanxie
NXP TechSupport
NXP TechSupport

what board are you talking about?

 

0 Kudos

177 Views
santhosh2
Contributor IV

Imx8mm board iam using

Regards

Santhosh

0 Kudos

166 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