Many thanks,
I think we figured the calculation for H265:
macroblock_alignment =32
macroblock_size = 32*32 = 1024
macroblocks = WIDTH_ALIGN_TO_32*HEIGHT_ALIGN_TO_32/macroblock_size
macroblocks_per_slice = macroblocks / slices
We still need the calculation for VP9.
When analyzing the slices, we are looking for headers on every IDR.
I tried using --insert-spspps-idr option, but we still get only one header.
How can we get the headers on every IDR?
Thanks again,
Adi