DynamicDevices / makespacelive

Connecting people with a platform to enable straightforward live streaming and recording of events and makespaces
Other
13 stars 3 forks source link

Key frame interval is incorrect #1

Open ajlennon opened 6 years ago

ajlennon commented 6 years ago

Need a way to set the key frame interval to 2 (2s or 60 frames at 30fps say) in the gstreamer pipeline. Currently it seems to default to something like 10s

We can stream successfully to Restream.io without this but we get warnings and there may be knock on effects

ajlennon commented 6 years ago

Some information here on changing omxh264enc encoding for webcams

http://gstreamer-devel.966125.n4.nabble.com/omxh264enc-and-stream-format-string-avc-td4671543.html

This seems to help

omxh264enc inline-header=true periodicty-idr=30

30 seems to result in keyframes of 2 Not yet sure how the numbers are being worked out