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.
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
Hello TI Expert,
Please never mind Question #1. I added x264enc element.
I want to focus on the Questioin #2.
I'm wondering if the SDK 8.5 version supports the pipeline like below.
If yes, Can you please provide the pipeline command?
"RGB888 format -> pixel format convert -> H264 encoder -> transfer data via Ethernet"
Thanks,
Jaewook
Hi Praneeth,
Thanks for update.
So I want to use the software encoder instead of HWA.
Is it possible this method? If yes, Can you please share the gstreamer command?
Thanks,
Jaewook
Hello,
In order to enable x264, you need to go enable this recipe in Yocto: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/x264/x264_git.bb?h=dunfell. It has a commercial tag as part of the recipe and that's why it's not included as part of default SDK.
Regards,
Krunal