[meta-freescale] GStreamer: Request a key frame in vpuenc

Javier Jardón jjardon at gnome.org
Thu Sep 26 17:16:10 PDT 2013


Hi,

this is a quite specific question, so tell me if this is not the
correct place to ask

I need to generate a keyframe in a specific time.
Looking to the code of vpuenc, seems that it doesnt handle events from
downstream (GST_EVENT_CUSTOM_DOWNSTREAM) to check if the event request
a keyframe:

gst_video_event_is_force_key_unit (event)

This can be easily implementable but my question is: what is the
specific option I have to pass to the vpu to generate a keyframe? I
read about encparam->forceIPicture , but Im not sure Im looking in the
correct direction

Could someone help me with this?

Thanks

-- 
Javier Jardón Cabezas



More information about the meta-freescale mailing list