i use command like that 

MP4Box -dash 10000 -rap -frag-rap -dash-profile dashavc264:onDemand -bs-switching no -segment-ext .m4s  11.mkv#video ED320x240.mp4#video 11.mkv#audio -out xxx.mpd

and mpd content like that,two video stream create two AdaptationSet

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 2.2-rev0-gab012bbf-master at 2023-05-02T08:39:09.274Z -->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H13M38.601S" maxSubsegmentDuration="PT0H0M14.414S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011,http://dashif.org/guidelines/dash264">
 <ProgramInformation moreInformationURL="http://gpac.io">
  <Title>xxx.mpd generated by GPAC</Title>
 </ProgramInformation>

 <Period duration="PT0H13M38.601S">
  <AdaptationSet segmentAlignment="true" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="3" mimeType="audio/mp4" codecs="opus" audioSamplingRate="48000" bandwidth="120000">
    <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
    <BaseURL>11_dash_track2_init.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="915-1930">
     <Initialization range="0-802"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
  <AdaptationSet segmentAlignment="true" maxWidth="3840" maxHeight="2160" maxFrameRate="25" par="16:9" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="1" mimeType="video/mp4" codecs="vp09.00.00.08.00.01.01.01.00" width="3840" height="2160" frameRate="25" sar="1:1" bandwidth="13500000">
    <BaseURL>11_dash_track1_init.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="986-2001">
     <Initialization range="0-873"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
  <AdaptationSet segmentAlignment="true" maxWidth="320" maxHeight="240" maxFrameRate="60000/1001" par="4:3" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="2" mimeType="video/mp4" codecs="hev1.1.6.L63.90" width="320" height="240" frameRate="60000/1001" sar="4:3" bandwidth="100242">
    <BaseURL>ED320x240_dashinit.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="1061-2076">
     <Initialization range="0-948"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>
two video stream create two AdaptationSet,not in one
This is a GitHub Issue
repo:gpac
owner:gpac
Title : two video stream create two AdaptationSet,not in one
Issue date:

--- start body ---
i use command like that 

MP4Box -dash 10000 -rap -frag-rap -dash-profile dashavc264:onDemand -bs-switching no -segment-ext .m4s  11.mkv#video ED320x240.mp4#video 11.mkv#audio -out xxx.mpd

and mpd content like that,two video stream create two AdaptationSet

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 2.2-rev0-gab012bbf-master at 2023-05-02T08:39:09.274Z -->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H13M38.601S" maxSubsegmentDuration="PT0H0M14.414S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011,http://dashif.org/guidelines/dash264">
 <ProgramInformation moreInformationURL="http://gpac.io">
  <Title>xxx.mpd generated by GPAC</Title>
 </ProgramInformation>

 <Period duration="PT0H13M38.601S">
  <AdaptationSet segmentAlignment="true" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="3" mimeType="audio/mp4" codecs="opus" audioSamplingRate="48000" bandwidth="120000">
    <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
    <BaseURL>11_dash_track2_init.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="915-1930">
     <Initialization range="0-802"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
  <AdaptationSet segmentAlignment="true" maxWidth="3840" maxHeight="2160" maxFrameRate="25" par="16:9" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="1" mimeType="video/mp4" codecs="vp09.00.00.08.00.01.01.01.00" width="3840" height="2160" frameRate="25" sar="1:1" bandwidth="13500000">
    <BaseURL>11_dash_track1_init.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="986-2001">
     <Initialization range="0-873"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
  <AdaptationSet segmentAlignment="true" maxWidth="320" maxHeight="240" maxFrameRate="60000/1001" par="4:3" lang="und" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
   <Representation id="2" mimeType="video/mp4" codecs="hev1.1.6.L63.90" width="320" height="240" frameRate="60000/1001" sar="4:3" bandwidth="100242">
    <BaseURL>ED320x240_dashinit.mp4</BaseURL>
    <SegmentBase indexRangeExact="true" indexRange="1061-2076">
     <Initialization range="0-948"/>
    </SegmentBase>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>
--- end body ---

None