Control keyframe time distance in omxh264enc

Sebastian Dröge slomo at circular-chaos.org
Thu Aug 8 02:25:54 PDT 2013


On Mi, 2013-08-07 at 10:38 -0700, Rik Sagar wrote:
> Hi Sebastian/Augusto, 
> 
> 
> On the TI and Qualcomm chips that we worked with, at Palm, you could
> set the keyframe generation to be either periodic or on demand.
> 
> For the video recorder app we had a 1/2 second distance between
> iframes - to facilitate easy editing of the video (chop at keyframes).
> 
> I would expect it to be a supported on other hardware, it seems a
> fairly reasonable thing to have.
> 
> 
> It's been a year or two since I needed to look at this, so I just
> skimmed through the OpenMAX spec, and I see a couple of things that
> look familiar:
> 
>    - OMX_VIDEO_CONFIG_AVCINTRAPERIOD
>    - OMX_VIDEO_PARAM_H263TYPE 
> 
> 
> Both have a field called nPFrames which controls the distance between
> iFrames.

Ah true, completely forgot about them :) Thanks!

Now the remaining question is if they're supported properly on the
target platform ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20130808/d479a2c9/attachment.pgp>


More information about the gstreamer-openmax mailing list