Urgent! Gstreamer audio and video pipeline not working

I’m trying to merge my jetson nano’s desktop video and audio in a single pipeline for hls streaming, but I get this error:

WARNING: erroneous pipeline: could not link mkv to hlssink2-0

My pipeline is the following:

gst-launch-1.0 -v ximagesrc use-damage=0 ! videoconvert ! video/x-raw, format=I420, framerate=30/1 ! x264enc speed-preset=1 ! mkv. autoaudiosrc ! queue ! audioconvert ! mkv. matroskamux name=mkv ! hlssink2 max-files=5 playlist-root=http://myipaddress:8080 location=/home/orlandoleone/segment_%05d.ts target-duration=1

Could someone please help me very quickly?

Please refer to
Combine audio and video in pipeline - #3 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.