xbmc / inputstream.adaptive

kodi inputstream addon for several manifest types
Other
453 stars 242 forks source link

Add support for Sling's CC #500

Closed fernandoalonzo closed 1 year ago

fernandoalonzo commented 4 years ago

I'm using inputstream.adaptive to play Sling streams. Is it possible to implement support for Sling's CC? I think the problem is that there's a Accessibility tag nested in the video AdaptationSet and this is not implemented. Here's an extract of the manifest (I can provide the full manifest if needed):

<AdaptationSet contentType="video" mimeType="video/mp4" segmentAlignment="true" startWithSAP="1">
    ...
    <Accessibility schemeIdUri="urn:scte:dash:cc:cea-608:2015" value="CC1=eng"></Accessibility>
    <Accessibility schemeIdUri="urn:scte:dash:cc:cea-708:2015" value="1=lang:eng"></Accessibility>
    ...
</AdaptationSet>

Thanks!

glennguy commented 3 years ago

@fernandoalonzo is this issue still current? If so can you provide a full mpd for us to look at?

Thanks!

fernandoalonzo commented 3 years ago

Yes it is still current, here's one example:

<?xml version="1.0" encoding="UTF-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:dvb="urn:dvb:dash:dash-extensions:2014-1" xmlns:move="http://www.movenetworks.com/dash/v1" xmlns:ms="urn:microsoft" xmlns:XMLSchema-instance="http://www.w3.org/2001/XMLSchema-instance" XMLSchema-instance:schemaLocation="urn:mpeg:DASH:schema:MPD:2011 DASH-MPD.xsd" profiles="urn:mpeg:dash:profile:isoff-live:2011" maxSegmentDuration="PT2.048000S" minBufferTime="PT2.048000S" publishTime="2021-06-22T14:00:00Z" type="dynamic" minimumUpdatePeriod="PT2.048000S" availabilityStartTime="2021-06-22T14:00:15Z" mediaPresentationDuration="PT7200.000000S" suggestedPresentationDelay="PT4.096000S">
    <ProgramInformation>
        <Linear xmlns="http://www.movenetworks.com/dash/v1">true</Linear>
        <Gaps xmlns="http://www.movenetworks.com/dash/v1" possible="true"></Gaps>
    </ProgramInformation>
    <Period id="1" duration="PT7200.000000S" start="PT0.000000S">
        <BaseURL serviceLocation="15802-Akamai" dvb:priority="1" dvb:weight="34">http://p-cdn1-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Fastly" dvb:priority="1" dvb:weight="33">http://p-cdn4-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Level3" dvb:priority="1" dvb:weight="33">http://p-cdn3-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Akamai" dvb:priority="2" dvb:weight="34">http://p-cdn1-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Fastly" dvb:priority="2" dvb:weight="33">http://p-cdn4-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Level3" dvb:priority="2" dvb:weight="33">http://p-cdn3-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Akamai" dvb:priority="3" dvb:weight="34">http://p-cdn1-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Fastly" dvb:priority="3" dvb:weight="33">http://p-cdn4-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <BaseURL serviceLocation="15802-Level3" dvb:priority="3" dvb:weight="33">http://p-cdn3-802-cg14-linear-cbd46b77.movetv.com/15802/live/KTTVDT/7dd293ded34011eb90e40025b5471111/</BaseURL>
        <AdaptationSet contentType="audio" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" codecs="mp4a.40.2" lang="en">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="c251661f-ae2d-4951-b9fe-60d8ad9d1c60" xmlns:v1="http://www.movenetworks.com/dash/v1" v1:widevineProxy="http://p-drmwv.movetv.com/widevine/proxy"></ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0">
                <cenc:pssh>AAADMnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxISAwAAAQABAAgDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwATABBAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAHAALQBwAGwAYQB5AHIAZQBhAGQAeQAuAG0AbwB2AGUAdAB2AC4AYwBvAG0ALwBwAGwAYQB5AHIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAOgAvAC8AcAAtAHAAbABhAHkAcgBlAGEAZAB5AC4AbQBvAHYAZQB0AHYALgBjAG8AbQAvAGwAbwBnAGkAbgAuAGEAcwBwAHgAPAAvAEwAVQBJAF8AVQBSAEwAPgA8AEsASQBEAD4ASAAyAFoAUgB3AGkAMgB1AFUAVQBtADUALwBtAEQAWQByAFoAMABjAFkAQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBuAHIANgBSAGoAWgBhAE4AVQBYAFEAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=</cenc:pssh>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
                <cenc:pssh>AAAAXHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADwIARIgYzI1MTY2MWZhZTJkNDk1MWI5ZmU2MGQ4YWQ5ZDFjNjAaB3NsaW5ndHYiBktUVFZEVCoFU0RfSEQ=</cenc:pssh>
                <ms:laurl licenseUrl="http://p-drmwv.movetv.com/widevine/proxy"/>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b">
                <cenc:pssh>AAAAIHBzc2gAAAAAEHfv7MCyTQKs4zweUuL7SwAAAAA=</cenc:pssh>
            </ContentProtection>
            <SegmentTemplate timescale="1000" duration="2048" startNumber="7061" initialization="audio/$RepresentationID$/init.mp4" media="audio/$RepresentationID$/$Number%08x$.m4s" presentationTimeOffset="14454845"></SegmentTemplate>
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></AudioChannelConfiguration>
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
            <Representation id="stereo/192" audioSamplingRate="48000" bandwidth="196608" qualityRanking="0"></Representation>
            <Representation id="stereo/160" audioSamplingRate="48000" bandwidth="163840" qualityRanking="1"></Representation>
            <Representation id="stereo/128" audioSamplingRate="48000" bandwidth="131072" qualityRanking="2"></Representation>
            <InbandEventStream schemeIdUri="www.nielsen.com:id3:v1" value="1"></InbandEventStream>
        </AdaptationSet>
        <AdaptationSet contentType="audio" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" codecs="ec-3" lang="en">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="c251661f-ae2d-4951-b9fe-60d8ad9d1c60" xmlns:v1="http://www.movenetworks.com/dash/v1" v1:widevineProxy="http://p-drmwv.movetv.com/widevine/proxy"></ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0">
                <cenc:pssh>AAADMnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxISAwAAAQABAAgDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwATABBAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAHAALQBwAGwAYQB5AHIAZQBhAGQAeQAuAG0AbwB2AGUAdAB2AC4AYwBvAG0ALwBwAGwAYQB5AHIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAOgAvAC8AcAAtAHAAbABhAHkAcgBlAGEAZAB5AC4AbQBvAHYAZQB0AHYALgBjAG8AbQAvAGwAbwBnAGkAbgAuAGEAcwBwAHgAPAAvAEwAVQBJAF8AVQBSAEwAPgA8AEsASQBEAD4ASAAyAFoAUgB3AGkAMgB1AFUAVQBtADUALwBtAEQAWQByAFoAMABjAFkAQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBuAHIANgBSAGoAWgBhAE4AVQBYAFEAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=</cenc:pssh>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
                <cenc:pssh>AAAAXHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADwIARIgYzI1MTY2MWZhZTJkNDk1MWI5ZmU2MGQ4YWQ5ZDFjNjAaB3NsaW5ndHYiBktUVFZEVCoFU0RfSEQ=</cenc:pssh>
                <ms:laurl licenseUrl="http://p-drmwv.movetv.com/widevine/proxy"/>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b">
                <cenc:pssh>AAAAIHBzc2gAAAAAEHfv7MCyTQKs4zweUuL7SwAAAAA=</cenc:pssh>
            </ContentProtection>
            <SegmentTemplate timescale="1000" duration="2048" startNumber="7061" initialization="audio/$RepresentationID$/init.mp4" media="audio/$RepresentationID$/$Number%08x$.m4s" presentationTimeOffset="14454845"></SegmentTemplate>
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="6"></AudioChannelConfiguration>
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
            <Representation id="dolby51/192" audioSamplingRate="48000" bandwidth="196608" qualityRanking="0"></Representation>
            <InbandEventStream schemeIdUri="www.nielsen.com:id3:v1" value="1"></InbandEventStream>
        </AdaptationSet>
        <AdaptationSet contentType="audio" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1" codecs="ec-3" lang="en">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="c251661f-ae2d-4951-b9fe-60d8ad9d1c60" xmlns:v1="http://www.movenetworks.com/dash/v1" v1:widevineProxy="http://p-drmwv.movetv.com/widevine/proxy"></ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0">
                <cenc:pssh>AAADMnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxISAwAAAQABAAgDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwATABBAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAHAALQBwAGwAYQB5AHIAZQBhAGQAeQAuAG0AbwB2AGUAdAB2AC4AYwBvAG0ALwBwAGwAYQB5AHIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAOgAvAC8AcAAtAHAAbABhAHkAcgBlAGEAZAB5AC4AbQBvAHYAZQB0AHYALgBjAG8AbQAvAGwAbwBnAGkAbgAuAGEAcwBwAHgAPAAvAEwAVQBJAF8AVQBSAEwAPgA8AEsASQBEAD4ASAAyAFoAUgB3AGkAMgB1AFUAVQBtADUALwBtAEQAWQByAFoAMABjAFkAQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBuAHIANgBSAGoAWgBhAE4AVQBYAFEAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=</cenc:pssh>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
                <cenc:pssh>AAAAXHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADwIARIgYzI1MTY2MWZhZTJkNDk1MWI5ZmU2MGQ4YWQ5ZDFjNjAaB3NsaW5ndHYiBktUVFZEVCoFU0RfSEQ=</cenc:pssh>
                <ms:laurl licenseUrl="http://p-drmwv.movetv.com/widevine/proxy"/>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b">
                <cenc:pssh>AAAAIHBzc2gAAAAAEHfv7MCyTQKs4zweUuL7SwAAAAA=</cenc:pssh>
            </ContentProtection>
            <SegmentTemplate timescale="1000" duration="2048" startNumber="7061" initialization="audio/$RepresentationID$/init.mp4" media="audio/$RepresentationID$/$Number%08x$.m4s" presentationTimeOffset="14454845"></SegmentTemplate>
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></AudioChannelConfiguration>
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
            <Representation id="dolby20/96" audioSamplingRate="48000" bandwidth="98304" qualityRanking="0"></Representation>
            <InbandEventStream schemeIdUri="www.nielsen.com:id3:v1" value="1"></InbandEventStream>
        </AdaptationSet>
        <AdaptationSet contentType="video" mimeType="video/mp4" segmentAlignment="true" startWithSAP="1">
            <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="c251661f-ae2d-4951-b9fe-60d8ad9d1c60" xmlns:v1="http://www.movenetworks.com/dash/v1" v1:widevineProxy="http://p-drmwv.movetv.com/widevine/proxy"></ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0">
                <cenc:pssh>AAADMnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxISAwAAAQABAAgDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwATABBAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAHAALQBwAGwAYQB5AHIAZQBhAGQAeQAuAG0AbwB2AGUAdAB2AC4AYwBvAG0ALwBwAGwAYQB5AHIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAOgAvAC8AcAAtAHAAbABhAHkAcgBlAGEAZAB5AC4AbQBvAHYAZQB0AHYALgBjAG8AbQAvAGwAbwBnAGkAbgAuAGEAcwBwAHgAPAAvAEwAVQBJAF8AVQBSAEwAPgA8AEsASQBEAD4ASAAyAFoAUgB3AGkAMgB1AFUAVQBtADUALwBtAEQAWQByAFoAMABjAFkAQQA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBuAHIANgBSAGoAWgBhAE4AVQBYAFEAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=</cenc:pssh>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
                <cenc:pssh>AAAAXHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADwIARIgYzI1MTY2MWZhZTJkNDk1MWI5ZmU2MGQ4YWQ5ZDFjNjAaB3NsaW5ndHYiBktUVFZEVCoFU0RfSEQ=</cenc:pssh>
                <ms:laurl licenseUrl="http://p-drmwv.movetv.com/widevine/proxy"/>
            </ContentProtection>
            <ContentProtection schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b">
                <cenc:pssh>AAAAIHBzc2gAAAAAEHfv7MCyTQKs4zweUuL7SwAAAAA=</cenc:pssh>
            </ContentProtection>
            <Accessibility schemeIdUri="urn:scte:dash:cc:cea-608:2015" value="CC1=eng"></Accessibility>
            <Accessibility schemeIdUri="urn:scte:dash:cc:cea-708:2015" value="1=lang:eng"></Accessibility>
            <SegmentTemplate timescale="1000" duration="2048" startNumber="7061" initialization="video/$RepresentationID$/init.mp4" media="video/$RepresentationID$/$Number%08x$.m4s" presentationTimeOffset="14454845"></SegmentTemplate>
            <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"></Role>
            <Representation id="vid05" bandwidth="4300800" codecs="avc1.640028" width="1280" height="720" frameRate="29970/1000" sar="1:1" qualityRanking="0"></Representation>
            <Representation id="vid04" bandwidth="2867200" codecs="avc1.640028" width="1280" height="720" frameRate="29970/1000" sar="1:1" qualityRanking="1"></Representation>
            <Representation id="vid03" bandwidth="1536000" codecs="avc1.4d401f" width="768" height="432" frameRate="29970/1000" sar="1:1" qualityRanking="2"></Representation>
            <Representation id="vid02" bandwidth="819200" codecs="avc1.4d401f" width="768" height="432" frameRate="29970/1000" sar="1:1" qualityRanking="3"></Representation>
            <Representation id="vid01" bandwidth="319488" codecs="avc1.4d401f" width="512" height="288" frameRate="29970/1000" sar="1:1" qualityRanking="4"></Representation>
        </AdaptationSet>
    </Period>
</MPD>

I just tested this mpd with Kodi 19.1.0 (Git: 20210508-85e05228b4) and InputStream Adaptive 2.6.17. The behavior is the same, the video streams play just fine and it detects all the Audio streams but it does not detect any CC (Subtitle setting is grayed out and it says "None"). Please let me know if you need more details or additional manifests. Thanks!

CastagnaIT commented 2 years ago

i think has been finally found the problem of the start code that prevent load CC subtitles at least from my test now works please let a feedback after https://github.com/xbmc/xbmc/pull/21410 PR will be merged

enen92 commented 2 years ago

@fernandoalonzo please test on top of current master