With the following gpac command:
```
-i transcoded/video_h264_720_vcrf_23.mp4:#HLSPL=video/h264_720_vcrf_23/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34665d152c0.xml:FID=SRC1::#HLSKey=skd://65ebb3d94544b359e976b34665d152c0",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_480_vb_1500k.mp4:#HLSPL=video/h264_480_vb_1500k/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b347980565a6.xml:FID=SRC2::#HLSKey=skd://65ebb3d94544b359e976b347980565a6",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_360_vb_1M.mp4:#HLSPL=video/h264_360_vb_1M/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b348cfcdc854.xml:FID=SRC3::#HLSKey=skd://65ebb3d94544b359e976b348cfcdc854",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_240_vb_500k.mp4:#HLSPL=video/h264_240_vb_500k/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b349c7dbc8ff.xml:FID=SRC4::#HLSKey=skd://65ebb3d94544b359e976b349c7dbc8ff",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_1080_vcrf_21.mp4:#HLSPL=video/h264_1080_vcrf_21/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34ae17ee22c.xml:FID=SRC5::#HLSKey=skd://65ebb3d94544b359e976b34ae17ee22c",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/audio_aac_ab_64k_asr_44100_ac_1.mp4:#HLSPL=audio/aac_ab_64k_asr_44100_ac_1/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34b4f8e2722.xml:FID=SRC6::#HLSKey=skd://65ebb3d94544b359e976b34b4f8e2722",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/audio_aac_ab_128k_asr_44100_ac_2.mp4:#HLSPL=audio/aac_ab_128k_asr_44100_ac_2/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34c12b121c6.xml:FID=SRC7::#HLSKey=skd://65ebb3d94544b359e976b34c12b121c6",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -o drm/protected/live.m3u8:template=seg-$Number$:dual:segdur=2:SID=SRC1,SRC2,SRC3,SRC4,SRC5,SRC6,SRC7:profile=main
```

For some unknown reason, the $Number$ does not resolve as init in the audio tracks. It does for video.
Even when nto specifying template names, I started noticing that for audio tracks the output init track was by default _dash.mp4 while for video tracks it was _dashinit.mp4.
I guess there might be a bug but I cannot find why or where. Maybe related to when there are several audio inputs? The file inputs have only one track each video or audio.


Strange bug in audio init segments
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Strange bug in audio init segments
Issue date:

--- start body ---
With the following gpac command:
```
-i transcoded/video_h264_720_vcrf_23.mp4:#HLSPL=video/h264_720_vcrf_23/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34665d152c0.xml:FID=SRC1::#HLSKey=skd://65ebb3d94544b359e976b34665d152c0",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_480_vb_1500k.mp4:#HLSPL=video/h264_480_vb_1500k/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b347980565a6.xml:FID=SRC2::#HLSKey=skd://65ebb3d94544b359e976b347980565a6",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_360_vb_1M.mp4:#HLSPL=video/h264_360_vb_1M/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b348cfcdc854.xml:FID=SRC3::#HLSKey=skd://65ebb3d94544b359e976b348cfcdc854",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_240_vb_500k.mp4:#HLSPL=video/h264_240_vb_500k/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b349c7dbc8ff.xml:FID=SRC4::#HLSKey=skd://65ebb3d94544b359e976b349c7dbc8ff",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/video_h264_1080_vcrf_21.mp4:#HLSPL=video/h264_1080_vcrf_21/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34ae17ee22c.xml:FID=SRC5::#HLSKey=skd://65ebb3d94544b359e976b34ae17ee22c",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/audio_aac_ab_64k_asr_44100_ac_1.mp4:#HLSPL=audio/aac_ab_64k_asr_44100_ac_1/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34b4f8e2722.xml:FID=SRC6::#HLSKey=skd://65ebb3d94544b359e976b34b4f8e2722",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -i transcoded/audio_aac_ab_128k_asr_44100_ac_2.mp4:#HLSPL=audio/aac_ab_128k_asr_44100_ac_2/index.m3u8 @ cecrypt:cfile=drm/drmSpecs/65ebb3d94544b359e976b34c12b121c6.xml:FID=SRC7::#HLSKey=skd://65ebb3d94544b359e976b34c12b121c6",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1 -o drm/protected/live.m3u8:template=seg-$Number$:dual:segdur=2:SID=SRC1,SRC2,SRC3,SRC4,SRC5,SRC6,SRC7:profile=main
```

For some unknown reason, the $Number$ does not resolve as init in the audio tracks. It does for video.
Even when nto specifying template names, I started noticing that for audio tracks the output init track was by default _dash.mp4 while for video tracks it was _dashinit.mp4.
I guess there might be a bug but I cannot find why or where. Maybe related to when there are several audio inputs? The file inputs have only one track each video or audio.


--- end body ---
