SPS/PPS generation using VPU/iMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPS/PPS generation using VPU/iMX6

595 Views
tetsuomaeda
Contributor III

Hi,

I have a simple question.

My colleague is designing a H.264 encoder using iMX6/VPU.

Although the H.264 stream is created, it seems that the frame rate information is not included in the stream.

For example, when we play the stream using VLC media player, it works at the default frame rate, not at the encoded frame rate.
I think that such information should be included in SPS or PPS.

Does anyone know how to include the frame rate information in H.164 stream?

Thanks in advance for your advice.

Regards,

Tetsuo Maeda

Labels (1)
0 Kudos
1 Reply

369 Views
b36401
NXP Employee
NXP Employee

We did some investigation regarding to frame rate information in i.MX6Q
and found that VPU can not guarantee the frame rate reported always be valid since it depend on format (or stream).
However you can refer to the variable frameRateRes and frameRateDiv defined in vpu_lib.h

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos