Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6600 Discussions

Can UMC::MPEG2VideoEncoder generate Closed GOP?

anonymous210
Novice
97 Views
Hi,

I'm using the UMC::MPEG2VideoEncoder and it always generates an "Open GOP" mpeg2 video elementary stream. I checked the UMC::MPEG2EncoderParams properties, but I don't see a way to specify if the output will be Open GOP or Closed GOP.

Can UMC::MPEG2VideoEncoder generate a Closed GOP mpeg2 video elementary stream with B frames?

Thanks
0 Kudos
1 Reply
Leonid_K_Intel
Employee
97 Views
Hi,
There is no parameter to control Closed GOP, but application can call Reset() to start new closed GOP. Don't forget to pull (encode) buffered B frames before providing starting I frame, calling GetFrame(0, ouput);
For example as a result instead of (in display order)
IBBP BBIBBP BBIBBP BB...
you would have
IBBPBP IBBPBP IBBPBP ...

Regards
Reply