2 Commits

Author SHA1 Message Date
90d5845755 Merge branch 'main' of gitea.maveno.de:Javanaut/ffx 2023-10-24 15:22:12 +02:00
f0fdaf6f8e fix dict 2023-10-24 15:21:32 +02:00

View File

@@ -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