AnsweredAssumed Answered

使用摄像头采集I.MX6Q-vpu编码后fps太小

Question asked by 文丁 元 on May 12, 2016
Latest reply on May 17, 2016 by Joan Xie

使用官方vpu代码执行:

./mxc_vpu_test.out-E "-o vpu.h264 -f 2 -w 640 -h 480  -c 100",打印信息如下:

[INFO]VPU test program built on Apr 13 2016 14:59:13
[INFO]Product Info: i.MX6Q/D/S
[INFO]VPU firmware version: 2.3.10_r40778
[INFO]VPU library version: 5.4.16
[INFO]Format: STD_AVC
[INFO]AVC
[INFO]Output file "vpu.h264" opened.
[INFO]Product Info: i.MX6Q/D/S
[INFO]VPU firmware version: 2.3.10_r40778
[INFO]VPU library version: 5.4.16
[INFO]Capture/Encode fps will be 30
[INFO]chromaInterleave 1, mapType 0, linear2TiledEnable 0
[INFO]sensor chip is ov5640_camera
[INFO]sensor frame size is 640x480
[INFO]Finished encoding: 100 frames
[INFO]enc fps = 275.85
[INFO]total fps= 4.44

 

我在程序中设置的fps=30,但执行程序后fps变小了这么,当我把视频拿到windows下播放时,视频

播放速度好快,请问是什么原因哈。Kirk HumphriesMandar JoshiDhaval Shah

Outcomes