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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
318 Views
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
Labels (3)
0 Kudos
1 Solution
33 Views
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

View solution in original post

0 Kudos
2 Replies
33 Views
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 Kudos
34 Views
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

View solution in original post

0 Kudos