AnsweredAssumed Answered

h264 encode video doesn't have a progress bar

Question asked by jerry xie on Oct 19, 2016



I have a problem that when I record the camera via H.264(Using OV5640), the H.264 video doesn't have the progress bar, so I can't fast or slow speed the video. I believe there is something wrong with the test code(VPU unittest).


Screenshot from video player


CPU: i.mx6q

System: Linux freescale 3.0.35



debug log:


$ ./mxc_vpu_test.out -E "-o 264.avi -w 1024 -h 768 -f 2 "
[INFO]  VPU test program built on Oct 19 2016 16:44:10
[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]  Output file "264.avi" opened.
[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 1024x768
ov5640: actual frame rate of XGA is 22.5fps
[WARN]  Ctrl-C received
[INFO]  Finished encoding: 123 frames
[INFO]  enc fps = 107.47
[INFO]  total fps= 22.15




Attachments are the test code and the h.264 vedio files.





Original Attachment has been moved to: mxc_vpu_test.rar