Request key frame in vpuenc (Freescale)

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Oct 2 00:23:23 PDT 2013


On Wed, 2013-10-02 at 02:22 +0200, Carlos Rafael Giani wrote:

> Perhaps it would also be possible to set the codec-data caps even though 
> Annex.B is sent downstream? Would this break something? If not, this 
> could be an option 3, perhaps the best of all.

No, this is not quite right. But you can put the SPS/PPS (in byte-stream
format) into the caps as "streamheader" and make elements do something
like

  if (is_first_buffer && !BUF_FLAG_SET (buffer, HEADER)) {
    get_and_process_stream_headers
  }

 Cheers
  -Tim



More information about the gstreamer-devel mailing list