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.

AM625: gstreamer pipeline using H264 encoder

Part Number: AM625

Dear TI expert,

HW : Custom HW with AM6254

SW : SDK 8.5

I want to transfer camera frame to Host PC over Ethernet as below.

Deserializer pattern(RGB888) -> AM6254 HW -> H264 encoder -> transfer data via Ethernet

However, there is a error about element and I'm  not sure the below pipeline is correct or not.

root@am62xx-evm:~# GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! v4l2h264enc ! rtph264pay ! tcpserversink host=10.112.164.69 port=5000
0:00:00.596263680 760 0xe4b1060 WARN GST_ELEMENT_FACTORY gstelementfactory.c:458:gst_element_factory_make: no such element factory "v4l2h264enc"!
0:00:00.596457375 760 0xe4b1060 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "v4l2h264enc"
0:00:00.596506610 760 0xe4b1060 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no sink [source=@0xe460ad0]
0:00:00.638659805 760 0xe4b1060 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0xe54a240]
WARNING: erroneous pipeline: no element "v4l2h264enc"

root@am62xx-evm:~# GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! x264enc ! rtph264pay ! tcpserversink host=10.112.164.69 port=5000
0:00:00.089981235 845 0x3e399260 WARN GST_ELEMENT_FACTORY gstelementfactory.c:458:gst_element_factory_make: no such element factory "x264enc"!
0:00:00.090129685 845 0x3e399260 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "x264enc"
0:00:00.090175960 845 0x3e399260 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no sink [source=@0x3e3a7b90]
0:00:00.096846135 845 0x3e399260 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@0x3e3b6200]
WARNING: erroneous pipeline: no element "x264enc"

Question 1 : How to add the "v4l2h264enc" or "x264enc" element?

Question 2: Can you review the above gstreamer pipeline is correct or not?

Thanks,

Jaewook