Compare commits
2 Commits
13cc1841d6
...
90d5845755
| Author | SHA1 | Date | |
|---|---|---|---|
| 90d5845755 | |||
| f0fdaf6f8e |
@@ -116,7 +116,7 @@ audioStreams = [s for s in streamData if s['codec_type'] == 'audio']
|
||||
subtitleStreams = [s for s in streamData if s['codec_type'] == 'subtitle']
|
||||
|
||||
for aStream in audioStreams:
|
||||
if 'channel_layout' in aStream.keys():
|
||||
if 'channel_layout' in aStream:
|
||||
print(f"audio stream: {aStream['channel_layout']}") #channel_layout
|
||||
else:
|
||||
print(f"unknown audio stream with {aStream['channels']} channels") #channel_layout
|
||||
|
||||
Reference in New Issue
Block a user