This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[DM365 EVM] H.264 Encoding error

Hello,

I'm using gstreamer on DM365 EVM and would like to use pipeline as below.

It is received UYUV format from camera, then process H.264 encoding  and save file.

CE_DEBUG=5 root/gst-launch v4l2src always-copy=false num-buffers=10 input-src=camera ! video/x-raw-yuv, format=\(fourcc\)UYVY, framerate=\(fraction\)30/1, width=1280, height=720 ! queue ! TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE bitRate=1000000 ! queue ! filesink location=sample.264 -v

When I used these command and tested. It has error as below.

ERROR: from element /GstPipeline:pipeline0/GstTIVidenc1:tividenc10: failed to create video encoder: h264enc

I have no idea why this error happen.

In addition, I captured file by this command before error happen.

gst-launch -e v4l2src always-copy=false num-buffers=1 input-src=camera ! video/x-raw-yuv,format=\(fourcc\)UYVY, framerate=\(fraction\)30/1, width=1280, height=720 ! jpegenc -e ! filesink location=VGA_jpeg_file03.jpg

I attached full log, FYR

 

Thanks.

 

Robin7723.gstreamer error log.txt