omxvideoenc: Failed to force a keyframe: Unsupported index (0x8000101a)

Graham Leggett minfrin at sharp.fm
Sat Aug 15 03:38:50 PDT 2015


Hi all,

I am periodically getting the following error while attempting to encode h264 using an RPi2:

omxvideoenc gstomxvideoenc.c:1553:gst_omx_video_enc_handle_frame:<omxh264enc-omxh264enc0> Failed to force a keyframe: Unsupported index (0x8000101a)

Does anyone know what “Unsupported index” is trying to tell me?

LD_LIBRARY_PATH=/usr/local/lib gst-launch-1.0 --gst-debug-level=1 udpsrc uri=udp://[ff08::30]:5004 "caps=application/x-rtp,media=(string)video,clock-rate=(int)90000" ! rtpbin ! rtpmp2tdepay ! progressreport update-freq=5 ! tsparse ! tsdemux name=demux ! queue ! mpegvideoparse ! avdec_mpeg2video ! progressreport update-freq=5 ! queue ! videorate ! videoscale ! video/x-raw,width=384,height=256 ! omxh264enc target-bitrate=1000000 control-rate=variable inline-header=true periodicty_idr=25 ! h264parse config-interval=10 ! queue ! progressreport update-freq=5 ! mpegtsmux name=mux ! hlssink location=/var/www/stream/segment2%05d.ts playlist-location=/var/www/stream/output2.m3u8 playlist-root=http://192.16.225.3/stream/ target-duration=10 demux. ! queue ! mpegaudioparse ! mpg123audiodec ! audiorate ! voaacenc ! aacparse ! queue ! mux.

Regards,
Graham
—



More information about the gstreamer-devel mailing list