From c165eb24e69bab437823b59ea933cea33ddb6a44 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Mon, 29 Jul 2024 15:42:46 +0200 Subject: [PATCH] once both audio and video stream then audio is first --- client/ayon_core/lib/transcoding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/lib/transcoding.py b/client/ayon_core/lib/transcoding.py index 5fafb8b3d6..d6b4550126 100644 --- a/client/ayon_core/lib/transcoding.py +++ b/client/ayon_core/lib/transcoding.py @@ -878,7 +878,7 @@ def get_image_info_metadata( ffprobe_stream = get_ffprobe_data(path_to_file, logger) if "streams" in ffprobe_stream and len(ffprobe_stream["streams"]) > 0: metadata_stream = _ffprobe_metadata_conversion( - ffprobe_stream["streams"][0]) + ffprobe_stream["streams"][-1]) if not metadata_stream and is_oiio_supported(): oiio_stream = get_oiio_info_for_input(path_to_file, logger=logger)