mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
changed vmaf plotting behaviour
This commit is contained in:
parent
1d5853752d
commit
12aca2cd65
1 changed files with 1 additions and 5 deletions
6
av1an.py
6
av1an.py
|
@ -92,10 +92,6 @@ class Av1an:
|
|||
self.pix_format = f'-strict -1 -pix_fmt {self.pix_format}'
|
||||
self.ffmpeg_pipe = f' {self.ffmpeg} {self.pix_format} -f yuv4mpegpipe - |'
|
||||
|
||||
# Make sure that vmaf calculated after encoding
|
||||
if self.vmaf_target:
|
||||
self.vmaf = True
|
||||
|
||||
if self.vmaf_path:
|
||||
if not Path(self.vmaf_path).exists():
|
||||
print(f'No such model: {Path(self.vmaf_path).as_posix()}')
|
||||
|
@ -314,7 +310,7 @@ class Av1an:
|
|||
log(f'Concatenation failed, aborting, error: {e}\n')
|
||||
terminate()
|
||||
|
||||
if self.vmaf and self.vmaf_plots:
|
||||
if self.vmaf or self.vmaf_plots:
|
||||
plot_vmaf(self.input, self.output_file, model=self.vmaf_path)
|
||||
|
||||
def main_queue(self):
|
||||
|
|
Loading…
Reference in a new issue