We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f48cf7 commit a4b32b7Copy full SHA for a4b32b7
1 file changed
pythonbits/bb.py
@@ -456,7 +456,8 @@ def _render_video_codec(self):
456
457
def _render_audio_codec(self):
458
audio_track = self['tracks']['audio'][0] # main audio track
459
- if audio_track['codec_id_hint'] == 'MP3':
+ if (audio_track.get('codec_id_hint') == 'MP3' or
460
+ audio_track['codec_id'] in ('MPA1L3', '55')):
461
return 'MP3'
462
elif audio_track['codec_id'].lower().startswith('mp4a'):
463
return 'AAC'
0 commit comments