How to resize the video while encoding on i.MX 6 android JB4.2.2

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

How to resize the video while encoding on i.MX 6 android JB4.2.2

跳至解决方案
1,912 次查看
xiaoqianlin
NXP Employee
NXP Employee

One customer uses one camera which can only support VGA(640*480), that is, their encoder obtains V4I2 data of VGA reolution from camera. If they use that V4I2 data to encode H.264 payload into other resolution, such as 4CIF(704*576), the encoded payload is bad.

Do you have any suggestion on this issue? I can send the encoder code to you. Thank you.

Linda Lin
标签 (3)
0 项奖励
回复
1 解答
1,627 次查看
xiaoqianlin
NXP Employee
NXP Employee

Customer called the function v4l_capture_setup with the fixed width and height parameters(640, 480), after modified this part, it becomes normal. 

Linda Lin

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,627 次查看
karina_valencia
NXP Apps Support
NXP Apps Support
Re: How to resize the video while encoding on i.MX 6 android JB4.2.2

MaxTsaiEmployee

hi I am not sure if this issue is resolved? Does the customer encode the data into H264 payload by software or by  hardware?

0 项奖励
回复
1,628 次查看
xiaoqianlin
NXP Employee
NXP Employee

Customer called the function v4l_capture_setup with the fixed width and height parameters(640, 480), after modified this part, it becomes normal. 

Linda Lin
0 项奖励
回复