SPS/PPS generation using VPU/iMX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SPS/PPS generation using VPU/iMX6

798 次查看
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

标签 (1)
标记 (6)
0 项奖励
回复
1 回复

572 次查看
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 项奖励
回复