Add bgra as known pixfmt with alpha

Quick workaround for improved compatibility with ffv1
This commit is contained in:
Austin Mroz
2025-07-26 15:53:25 -05:00
parent 97a57e38a8
commit 9601d8792e
+1 -1
View File
@@ -201,7 +201,7 @@ def ffmpeg_frame_generator(video, force_rate, frame_load_cap, start_time,
fps_base = float(fps_match.group(1))
else:
fps_base = 1
alpha = re.search("(yuva|rgba)", line) is not None
alpha = re.search("(yuva|rgba|bgra)", line) is not None
break
else:
raise Exception("Failed to parse video/image information. FFMPEG output:\n" + lines)