0

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 :)

Robert
  • 7,394
  • 40
  • 45
  • 64

1 Answers1

0

Does the omxh264enc element has the iframeinterval property? I thought it did - or something very similar. However I believe OMX is just an API, the hardware may not fully support all features that are exposed.

Florian Zwoch
  • 6,764
  • 2
  • 12
  • 21