h264 encoding to other bit rate

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

h264 encoding to other bit rate

跳至解决方案
726 次查看
nxf65233
NXP Employee
NXP Employee

Hello everyone

SOC:iMX8MM

System: Yocto Linux

 

Encode the h264-encoded mp4 file into the h264 mp4 file of other bit rate

How should I use the gstreamer command?

 

Thanks

 

0 项奖励
回复
1 解答
720 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please try with the following pipeline, just change the bitrate property to the desired bitrate (Kbps):

gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=480 ! vpuenc_h264 bitrate=20000 ! filesink location=test.mp4

Best regards,
Aldo.

在原帖中查看解决方案

0 项奖励
回复
1 回复
721 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please try with the following pipeline, just change the bitrate property to the desired bitrate (Kbps):

gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=480 ! vpuenc_h264 bitrate=20000 ! filesink location=test.mp4

Best regards,
Aldo.

0 项奖励
回复