I am using imx6solo processor. I have some confusion regrading mjpeg and h264 encoder.
It takes around 50-60 millisecond.
I want improve my encoding performance, how i Can improve it encoding performence.
this is tested on opencv.
Kindly suggest me the better way to do this.
thanks
Raj kishor
did you try to use gstreamer to test? the command like:
$GSTL filesrc location=test.yuv
! videoparse format=2 witdh=$WIDTH height=$HEIGHT framerate=30/1
! vpuenc_jpeg ! $MUXER ! filesink location=$output
The $MUXER can be set to qtmux, matroskamux, mp4mux, avimux, or flvmux.
Hi Joan Xie,
Thanks,
Actually I tested it with gst pipe line also. I guess that in pipe line also it take around 50-60 millisecond.
when i run gst pipe line for just display image on autovideosink without encoding it takes 50-55 millisecond.
for example: gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! autovideosink
And
when i run same pipe line with encoding , decode it through decodebin and display on autovideosink it takes 110-115.
millisecond.
for example: gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! imxvpuenc_mjpeg ! decodebin ! autovideosink
and my requirement is the video should stream with maximum 80 millisecond delay.
Thank
Raj kishor