h264 encoding to other bit rate

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

h264 encoding to other bit rate

Jump to solution
668 Views
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 Kudos
Reply
1 Solution
662 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
663 Views
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 Kudos
Reply