I am using the omxh264enc to encode USB camera source on raspberry pi and stream the video, I would like to control the keyframe interval, but could not figure out how to, I currently using the following bash script :
gst-launch-1.0 v4l2src ! 'video/x-raw, width=640 ,hight=480 ,framerate=30/1' ! videoconvert ! omxh264enc target-bitrate=400000 control-rate=variable ! fdsink
The idea is to mimic the raspivid function but with USB camera source instead
Thanks :)