mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
minor
This commit is contained in:
parent
6863fdb5e7
commit
796d0d5116
2 changed files with 1 additions and 7 deletions
|
@ -78,10 +78,6 @@ class Main:
|
|||
sys.exit()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class EncodingManager:
|
||||
|
||||
def __init__(self):
|
||||
|
@ -209,7 +205,7 @@ class EncodingManager:
|
|||
write_progress_file(Path(project.temp / 'done.json'), chunk, encoded_frames)
|
||||
|
||||
enc_time = round(time.time() - st_time, 2)
|
||||
log(f'Done: {chunk.name} Fr: {encoded_frames}\n'
|
||||
log(f'Done: {chunk.name} Fr: {encoded_frames}/{chunk_frames}\n'
|
||||
f'Fps: {round(encoded_frames / enc_time, 4)} Time: {enc_time} sec.\n\n')
|
||||
|
||||
def frame_check_output(self, chunk: Chunk, expected_frames: int) -> int:
|
||||
|
|
|
@ -152,8 +152,6 @@ class Project(object):
|
|||
|
||||
def determine_workers(self):
|
||||
"""Returns number of workers that machine can handle with selected encoder."""
|
||||
|
||||
# If set by user, skip
|
||||
if self.workers:
|
||||
return self.workers
|
||||
|
||||
|
|
Loading…
Reference in a new issue