mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
bar fix for vvc + limit frames to ecnode == source
This commit is contained in:
parent
657aa18311
commit
18f8c0a1b8
2 changed files with 5 additions and 1 deletions
|
@ -102,6 +102,9 @@ def process_encoding_pipe(pipe, encoder, counter):
|
|||
|
||||
if encoder in ('vvc'):
|
||||
match = match_vvc(line)
|
||||
if match:
|
||||
counter.update(1)
|
||||
continue
|
||||
|
||||
if match:
|
||||
new = int(match.group(1))
|
||||
|
|
|
@ -7,6 +7,7 @@ from pathlib import Path
|
|||
from .vvc import to_yuv
|
||||
from .utils import terminate
|
||||
from .logger import log
|
||||
from .ffmpeg import frame_probe
|
||||
|
||||
|
||||
def compose_aomsplit_first_pass_command(video_path: Path, stat_file, ffmpeg_pipe, video_params):
|
||||
|
@ -187,7 +188,7 @@ def vvc_encode(inputs, params, vvc_conf):
|
|||
"""Experimental support for VVC encoder
|
||||
"""
|
||||
commands = [
|
||||
(f' vvc_encoder -c {vvc_conf} -i {x[0].with_suffix(".yuv").as_posix()} {params} -f 99999 --InputBitDepth=8 --OutputBitDepth=8 -b {x[1].with_suffix(".h266")}',
|
||||
(f' vvc_encoder -c {vvc_conf} -i {x[0].with_suffix(".yuv").as_posix()} {params} -f {frame_probe(x[0])} --InputBitDepth=8 --OutputBitDepth=8 -b {x[1].with_suffix(".h266")}',
|
||||
(x[0], x[1].with_suffix(".h266")))
|
||||
for x in inputs
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue