Select first 5 seconds 1st stream and rest of time 2nd stream:

sendcmd='5.0 streamselect map 1',streamselect=inputs=2:map=0

Same as above, but for audio:

asendcmd='5.0 astreamselect map 1',astreamselect=inputs=2:map=0