When reach the step to show below command like below, pls refer below syntax to add the option, gather
Before:
:sout=#duplicate{dst=rtp{sdp=rtsp://:8554/1},dst=display}
:sout-keep
After:
:sout=#gather:duplicate{dst=rtp{sdp=rtsp://:8554/1},dst=display}
:sout-keep