i.MX 8MPlus: Use v4l2h264enc, how to set encoding high profile for H.264

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

i.MX 8MPlus: Use v4l2h264enc, how to set encoding high profile for H.264

1,675 次查看
jerryc
Contributor I

Use v4l2h264enc, I try encode  high profile for H.264

do gstream command:gst-launch-1.0 videotestsrc do-timestamp=true is-live=true num-buffers=200 ! 
video/x-raw, format=YUY2, width=1920, height=1080,framerate=30/1 ! v4l2h264enc extra-controls="encode,frame_level_rate_control_enable=1,h264_mb_level_rate_control=1,video_gop_size=30,video_bitrate=2048000,video_bitrate_mode=1,h264_level=11,h264_profile=4;" ! 
h264parse ! mp4mux ! filesink location=/mnt/nfs/NX/media//test.mp4

But test.mp4 show profile is "Constrained Baseline"

jerryc_0-1690447266481.png

Run "v4l2-ctl /dev/video0 -L"

jerryc_1-1690447542698.png

 

 

 

 

0 项奖励
回复
2 回复数

1,648 次查看
jerryc
Contributor I

jerryc_0-1690854932826.png

iMX 8MPlus encode H264 support HP/MP/BP, If I need to encode HP H264, How to use gstreamer set "v4l2h264enc extra-controls"  

0 项奖励
回复

1,629 次查看
joanxie
NXP TechSupport
NXP TechSupport
0 项奖励
回复