We use J721S2 and SDK8.4
We test H264 function(app_multi_cam_codec).
If we use filesink, it can output mp4 file successfully.
But we want to do video record function and must set all H264 frame i-frame .
We use appsink and we set iperiod=1.
This is our gstreamer cmd:
p_gst_pipe_obj->params.m_cmdString = appsrc format=GST_FORMAT_TIME is-live=true do-timestamp=true block=false name=myAppSrc0 ! queue
! video/x-raw, width=(int)1280, height=(int)800, framerate=(fraction)30/1, format=(string)NV12, interlace-mode=(string)progressive, colorimetry=(string)bt601
! v4l2h264enc bitrate=10000000 iperiod=1
! h264parse
! appsink name=myAppSink0 max-buffers=50 drop=true
But we receive frame from gstreamer is not all i frame.
How can we set all h264 i frame?