fix: add av1/hevc vaapi encoders, simplify welcome UI, truncate output path

This commit is contained in:
fiatcode 2026-02-28 09:19:58 +07:00
parent 09084b9b59
commit ce8288ca7a
2 changed files with 57 additions and 5 deletions

View file

@ -92,7 +92,7 @@ class WelcomeScreen(Screen):
}
#logo {
color: $text;
color: $accent;
text-style: bold;
margin-bottom: 2;
width: auto;
@ -144,7 +144,7 @@ class WelcomeScreen(Screen):
with Middle():
with Vertical(id="app-container"):
with Center():
yield Static(LOGO, id="logo")
yield Label("PyFaceBlur", id="logo")
with Horizontal(classes="form-row"):
yield Label("Video file:", classes="form-label")
@ -644,7 +644,7 @@ class EncodingScreen(Screen):
yield Label("Encoding video with face blur...", id="encoding-phase")
yield ProgressBar(total=100, id="encoding-progress")
yield Label("", id="encoding-status")
yield Label(f"Output: {self.output_path}", id="output-label")
yield Label(f"Output: {self.output_path.name}", id="output-label")
yield Button("Done — Exit", id="done-btn", variant="success")
def on_mount(self) -> None: