i.MX8 GSTL command issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8 GSTL command issue

1,315 Views
xu_ji1
Contributor V

Why send $GSTL v4l2src device=/dev/video1 ! vpuenc_h264 ! rtph264pay ! udpsink to i.MX8 yocto board

happened error:erroneous pipeline:no element "vpuenc_h264"

what is the right command about vpu encode?

0 Kudos
Reply
1 Reply

1,147 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xu

according to attached Release Notes p.36 for i.MX8QM v4l2h264enc

is used, not vpuenc_h264, like:

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=300 io-mode=dmabuf ! \
'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! \
queue ! v4l2h264enc output-io-mode=dmabuf-import ! \
avimux ! filesink location=test.avi

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply