Encoding performence releted.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Encoding performence releted.

426件の閲覧回数
rajkishor
Contributor I

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

ラベル(1)
0 件の賞賛
2 返答(返信)

357件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛

357件の閲覧回数
rajkishor
Contributor I

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

0 件の賞賛