Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Several SEI for closed captions

maxim-sharabayko
New Contributor I
185 Views

Hi.

Lately we have implemented closed captions encoding for Intel MediaSDK boosted AVC Encoder. Everything works fine except one usage case.

When we have several closed captioning data (e.g. SCTE and ATSC captions), we should put them in different SEI. So we create to user data payloads: one for each CC data. When coding is progressive, everything is ok. But when coding is interlaced, encoder puts these SEI like this:

PPS
SEI (buffering period)
SEI (picture timing - top field)
SEI (user data registered - SCTE CC)
I SLICE Data (top field)
AUD
SEI (picture timing - bottom field)
SEI (user data - ATSC CC)
P SLICE Data (bottom field)

What should be done to put both SEI user data in the top field?

Regards,

Maxim Sharabayko

0 Kudos
3 Replies
Anthony_P_Intel
Employee
185 Views
HI, Thanks for the good question. I do not know but I will find out and report back here. -Tony
Anthony_P_Intel
Employee
185 Views
Hi Maxim, From Referene Manual discussing the mfxEncodeCtrl stucture: "“…for field pictures, odd payloads are associated with the first field and even payloads are associated with the second field. …”. It may be possible to use 3 payloads to have your two CC playloads (1 & 3) appear with the first (top) field and a "dummy" payload (2) in the second field. -Tony
maxim-sharabayko
New Contributor I
185 Views
Hi Tony. Thank you, it works! -Maxim
Reply