vpu encode H264

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

vpu encode H264

831 Views
JayZhang
Contributor I

I used the mxc_vpu_test to encode the video which captured from the camera, after sereral seconds captured, the encoded file generated, when I played the video, I find the play speed is a little fast, anyone can give me some advice to modify the code?

Thanks anyway!

Attachment file is the file generated.

Original Attachment has been moved to: out.h264.zip

Labels (1)
Tags (3)
0 Kudos
1 Reply

439 Views
daiane_angolini
NXP Employee
NXP Employee

I don´t know if it´s your case.

Sometime ago I had exactly the same error, but using gstreamer.

The problem was that I was using "default" fps value to configure the camera, it was fps=15. And I was using the "default" fps value for the encoder, it was fps=30

So it resulted in a wrong video.

Could you give this a try?

Could you share your command line?