AnsweredAssumed Answered

gstreamer vpuenc H.264 encoder (codec=6) output not compressed

Question asked by Norman C on Sep 6, 2013
Latest reply on Apr 22, 2014 by Daiane Angolini

I use gstremer to test vpu encoding and found that for a 10 second video, the H.264 encoder is 20+X bigger than mpeg video..

On imx6 solo with MIPI camera, Yocto Linux 3.0.50 4.0.0

 

This is my pipeline:

gst-launch mfw_v4lsrc capture-mode=4 ! queue ! vpuenc codec=6 ! matroskamux ! filesink location=test_h264.mkv

 

For codec=0 (mpeg) 10 second video is 2MB, and codec=6 (H.264) it is 48MB.

It seems that the vpuenc element is not encoding the stream. 

 

I want to get H.264 video, and appreciate any idea to fix this.

 

Thank you

Norman

Outcomes