i.MX VPU h264 encode frame type

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

i.MX VPU h264 encode frame type

706 Views
duwu
Contributor II

I use VPU to encode  raw nv12(640x480) to h264.

After check the first 16 bytes of every encoded frame data, I find they are all "00 00 00 01 09 50 00 00 00 01 65  "(all I frames), But I have set the gopSize to 30.

 

The attachment is the output h264 which is static sceen, you can use VLC to play it.

 

My question is:

How to enable interframe compression?

 

155339_155339.png2016-07-08_104453.png

Original Attachment has been moved to: 20160707_141957.h264.zip

Labels (4)
Tags (1)
0 Kudos
2 Replies

465 Views
duwu
Contributor II

Sloved!

I make a mistake on CMD_ENC_PIC_OPTION(IdrPic) in code.

0 Kudos

465 Views
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution Du Wu

0 Kudos