2020-05-01, 01:36
i notice with DD+ 2.0, then open kodi stream info - it shows audio is unknown and no audio at all (even without pass-through)
So maybe kodi doesnt support DD+ 2.0 - or these audio streams shouldn't actually be shown in the select dialog and 2.0 AAC should be used.
So for now - just use AAC
Unfortunately, appears Kodi defaults to selecting the DD+ 2.0 (not aac)
I could update the proxy to remove these bad audio streams from the m3u8 to fix that.
Ok, looking at the playlist:
You will notice they point to the same URI.
So, the DD+ 2.0 stream is the same as the AAC 2.0 stream.
The reason it doesn't play is because of this
That tells kodi the audio group for this video stream.
You will see CODECS="avc1.4d401f,ec-3,mp4a.40.2"
This lists 2x audio formats as English has ec-3, but German is mp4a.40.2
IA just checks for ec-3 and then sets that as the codec.
So, Kodi / ffmpeg is expects a ec-3 audio stream, but actually gets a AAC stream.
In the debug log
beacuse its actually AAC
Appears IA may need an update as multiple audio codecs in CODECS is valid.
At present, it just looks for eac-3 in CODECS and set that as the codec.
For now, I may be able to edit the m3u8 via the proxy (already used to set default audio)
actually, I dont think there is any possible fix for the m3u8 without breaking English.
So maybe kodi doesnt support DD+ 2.0 - or these audio streams shouldn't actually be shown in the select dialog and 2.0 AAC should be used.
So for now - just use AAC
Unfortunately, appears Kodi defaults to selecting the DD+ 2.0 (not aac)
I could update the proxy to remove these bad audio streams from the m3u8 to fix that.
Ok, looking at the playlist:
Code:
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="eac-3",NAME="Deutsch",LANGUAGE="de",AUTOSELECT=YES,CHANNELS="2",URI="r/composite_128k_mp4a.40.2_de_PRIMARY_a017ad9f-9775-411f-93cf-75bf1b88456a_9ae373bb-094c-4120-bcf3-edc22c7946a2.m3u8"
....
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac-128k",NAME="Deutsch",LANGUAGE="de",AUTOSELECT=YES,CHANNELS="2",URI="r/composite_128k_mp4a.40.2_de_PRIMARY_a017ad9f-9775-411f-93cf-75bf1b88456a_9ae373bb-094c-4120-bcf3-edc22c7946a2.m3u8"
You will notice they point to the same URI.
So, the DD+ 2.0 stream is the same as the AAC 2.0 stream.
The reason it doesn't play is because of this
Code:
#EXT-X-STREAM-INF:BANDWIDTH=2077153,AVERAGE-BANDWIDTH=1436086,CODECS="avc1.4d401f,ec-3,mp4a.40.2",RESOLUTION=854x480,FRAME-RATE=23.976,AUDIO="eac-3",SUBTITLES="sub-main"
That tells kodi the audio group for this video stream.
You will see CODECS="avc1.4d401f,ec-3,mp4a.40.2"
This lists 2x audio formats as English has ec-3, but German is mp4a.40.2
IA just checks for ec-3 and then sets that as the codec.
So, Kodi / ffmpeg is expects a ec-3 audio stream, but actually gets a AAC stream.
In the debug log
Code:
2020-05-01 12:14:07.175 T:10780 DEBUG: CDVDDemuxClient::RequestStream(): added/updated stream 1007 with codec_id 86056
2020-05-01 12:14:07.175 T:10780 NOTICE: Finding audio codec for: 86056
2020-05-01 12:14:07.175 T:10780 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder eac3
ffmpeg[3ED4]: [eac3] frame sync error
Appears IA may need an update as multiple audio codecs in CODECS is valid.
At present, it just looks for eac-3 in CODECS and set that as the codec.
For now, I may be able to edit the m3u8 via the proxy (already used to set default audio)
actually, I dont think there is any possible fix for the m3u8 without breaking English.