Several SEI for closed captions

Several SEI for closed captions


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:

SEI (buffering period)
SEI (picture timing - top field)
SEI (user data registered - SCTE CC)
I SLICE Data (top field)
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?


Maxim Sharabayko

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.


Thanks for the good question. I do not know but I will find out and report back here.



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.



Hi Tony.

Thank you, it works!


Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya