IMX6 VPU

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

IMX6 VPU

777 Views
zhanghaijian
Contributor II

飞思卡尔imx6 vpu编码h.264只有第一帧是IDR帧,之后没有IDR帧,怎么让每一I帧都是IDR帧

Labels (1)
0 Kudos
2 Replies

490 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi haijian

If you interested in the IDR, I suggest that you use unit test to test encoder first, you can set the -g to set gopsize, if the result is what you need, then you can change your own source code according to the unit test encoder source code.

refer to the vpu api linux RM, you can set gopsize,gopSize is the GOP size where 0 = only first picture is I, 1 = all I pictures, 2 = IPIP, 3 = IPPIPP, and so on. The maximum

value is 32,767, but in practice, a smaller value should be chosen by the application for proper error concealment. This value is ignored for STD_MJPG.

Regards

0 Kudos

490 Views
zhanghaijian
Contributor II
Hi BT
Now,i encountered a new problem about VPU on imx6dl.
I am transmitting IR video data through the network to PC,
the size of data transferred is 640 * 480 @ 20fps.
when used VPU coding ,After 2-3 hours , no response in the console ,the LCD display is freezing,the PC
cann't ping the board.it seems like the linux os is hanging on.
when no VPU coding,everything is OK.The attachment is the VPU config.
please give me some advise.
BR
zhang
0 Kudos