Fix ffmpeg regex

This commit is contained in:
Kenshin 2024-10-13 23:23:26 +02:00
parent 4458983842
commit 4f7c6e90c8

View File

@ -1213,7 +1213,7 @@ def __init__(self, info_dict, ffmpeg_args, hook_progress, ydl=None):
(?:
frame=\s(?P<frame>\S+)\n
fps=\s(?P<fps>\S+)\n
stream\d+_\d+_q=\s(?P<stream_d_d_q>\S+)\n
stream_\d+_\d+_q=\s(?P<stream_d_d_q>\S+)\n
)?
bitrate=\s(?P<bitrate>\S+)\n
total_size=\s(?P<total_size>\S+)\n