Skip to content

Video editing with Python

add third special

osaajani003128101a8c
diff --git a/moviepy/video/io/ffmpeg_reader.py b/moviepy/video/io/ffmpeg_reader.py
index 6f760c54..2cce72c4 100644
--- a/moviepy/video/io/ffmpeg_reader.py
+++ b/moviepy/video/io/ffmpeg_reader.py
@@ -977,7 +977,11 @@ class FFmpegBetterInfosParser:
"""Parse a standard line to return (field, value) with typecasting
when needed (rotate, displaymatrix)
"""
- specials = ("Ambient Viewing Environment,", "Content Light Level Metadata,")
+ specials = (
+ "Ambient Viewing Environment,",
+ "Content Light Level Metadata,",
+ "Mastering Display Metadata,",
+ )
line = line.strip()
if line.startswith(specials):
infos = line.split(",", 1)