mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00: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._progress_pattern = re.compile(r'''(?x)
|
||||
(?:
|
||||
frame=\s(?P<frame>\S+)\n
|
||||
fps=\s(?P<fps>\S+)\n
|
||||
stream_\d+_\d+_q=\s(?P<stream_d_d_q>\S+)\n
|
||||
frame=\s*(?P<frame>\S+)\n
|
||||
fps=\s*(?P<fps>\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
|
||||
out_time_us=\s(?P<out_time_us>\S+)\n
|
||||
out_time_ms=\s(?P<out_time_ms>\S+)\n
|
||||
out_time=\s(?P<out_time>\S+)\n
|
||||
dup_frames=\s(?P<dup_frames>\S+)\n
|
||||
drop_frames=\s(?P<drop_frames>\S+)\n
|
||||
speed=\s(?P<speed>\S+)\n
|
||||
progress=\s(?P<progress>\S+)
|
||||
bitrate=\s*(?P<bitrate>\S+)\n
|
||||
total_size=\s*(?P<total_size>\S+)\n
|
||||
out_time_us=\s*(?P<out_time_us>\S+)\n
|
||||
out_time_ms=\s*(?P<out_time_ms>\S+)\n
|
||||
out_time=\s*(?P<out_time>\S+)\n
|
||||
dup_frames=\s*(?P<dup_frames>\S+)\n
|
||||
drop_frames=\s*(?P<drop_frames>\S+)\n
|
||||
speed=\s*(?P<speed>\S+)\n
|
||||
progress=\s*(?P<progress>\S+)
|
||||
''')
|
||||
|
||||
if self.ydl:
|
||||
|
|
Loading…
Reference in a new issue