amc: no key frames with VP8 encoder
I use gstreamer 1.22.6 on Android devices. I have the next pipeline:
appsrc -> rawvideoparse -> videoconvertscale -> amcvidenc-omxexynosvp8encoder -> appsink
VP8 does not produce key frames, only delta units GST_BUFFER_FLAG_DELTA_UNIT
. I tried to use different encoders on Android 11/Android 13 devices with the same result: no key frames. I checked encoders:
amcvidenc-c2androidvp8encoder
amcvidenc-omxgooglevp8encoder
amcvidenc-omxexynosvp8encoder
I set i-frame-interval
property to 1, qos
to false
, bitrate
to 1760000
.
I have no problem with VP9/H.264/H.265 encoders with the same pipeline. I believe the issue will be reproducible with videotestsrc
.
I do not know this is Android hardware issue or gstreamer.