diff --git a/Source/Python/utils/mp4-dash.py b/Source/Python/utils/mp4-dash.py index c0e8b4a1..0a468636 100755 --- a/Source/Python/utils/mp4-dash.py +++ b/Source/Python/utils/mp4-dash.py @@ -1142,7 +1142,7 @@ def OutputSmooth(options, audio_tracks, video_tracks): audio_tag = '65534' fourcc = 'EC-3' channels = str(channels) - data_rate = int(audio_track.info['sample_descriptions'][0]['dolby_digital_info']['data_rate']) + data_rate = int(audio_track.info['sample_descriptions'][0]['dolby_digital_plus_info']['data_rate']) packet_size = str(4*data_rate) else: # assume AAC diff --git a/Source/Python/utils/mp4utils.py b/Source/Python/utils/mp4utils.py index 16ccd9e8..68c9de29 100644 --- a/Source/Python/utils/mp4utils.py +++ b/Source/Python/utils/mp4utils.py @@ -1050,7 +1050,7 @@ def ComputeDolbyDigitalPlusSmoothStreamingInfo(track): mask_hex_be = "{0:0{1}x}".format(channel_mask, 4) info += mask_hex_be[2:4]+mask_hex_be[0:2]+'0000' info += "af87fba7022dfb42a4d405cd93843bdd" - info += track.info['sample_descriptions'][0]['dolby_digital_info']['dec3_payload'] + info += track.info['sample_descriptions'][0]['dolby_digital_plus_info']['dec3_payload'] return (channel_count, info.lower()) def ComputeMarlinPssh(options):