mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Fix ffmpeg not found when specifying ffmpeg_location
This commit is contained in:
parent
4f7c6e90c8
commit
8a450b3aeb
1 changed files with 12 additions and 12 deletions
|
@ -1211,19 +1211,19 @@ def __init__(self, info_dict, ffmpeg_args, hook_progress, ydl=None):
|
||||||
self._streams, self._stderr_buffer, self._stdout_buffer = ['', ''], '', ''
|
self._streams, self._stderr_buffer, self._stdout_buffer = ['', ''], '', ''
|
||||||
self._progress_pattern = re.compile(r'''(?x)
|
self._progress_pattern = re.compile(r'''(?x)
|
||||||
(?:
|
(?:
|
||||||
frame=\s(?P<frame>\S+)\n
|
frame=\s*(?P<frame>\S+)\n
|
||||||
fps=\s(?P<fps>\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
|
bitrate=\s*(?P<bitrate>\S+)\n
|
||||||
total_size=\s(?P<total_size>\S+)\n
|
total_size=\s*(?P<total_size>\S+)\n
|
||||||
out_time_us=\s(?P<out_time_us>\S+)\n
|
out_time_us=\s*(?P<out_time_us>\S+)\n
|
||||||
out_time_ms=\s(?P<out_time_ms>\S+)\n
|
out_time_ms=\s*(?P<out_time_ms>\S+)\n
|
||||||
out_time=\s(?P<out_time>\S+)\n
|
out_time=\s*(?P<out_time>\S+)\n
|
||||||
dup_frames=\s(?P<dup_frames>\S+)\n
|
dup_frames=\s*(?P<dup_frames>\S+)\n
|
||||||
drop_frames=\s(?P<drop_frames>\S+)\n
|
drop_frames=\s*(?P<drop_frames>\S+)\n
|
||||||
speed=\s(?P<speed>\S+)\n
|
speed=\s*(?P<speed>\S+)\n
|
||||||
progress=\s(?P<progress>\S+)
|
progress=\s*(?P<progress>\S+)
|
||||||
''')
|
''')
|
||||||
|
|
||||||
if self.ydl:
|
if self.ydl:
|
||||||
|
|
Loading…
Reference in a new issue