Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
6600 Discussions

Can UMC::MPEG2VideoEncoder generate Closed GOP?

anonymous210
Novice
96 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
96 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