Skip to content

Commit

Permalink
Update mp4-dash.py
Browse files Browse the repository at this point in the history
Use dolby_digital_plus_info for ec-3
  • Loading branch information
ftyp authored Mar 14, 2024
1 parent 6649d9a commit 8637c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Python/utils/mp4-dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8637c32

Please sign in to comment.