diff --git a/gnes/preprocessor/io_utils/ffmpeg.py b/gnes/preprocessor/io_utils/ffmpeg.py index f6099f5f..9d701d11 100644 --- a/gnes/preprocessor/io_utils/ffmpeg.py +++ b/gnes/preprocessor/io_utils/ffmpeg.py @@ -18,7 +18,7 @@ VIDEO_DUR_PATTERN = re.compile(r".*Duration: (\d+):(\d+):(\d+)", re.DOTALL) VIDEO_INFO_PATTERN = re.compile( - r'.*Stream #0:(\d+)(?:\(\w+\))?: Video: (\w+).*, (yuv\w+)[(,].* (\d+)x(\d+).* (\d+)(\.\d.)? fps', + r'.*Stream #0:(\d+)(?:\(\w+\))?: Video: (\w+).*, (\w+)[(,].* (\d+)x(\d+).* (\d+)(\.\d.)? fps', re.DOTALL) AUDIO_INFO_PATTERN = re.compile( r'^\s+Stream #0:(?P\d+)(\((?P\w+)\))?: Audio: (?P\w+).*?(?P\(default\))?$',