awss3hlssink links a video stream to 'audio' pad by default
with this pipeline
GST_DEBUG=*:5 gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1080 ! x264enc threads=4 ! awss3hlssink endpoint-uri="..." bucket=gstreamersink key-prefix=hlsvideotest name=hlssink audiotestsrc ! faac ! aacparse ! hlssink.audio -e
I noticed the following minor issue:
0:00:00.299898878 161659 0x55d354e5ac00 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element aacparse0:(any) to element hlssink:audio
0:00:00.299901958 161659 0x55d354e5ac00 INFO GST_ELEMENT_PADS gstelement.c:1014:gst_element_get_static_pad: found pad hlssink:audio
0:00:00.299905442 161659 0x55d354e5ac00 DEBUG GST_ELEMENT_PADS gstutils.c:1884:gst_element_link_pads_full: pad hlssink:audio is already linked to x264enc0:src
0:00:00.299908643 161659 0x55d354e5ac00 INFO default gstutils.c:2206:gst_element_link_pads_filtered: Could not link pads: aacparse0:(null) - hlssink:audio
0:00:00.299912308 161659 0x55d354e5ac00 ERROR GST_PIPELINE subprojects/gstreamer/gst/parse/grammar.y:1086:gst_parse_perform_link: could not link aacparse0 to hlssink
it should automatically use the correct 'video' pad and not the 'audio' pad in order to link the video encoder to the hlssink.
the pipeline works when explicitely linking the video encoder to hlssink.video.