From 8637c3212c9790a7033eb26e71ca58fcad876395 Mon Sep 17 00:00:00 2001 From: Gunnar Adler <124367846+ftyp@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:19:35 +0100 Subject: [PATCH] Update mp4-dash.py Use dolby_digital_plus_info for ec-3 --- Source/Python/utils/mp4-dash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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