Skip to content

DLSS 5 Neural Rendering for Images & Video with Frame Generation, RTX Video Super Resolution, HDR, and Color Grading

Add files via upload

Merserkd517e9b3418e
diff --git a/src/core/ffmpeg/__init__.py b/src/core/ffmpeg/__init__.py
index 7af9557..96264d2 100644
--- a/src/core/ffmpeg/__init__.py
+++ b/src/core/ffmpeg/__init__.py
@@ -1,9 +1,10 @@
from .codecs import (
- AUTO_BITRATE_DIVISORS, CODEC_CHOICES, ENCODING_QUALITIES, HDR_ALLOWED_CODECS,
+ AUTO_BITRATE_DIVISORS, CODEC_CHOICES, ENCODING_QUALITIES, FIXED_QUALITY_CODECS, HDR_ALLOWED_CODECS,
_base_codec, _is_hdr_allowed_codec, _is_nvenc_codec, _normalize_codec,
calculate_auto_bitrate_kbps, container_for_codec, hdr_mode_supported, resolve_encoding_quality,
validate_codec_container,
)
+from .audio import AudioPlan, plan_audio_streams
from .encoder import probe_nvenc_codecs, resolve_video_gpu, start_encoder
from .mux import final_mux, prepare_mux_comment, verify_mux_comment
from .nut import RawVideoPacketMuxer
@@ -15,11 +16,11 @@ from .preview import (
from .probe import preview_frame_count, probe_video
__all__ = [
- "AUTO_BITRATE_DIVISORS", "CODEC_CHOICES", "DEFAULT_PREVIEW_ENCODING",
- "ENCODING_QUALITIES", "HDR_ALLOWED_CODECS", "PREVIEW_ENCODING_CHOICES",
+ "AUTO_BITRATE_DIVISORS", "AudioPlan", "CODEC_CHOICES", "DEFAULT_PREVIEW_ENCODING",
+ "ENCODING_QUALITIES", "FIXED_QUALITY_CODECS", "HDR_ALLOWED_CODECS", "PREVIEW_ENCODING_CHOICES",
"RawVideoPacketMuxer", "calculate_auto_bitrate_kbps", "container_for_codec", "final_mux", "hdr_mode_supported",
"is_browser_playable", "is_user_playable_request", "make_browser_preview",
- "normalize_preview_encoding", "prepare_mux_comment", "preview_frame_count", "probe_nvenc_codecs",
+ "normalize_preview_encoding", "plan_audio_streams", "prepare_mux_comment", "preview_frame_count", "probe_nvenc_codecs",
"probe_video", "resolve_encoding_quality", "resolve_final_preview",
"resolve_preview_codec", "resolve_video_gpu", "start_encoder",
"validate_codec_container", "verify_mux_comment", "wants_compat_preview",
diff --git a/src/core/ffmpeg/audio.py b/src/core/ffmpeg/audio.py
new file mode 100644
index 0000000..71ddf9e
--- /dev/null
+++ b/src/core/ffmpeg/audio.py
@@ -0,0 +1,100 @@
+from __future__ import annotations
+
+import subprocess
+import tempfile
+from dataclasses import dataclass
+from pathlib import Path
+
+from .. import app_log
+from ..jobs import Cancelled, JobController
+from ..paths import FFMPEG, FFPROBE
+from .probe import _run_json
+
+
+@dataclass(frozen=True, slots=True)
+class AudioStreamPlan:
+ source_index: int
+ source_codec: str
+ mode: str
+
+
+@dataclass(frozen=True, slots=True)
+class AudioPlan:
+ streams: tuple[AudioStreamPlan, ...]
+
+ def encoder_args(self) -> list[str]:
+ args: list[str] = []
+ for output_index, stream in enumerate(self.streams):
+ args.extend([f"-c:a:{output_index}", "copy" if stream.mode == "copy" else "aac"])
+ if stream.mode != "copy":
+ args.extend([f"-b:a:{output_index}", "192k"])
+ return args
+
+ def diagnostics(self) -> list[dict[str, str | int]]:
+ return [
+ {"source_index": stream.source_index, "source_codec": stream.source_codec,
+ "mode": stream.mode, "output_codec": stream.source_codec if stream.mode == "copy" else "aac"}
+ for stream in self.streams
+ ]
+
+
+_FORMATS = {"MP4": ("mp4", ".mp4"), "MOV": ("mov", ".mov"),
+ "MKV": ("matroska", ".mkv")}
+
+
+def _copy_works(source: Path, stream_index: int, mux_format: str, suffix: str,
+ directory: Path, controller: JobController | None) -> bool:
+ output = directory / f"audio-{stream_index}{suffix}"
+ command = [
+ str(FFMPEG), "-hide_banner", "-loglevel", "error", "-y", "-i", str(source),
+ "-map", f"0:{stream_index}", "-frames:a", "1", "-c:a", "copy",
+ "-map_metadata", "-1", "-map_chapters", "-1", "-f", mux_format, str(output),
+ ]
+ process = subprocess.Popen(
+ command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
+ creationflags=getattr(subprocess, "CREATE_NO_WINDOW", 0),
+ )
+ if controller is not None:
+ controller.register(process)
+ try:
+ while True:
+ if controller is not None and controller.cancel.is_set():
+ raise Cancelled("Render stopped by user.")
+ try:
+ process.wait(timeout=0.2)
+ return process.returncode == 0
+ except subprocess.TimeoutExpired:
+ continue
+ finally:
+ if process.poll() is None:
+ process.terminate()
+ try:
+ process.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ process.kill()
+ process.wait(timeout=5)
+ if controller is not None:
+ controller.unregister(process)
+
+
+def plan_audio_streams(source: Path, container: str,
+ controller: JobController | None = None) -> AudioPlan:
+ """Choose stream copy per audio stream before video encoding starts."""
+ if container not in _FORMATS:
+ raise ValueError(f"Unknown output container: {container!r}.")
+ data = _run_json([
+ str(FFPROBE), "-v", "error", "-select_streams", "a",
+ "-show_entries", "stream=index,codec_name", "-of", "json", str(source),
+ ], controller=controller)
+ mux_format, suffix = _FORMATS[container]
+ streams: list[AudioStreamPlan] = []
+ with tempfile.TemporaryDirectory(prefix="visual-enhancer-audio-") as temp:
+ for stream in data.get("streams") or []:
+ index = int(stream["index"])
+ codec = str(stream.get("codec_name") or "unknown")
+ mode = "copy" if _copy_works(
+ source, index, mux_format, suffix, Path(temp), controller
+ ) else "aac"
+ streams.append(AudioStreamPlan(index, codec, mode))
+ app_log.info("audio", f"stream={index} codec={codec} output={mode} container={container}")
+ return AudioPlan(tuple(streams))
diff --git a/src/core/ffmpeg/codecs.py b/src/core/ffmpeg/codecs.py
index 8adec29..26f8bc8 100644
--- a/src/core/ffmpeg/codecs.py
+++ b/src/core/ffmpeg/codecs.py
@@ -14,6 +14,8 @@ CODEC_CHOICES = (
"AV1",
"AV1 (NVIDIA NVENC)",
"ProRes Proxy",
+ "ProRes HQ",
+ "FFV1 Lossless RGB 10-bit",
)
_CODEC_ALIASES = {
@@ -31,6 +33,8 @@ _BASE_CODEC_MAP = {
"AV1": "AV1",
"AV1 (NVIDIA NVENC)": "AV1",
"ProRes Proxy": "ProRes Proxy",
+ "ProRes HQ": "ProRes HQ",
+ "FFV1 Lossless RGB 10-bit": "FFV1 Lossless RGB 10-bit",
}
_IS_NVENC_SET = {
@@ -53,6 +57,8 @@ _AUTOMATIC_CONTAINERS = {
"AV1": "MKV",
"AV1 (NVIDIA NVENC)": "MKV",
"ProRes Proxy": "MOV",
+ "ProRes HQ": "MOV",
+ "FFV1 Lossless RGB 10-bit": "MKV",
}
# Keep AUTO_BITRATE_DIVISORS keyed by base codec; "HEVC" alias preserved for compat.
@@ -70,8 +76,14 @@ HDR_ALLOWED_CODECS = {
"AV1",
"AV1 (NVIDIA NVENC)",
"ProRes Proxy",
+ "ProRes HQ",
+ "FFV1 Lossless RGB 10-bit",
}
+FIXED_QUALITY_CODECS = frozenset({
+ "ProRes HQ", "FFV1 Lossless RGB 10-bit",
+})
+
def _normalize_codec(codec: str) -> str:
if not isinstance(codec, str):
return codec
@@ -164,9 +176,11 @@ def validate_codec_container(codec: str, container: str) -> None:
norm = _normalize_codec(codec)
if norm == "ProRes Proxy" and container == "MP4":
raise ValueError("ProRes Proxy is not supported in MP4. Choose the MOV or MKV container.")
+ if norm in FIXED_QUALITY_CODECS and container != container_for_codec(norm):
+ raise ValueError(f"{norm} requires the {container_for_codec(norm)} container.")
if norm not in CODEC_CHOICES and norm not in _CODEC_ALIASES.values():
# Allow alias but error on truly unknown for early feedback; _codec_command will also validate.
- if norm not in ("H.264", "H.264 (NVIDIA NVENC)", "H.265", "H.265 (NVIDIA NVENC)", "AV1", "AV1 (NVIDIA NVENC)", "ProRes Proxy", "HEVC"):
+ if norm not in _BASE_CODEC_MAP:
raise ValueError(f"Unknown video codec: {codec!r}.")
@@ -180,7 +194,7 @@ def calculate_auto_bitrate_kbps(
norm = _normalize_codec(codec)
base = _base_codec(norm) if norm in _BASE_CODEC_MAP else norm
# ProRes has no auto bitrate
- if base == "ProRes Proxy":
+ if base == "ProRes Proxy" or base in FIXED_QUALITY_CODECS:
raise ValueError(f"Automatic bitrate is unavailable for codec {codec!r}.")
try:
divisor = AUTO_BITRATE_DIVISORS[base]
@@ -211,6 +225,13 @@ def resolve_encoding_quality(
# Accept HEVC alias
if norm not in _BASE_CODEC_MAP and norm != "HEVC":
raise ValueError(f"Unknown video codec: {codec!r}.")
+ if norm in FIXED_QUALITY_CODECS:
+ return {
+ "selection": quality_name,
+ "mode": "fixed-codec",
+ "target_bitrate_kbps": None,
+ "cq": None,
+ }
if _normalize_codec(norm) == "ProRes Proxy" or _base_codec(norm) == "ProRes Proxy":
# prores_ks otherwise ignores the application's quality selection.
# Keep profile 0 while allowing higher selections to preserve fine
diff --git a/src/core/ffmpeg/encoder.py b/src/core/ffmpeg/encoder.py
index 518de37..1e0c10c 100644
--- a/src/core/ffmpeg/encoder.py
+++ b/src/core/ffmpeg/encoder.py
@@ -7,6 +7,7 @@ from pathlib import Path
from ..jobs import BoundedLogBuffer, JobController, drain_bounded_text, drain_text
from ..paths import FFMPEG
+from .audio import AudioPlan, plan_audio_streams
from .codecs import (
CODEC_CHOICES, _NVENC_ENCODERS, _base_codec, _hdr_color_args,
_is_hdr_allowed_codec, _is_nvenc_codec, _normalize_codec, _x265_hdr_params,
@@ -161,7 +162,7 @@ def _codec_command(
if hdr_mode and not _is_hdr_allowed_codec(norm):
raise ValueError(
f"HDR Mode is not available for {codec!r}; choose H.265, H.265 (NVIDIA NVENC), "
- "AV1, AV1 (NVIDIA NVENC) or ProRes Proxy."
+ "AV1, AV1 (NVIDIA NVENC), ProRes, or FFV1 Lossless RGB 10-bit."
)
# HDR mode needs 10-bit divisor
quality = resolve_encoding_quality(quality_name, codec, width, height, fps, hdr_mode=hdr_mode)
@@ -181,6 +182,18 @@ def _codec_command(
"prores_ks (Proxy)",
quality,
)
+ if norm == "ProRes HQ":
+ return (
+ ["-c:v", "prores_ks", "-profile:v", "3", "-pix_fmt", "yuv422p10le",
+ *(_hdr_color_args(hdr_metadata) if hdr_mode and hdr_metadata else [])],
+ "prores_ks (HQ)", quality,
+ )
+ if norm == "FFV1 Lossless RGB 10-bit":
+ return (
+ ["-c:v", "ffv1", "-level", "3", "-slicecrc", "1", "-pix_fmt", "gbrp10le",
+ "-color_range", "pc"],
+ "ffv1 (Lossless RGB 10-bit)", quality,
+ )
if quality["mode"] == "constant-quality":
nvenc_quality = ["-rc", "vbr", "-cq", "0", "-b:v", "0"]
software_quality = ["-crf", "0"]
@@ -329,13 +342,36 @@ def start_encoder(
speed_profile: str = "default", source_audio: Path | None = None,
direct_container: str | None = None, comment: str | None = None,
audio_duration: float | None = None, include_source_metadata: bool = True,
+ audio_plan: AudioPlan | None = None,
):
codec_args, selected, quality = _codec_command(
codec, quality_name, width, height, fps, gpu_ordinal, require_nvenc, hdr_mode, hdr_metadata,
speed_profile=speed_profile,
)
+ normalized_codec = _normalize_codec(codec)
+ if normalized_codec in {"ProRes HQ", "FFV1 Lossless RGB 10-bit"}:
+ colors = hdr_metadata or {}
+ primaries = str(colors.get("color_primaries") or "bt709")
+ transfer = str(colors.get("color_transfer") or "bt709")
+ if primaries in {"unknown", "unspecified"}:
+ primaries = "bt2020" if colors.get("hdr") else "bt709"
+ if transfer in {"unknown", "unspecified"}:
+ transfer = "smpte2084" if colors.get("hdr") else "bt709"
+ if normalized_codec == "FFV1 Lossless RGB 10-bit":
+ tag_filter = ("format=gbrp10le,setparams="
+ f"color_primaries={primaries}:color_trc={transfer}:"
+ "colorspace=gbr:range=full")
+ else:
+ matrix = str(colors.get("color_space") or "bt709")
+ if matrix in {"unknown", "unspecified"}:
+ matrix = "bt2020nc" if colors.get("hdr") else "bt709"
+ tag_filter = ("format=yuv422p10le,setparams="
+ f"color_primaries={primaries}:color_trc={transfer}:"
+ f"colorspace={matrix}:range=limited")
+ video_filter = f"{video_filter},{tag_filter}" if video_filter else tag_filter
direct_mux = source_audio is not None and direct_container in {"MP4", "MOV"}
if direct_mux:
+ selected_audio = audio_plan or plan_audio_streams(source_audio, direct_container, controller)
command = [
str(FFMPEG),
"-hide_banner",
@@ -357,10 +393,7 @@ def start_encoder(
*( ["-map_metadata", "1", "-map_chapters", "1"] if include_source_metadata else ["-map_metadata", "-1", "-map_chapters", "-1"] ),
*( ["-vf", video_filter] if video_filter else [] ),
*codec_args,
- "-c:a",
- "aac",
- "-b:a",
- "192k",
+ *selected_audio.encoder_args(),
"-fps_mode",
"passthrough",
*( ["-enc_time_base:v", "demux"] if preserve_timestamps else [] ),
diff --git a/src/core/ffmpeg/mux.py b/src/core/ffmpeg/mux.py
index 138ecb2..421a2af 100644
--- a/src/core/ffmpeg/mux.py
+++ b/src/core/ffmpeg/mux.py
@@ -11,6 +11,7 @@ from ..render_metadata import (
merge_render_note, record_embedding,
)
from ..paths import FFMPEG, FFPROBE
+from .audio import AudioPlan, plan_audio_streams
from .probe import _run_json
def _probe_rendered_duration(path: Path, controller: JobController | None = None) -> float:
@@ -98,15 +99,18 @@ def final_mux(
controller: JobController | None = None,
preserve_supported_subtitles: bool = False,
*, render_note: str | None = None, metadata_diagnostics: dict | None = None,
- source_time_origin: float | None = None,
+ source_time_origin: float | None = None, audio_diagnostics: dict | None = None,
) -> None:
check_cancelled(controller)
+ audio_plan = plan_audio_streams(source, container, controller)
+ if audio_diagnostics is not None:
+ audio_diagnostics["streams"] = audio_plan.diagnostics()
if render_note is None or container not in VIDEO_NOTE_FORMATS:
if render_note is not None:
record_embedding(metadata_diagnostics, "skipped", reason="unsupported_format")
elif metadata_diagnostics is not None and not metadata_diagnostics:
record_embedding(metadata_diagnostics, "not_requested")
- _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, source_time_origin=source_time_origin)
+ _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, audio_plan, source_time_origin=source_time_origin)
return
try:
@@ -119,12 +123,12 @@ def final_mux(
except (ValueError, TypeError, RuntimeError) as exc:
check_cancelled(controller)
embedding_warning(metadata_diagnostics, exc)
- _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, source_time_origin=source_time_origin)
+ _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, audio_plan, source_time_origin=source_time_origin)
return
try:
_final_mux_once(temp_video, source, output, container, controller,
- preserve_supported_subtitles, comment=comment, source_time_origin=source_time_origin)
+ preserve_supported_subtitles, audio_plan, comment=comment, source_time_origin=source_time_origin)
except Cancelled:
raise
except (ValueError, RuntimeError) as exc:
@@ -134,7 +138,7 @@ def final_mux(
# A mux failure caused by optional metadata should not destroy the render.
# Retry once without the note because there is not yet a valid output.
embedding_warning(metadata_diagnostics, exc)
- _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, source_time_origin=source_time_origin)
+ _final_mux_once(temp_video, source, output, container, controller, preserve_supported_subtitles, audio_plan, source_time_origin=source_time_origin)
return
# Verification is deliberately read-only. If the optional settings note did
@@ -171,23 +175,20 @@ class _MuxFailure(RuntimeError):
def _final_mux_once(
temp_video: Path, source: Path, output: Path, container: str,
- controller: JobController | None, preserve_supported_subtitles: bool,
+ controller: JobController | None, preserve_supported_subtitles: bool, audio_plan: AudioPlan,
*, comment: str | None = None, source_time_origin: float | None = None,
) -> None:
check_cancelled(controller)
duration = _probe_rendered_duration(temp_video, controller)
if container == "MKV":
maps = ["-map", "0:v:0", "-map", "1:a?", "-map", "1:s?"]
- streams = ["-c:v", "copy", "-c:a", "copy", "-c:s", "copy"]
+ streams = ["-c:v", "copy", *audio_plan.encoder_args(), "-c:s", "copy"]
else:
maps = ["-map", "0:v:0", "-map", "1:a?"]
streams = [
"-c:v",
"copy",
- "-c:a",
- "aac",
- "-b:a",
- "192k",
+ *audio_plan.encoder_args(),
"-movflags",
"+faststart",
]
diff --git a/src/core/ffmpeg/probe.py b/src/core/ffmpeg/probe.py
index 01bf469..d034a34 100644
--- a/src/core/ffmpeg/probe.py
+++ b/src/core/ffmpeg/probe.py
@@ -85,16 +85,20 @@ def _sampled_packet_timeline_is_cfr(
) -> bool:
"""Reject VFR timelines that container-level average/nominal rates hide.
- Packet PTS values are sorted to remove codec reordering. Reading 128 packet
- headers is bounded and does not decode or transfer frame pixels.
+ Packet PTS values are sorted to remove codec reordering. Read past the
+ portion being tested: the final packets of a bounded B-frame sample can
+ contain a later PTS while an earlier PTS is still outside the sample.
"""
data = _run_json([
str(FFPROBE), "-v", "error", "-select_streams", "v:0",
- "-read_intervals", "%+#128", "-show_packets", "-show_entries",
+ "-read_intervals", "%+#160", "-show_packets", "-show_entries",
"packet=pts", "-of", "json", str(path),
], controller=controller)
- timestamps = sorted({int(packet["pts"]) for packet in data.get("packets") or []
+ packets = data.get("packets") or []
+ timestamps = sorted({int(packet["pts"]) for packet in packets
if packet.get("pts") not in {None, "N/A"}})
+ if len(packets) >= 160:
+ timestamps = timestamps[:-16]
deltas = [b - a for a, b in zip(timestamps, timestamps[1:]) if b > a]
if len(deltas) < 2:
return True
diff --git a/src/core/naming.py b/src/core/naming.py
index 7128653..6b4ca94 100644
--- a/src/core/naming.py
+++ b/src/core/naming.py
@@ -42,6 +42,20 @@ def output_filename(
return f"{stem}{extension}"
+def unique_output_path(path: Path, reserved: set[Path] | None = None) -> Path:
+ """Choose the first unused filename without replacing an existing file."""
+ path = Path(path)
+ reserved = reserved if reserved is not None else set()
+ if not path.exists() and path not in reserved:
+ return path
+ number = 2
+ while True:
+ candidate = path.with_name(f"{path.stem}_{number}{path.suffix}")
+ if not candidate.exists() and candidate not in reserved:
+ return candidate
+ number += 1
+
+
def require_available_output(path: Path) -> None:
if path.exists():
raise FileExistsError(
diff --git a/src/core/neural_bridge.py b/src/core/neural_bridge.py
index f3da295..51cd639 100644
--- a/src/core/neural_bridge.py
+++ b/src/core/neural_bridge.py
@@ -635,6 +635,12 @@ class NeuralBridgeManager:
def version(self) -> str:
return self._version
+ def preload(self) -> str:
+ """Load and validate the bridge DLL without binding an adapter."""
+ with self._lock:
+ self._load()
+ return self._version
+
@property
def gpu_name(self) -> str:
return self._gpu_name
diff --git a/src/core/render_metadata.py b/src/core/render_metadata.py
index b1471b1..94a671b 100644
--- a/src/core/render_metadata.py
+++ b/src/core/render_metadata.py
@@ -21,7 +21,7 @@ _LABELS = (
"GPU Memory Path", "Scale",
)
_NUMBER = r"-?\d+(?:\.\d+)?(?:e[+-]?\d+)?"
-_SCALE_VALUE = r"(?:Source|200%|175%|150%|125%|75%|50%|25%)"
+_SCALE_VALUE = r"(?:Source(?: \(Original\))?|200%|175%|150%|125%|75%|50%|25%)"
_VALUES = (
r"(?:Default|Natural|Cinematic)",
_NUMBER, r"[1-4]", _NUMBER, _NUMBER,
diff --git a/src/core/runtime.py b/src/core/runtime.py
index 4a9936b..3e78a25 100644
--- a/src/core/runtime.py
+++ b/src/core/runtime.py
@@ -33,9 +33,11 @@ from .paths import (
DLSSNR_BRIDGE,
DLSSNR_CALLER_SHIM,
DLSSNR_DIR,
+ DLSSG_DIR,
FFMPEG,
FFPROBE,
NEURAL_RUNTIME,
+ RUNTIME,
)
@@ -1015,7 +1017,9 @@ def _warm_mapping(path: Path) -> mmap.mmap | None:
with path.open("rb") as stream:
mapping = mmap.mmap(stream.fileno(), 0, access=mmap.ACCESS_READ)
checksum = 0
- for offset in range(0, len(mapping), 64 * 1024):
+ # Touch every OS page so the complete installed runtime is resident in the
+ # file cache before the window is shown, rather than faulting pages later.
+ for offset in range(0, len(mapping), mmap.PAGESIZE):
checksum ^= mapping[offset]
checksum ^= mapping[-1]
del checksum
@@ -1039,6 +1043,7 @@ def _encoder_inventory() -> dict[str, bool]:
"hevc_nvenc": "hevc_nvenc" in output,
"av1_nvenc": "av1_nvenc" in output,
"prores_ks": "prores_ks" in output,
+ "ffv1": "ffv1" in output,
}
@@ -1050,27 +1055,46 @@ def prepare_runtime() -> PreparedRuntime:
if _PREPARED is not None:
return _PREPARED
validate_runtime_files()
+ BRIDGE_MANAGER.preload()
gpus = detect_gpus()
runtime_bundle = inspect_runtime_bundle()
gpu = resolve_runtime_ai_gpu(gpus, runtime_bundle)
inventory = _encoder_inventory()
- paths = (DLSSNR_BRIDGE, DLSSNR_CALLER_SHIM, NEURAL_RUNTIME, FFMPEG, FFPROBE)
+ required_paths = (DLSSNR_BRIDGE, DLSSNR_CALLER_SHIM, NEURAL_RUNTIME, FFMPEG, FFPROBE)
+ optional_paths = (
+ DLSSG_DIR / "neuroframe_engine_frame_interpolation.dll",
+ DLSSG_DIR / "nvngx_dlssg.dll",
+ RUNTIME / "rtx_video" / "neuroframe_engine_upscaling.dll",
+ RUNTIME / "rtx_video" / "nvngx_vsr.dll",
+ RUNTIME / "rtx_video" / "nvngx_truehdr.dll",
+ )
mappings: list[mmap.mmap] = []
+ warmed_paths: list[Path] = []
try:
- for path in paths:
+ for path in required_paths:
mapping = _warm_mapping(path)
if mapping is not None:
mappings.append(mapping)
+ warmed_paths.append(path)
except Exception:
for mapping in mappings:
mapping.close()
raise
+ for path in optional_paths:
+ try:
+ mapping = _warm_mapping(path)
+ if mapping is not None:
+ mappings.append(mapping)
+ warmed_paths.append(path)
+ except Exception:
+ # A damaged optional feature must not disable Neural Rendering.
+ continue
_PREPARED = PreparedRuntime(
gpu=dict(gpu),
gpus=tuple(dict(device) for device in gpus),
runtime_bundle=runtime_bundle,
encoder_inventory=inventory,
- warmed_files=tuple(str(path.resolve()) for path in paths),
+ warmed_files=tuple(str(path.resolve()) for path in warmed_paths),
_mappings=mappings,
)
return _PREPARED
diff --git a/src/desktop/app.py b/src/desktop/app.py
index cb7d9de..64dcfc3 100644
--- a/src/desktop/app.py
+++ b/src/desktop/app.py
@@ -3,17 +3,19 @@ from __future__ import annotations
import ctypes
import os
import sys
+import time
from pathlib import Path
-from PySide6.QtCore import QTimer, QUrl, Qt
+from PySide6.QtCore import QUrl, Qt
from PySide6.QtGui import QGuiApplication, QIcon
from PySide6.QtQml import QQmlApplicationEngine
from ..core.paths import ROOT, OUTPUTS, LOGS, LIVE_DIR
from ..core.cache_cleanup import cleanup_old_caches
-from .image_provider import PreviewImageProvider
+from ..core import app_log
+from .image_provider import IconImageProvider, PreviewImageProvider
from .bridge import AppBridge
-from .win_frameless import install_win_chrome, ensure_win_style, log_native_chrome
+from .win_frameless import install_win_chrome, remove_win_chrome, ensure_win_style, log_native_chrome
def hide_inherited_console() -> None:
@@ -264,14 +266,19 @@ def stamp_taskbar_relaunch(hwnd: int) -> bool:
def launch_desktop() -> int:
- """Launch the Qt shell immediately, then initialize heavyweight runtimes."""
+ """Prepare runtime and the first Qt frame before revealing the window."""
+ started = time.perf_counter()
+
+ def mark(stage: str) -> None:
+ app_log.info("startup", f"{stage}_ms={(time.perf_counter() - started) * 1000:.1f}")
+
hide_inherited_console()
OUTPUTS.mkdir(exist_ok=True)
LOGS.mkdir(exist_ok=True)
LIVE_DIR.mkdir(exist_ok=True)
# Startup sweep of stale temp caches (24h+ old): crash orphans, old
# staged pastes and previews. Queues are in-memory per session, so no
- # live references can exist yet. Never blocks startup.
+ # live references can exist yet. Finish the sweep before showing the UI.
try:
cleanup_old_caches()
except Exception:
@@ -288,6 +295,7 @@ def launch_desktop() -> int:
app.setApplicationName("Visual Enhancer")
app.setApplicationDisplayName("Visual Enhancer")
app.setOrganizationName("Merserk")
+ icon_path = None
try:
icon_path = resolve_app_icon()
if icon_path is not None:
@@ -295,25 +303,32 @@ def launch_desktop() -> int:
except Exception:
pass
- engine = QQmlApplicationEngine()
image_provider = PreviewImageProvider()
- engine.addImageProvider("preview", image_provider)
-
bridge = AppBridge(image_provider)
app.aboutToQuit.connect(bridge.shutdown)
+ bridge.initializeRuntime()
+ mark("runtime_ready" if bridge.runtimeState == "Ready" else "runtime_failed")
+
+ engine = QQmlApplicationEngine()
+ engine.addImageProvider("preview", image_provider)
+ engine.addImageProvider("icons", IconImageProvider())
engine.rootContext().setContextProperty("backend", bridge)
qml_path = Path(__file__).resolve().parent / "qml" / "Main.qml"
engine.load(QUrl.fromLocalFile(str(qml_path)))
+ mark("qml_loaded")
if not engine.rootObjects():
try:
if sys.stderr is not None:
print("Error: Failed to load QML root object.", file=sys.stderr)
except Exception:
pass
+ bridge.shutdown()
+ del engine
return 1
root_window = engine.rootObjects()[0]
+ root_window.create()
# Brand the live taskbar button (name + VE icon + launcher relaunch) and
# pin the window icon explicitly so pythonw.exe art never leaks through.
try:
@@ -333,31 +348,55 @@ def launch_desktop() -> int:
bridge.attachMainWindow(root_window)
except Exception:
pass
- # Show windowed; the QML shell applies the saved maximized state itself.
+ # Qt Quick can build its first scene graph while the native window remains
+ # hidden. Keep the resulting graphics resources for the visible frame.
try:
- root_window.show()
- except Exception:
- pass
- # Qt re-applies its own window flags at show(), silently stripping the
- # native frame bits install_win_chrome added pre-show. Re-assert now and
- # once more deferred past QML's onCompleted showMaximized/showNormal.
- def _reaffirm_chrome_style() -> None:
- try:
- ensure_win_style(int(root_window.winId()))
- except Exception:
- pass
-
+ app.processEvents()
+ frame = root_window.grabWindow()
+ if frame.isNull():
+ app_log.error("startup", "hidden Qt frame was empty")
+ del frame
+ except Exception as exc:
+ app_log.error("startup", f"hidden Qt frame failed: {exc}")
+ mark("hidden_frame")
+
+ first_frame_logged = False
+
+ def on_first_frame() -> None:
+ nonlocal first_frame_logged
+ if not first_frame_logged:
+ first_frame_logged = True
+ mark("first_visible_frame")
+
+ root_window.frameSwapped.connect(on_first_frame)
+
+ if bridge.windowMaximized:
+ root_window.showMaximized()
+ else:
+ root_window.showNormal()
+ mark("window_shown")
+
+ # Qt re-applies window flags when shown, so restore native chrome once.
try:
ensure_win_style(int(root_window.winId()))
except Exception:
pass
- QTimer.singleShot(250, _reaffirm_chrome_style)
try:
apply_windows_dark_titlebar(int(root_window.winId()))
except Exception:
pass
- # Heavy GPU/media initialization deliberately begins only after the first
- # event-loop turn so the window can paint an Initialization/Diagnostics UI.
- QTimer.singleShot(0, bridge.initializeRuntime)
- return app.exec()
+ try:
+ return app.exec()
+ finally:
+ # aboutToQuit normally runs this first. Keep the fallback for exits
+ # that bypass the signal, then dismantle QML and the native event
+ # filter while the application object is still alive.
+ try:
+ bridge.shutdown()
+ finally:
+ try:
+ remove_win_chrome(root_window)
+ finally:
+ del root_window
+ del engine
diff --git a/src/desktop/bridge.py b/src/desktop/bridge.py
index b0fccea..977d4ae 100644
--- a/src/desktop/bridge.py
+++ b/src/desktop/bridge.py
@@ -8,6 +8,7 @@ import time
import platform
import math
import hashlib
+import importlib
import shutil
import tempfile
import urllib.parse
@@ -20,15 +21,16 @@ from PySide6.QtCore import QObject, QThreadPool, QTimer, QUrl, Signal, Slot, Pro
from PySide6.QtGui import QGuiApplication, QImage, QPixmap
from ..core.paths import CONFIG_PATH, OUTPUTS, LOGS, FFMPEG, FFPROBE, MPV, APP_TEMP
-from ..core.disk_paths import supported_file as _is_supported_media_file
+from ..core.disk_paths import prepare_output_dir, supported_file as _is_supported_media_file
from ..core.cache_cleanup import cleanup_old_caches
from ..core import app_log
from ..core.runtime import prepare_runtime, NR_STYLES, UPSCALING_MODES, resolve_upscaling_mode, resolve_output_size
-from ..core.ffmpeg import CODEC_CHOICES, ENCODING_QUALITIES, container_for_codec, hdr_mode_supported, probe_video
-from ..core.naming import RENAME_MODES
+from ..core.ffmpeg import CODEC_CHOICES, ENCODING_QUALITIES, FIXED_QUALITY_CODECS, container_for_codec, hdr_mode_supported, probe_video
+from ..core.naming import RENAME_MODES, validate_rename
from ..core.nr_composition import inspect_nr_mask, mask_status
from ..settings.models import (
- CONTAINER_CHOICES, DEFAULT_SETTINGS, PREVIEW_ENCODING_CHOICES, UPSCALE_MODE_CHOICES, UISettings,
+ CONTAINER_CHOICES, DEFAULT_SETTINGS, PREVIEW_ENCODING_CHOICES, UPSCALE_MODE_CHOICES,
+ UPSCALE_PREVIEW_LENGTH_CHOICES, UISettings,
automatic_mask_choice, coerce_hdr_mode, live_effect_options, parse_automatic_mask, _validate,
)
from ..settings.storage import SETTINGS_STATE, load_settings, save_settings
@@ -47,7 +49,7 @@ from .state import (
from ..neural_rendering.image.batch import convert_images
from ..neural_rendering.image.preview import render_image_preview
from ..neural_rendering.image.models import ImageConversionOptions, RAW_EXTENSIONS, IMAGE_EXTENSIONS
-from ..neural_rendering.image.decoder import decode_image_preview, full_size_image_preview_path, initialize_image_runtime
+from ..neural_rendering.image.decoder import decode_image_preview, initialize_image_runtime
from ..neural_rendering.video.batch import convert_videos
from ..neural_rendering.video.preview import process_video_preview
@@ -146,7 +148,7 @@ class AppBridge(QObject):
"frame_interpolation_hdr_mode", "preview_encoding",
}
# Cap stored ranges per context so repeated previews can't grow state.
- FI_RANGE_LIMIT = 32
+ PREVIEW_RANGE_LIMIT = 32
# Settings that materially change the visual result shown in the preview.
# Changes to these fields are debounced and automatically re-render the
@@ -161,7 +163,7 @@ class AppBridge(QObject):
"face_skin_protection", "grain_preservation",
"shimmer_suppression", "mask_feather", "nr_mask",
"upscaling_factor",
- "preview_encoding", "full_size_image_previews",
+ "preview_encoding",
"upscale_image_vsr_quality", "upscale_image_size_mode",
"upscale_image_scale_factor", "upscale_image_width",
"upscale_image_height", "upscale_image_aspect_lock",
@@ -177,6 +179,16 @@ class AppBridge(QObject):
"frame_interpolation_hdr_mode",
"codec", "quality", "hdr_mode",
}
+ UPSCALE_RANGE_FIELDS = {
+ "ai_gpu_uuid", "video_gpu_uuid", "preview_encoding",
+ "upscale_vsr_enabled", "upscale_vsr_quality",
+ "upscale_size_mode", "upscale_scale_factor",
+ "upscale_width", "upscale_height", "upscale_aspect_lock",
+ "upscale_hdr_enabled", "upscale_hdr_contrast",
+ "upscale_hdr_saturation", "upscale_hdr_middle_gray",
+ "upscale_hdr_peak_luminance", "upscale_hdr_precision",
+ "upscale_codec", "upscale_quality",
+ }
# UI State Signals
activeTabChanged = Signal()
@@ -202,6 +214,7 @@ class AppBridge(QObject):
layoutChanged = Signal()
sourceSizeChanged = Signal()
outputSizeChanged = Signal()
+ batchExportRequested = Signal(str)
# Settings Signals
settingsUpdated = Signal()
@@ -301,11 +314,11 @@ class AppBridge(QObject):
self._sweep_timer.timeout.connect(self._sweep_temp_caches)
self._sweep_timer.start()
- # Runtime starts in a lightweight bootstrap state. ``initializeRuntime``
- # populates this asynchronously after the QML window is already visible.
+ # The launch path prepares the runtime before loading the QML window.
self._prepared = None
self._runtime_state = "Initializing"
self._runtime_error = ""
+ self._startup_warnings: list[str] = []
# Persistent desktop layout is deliberately separate from render presets.
# Renamed in v10: "DLSS 5 Visual Enhancer" -> "Visual Enhancer".
@@ -432,10 +445,18 @@ class AppBridge(QObject):
return 3.0
return length if (length and math.isfinite(length) and length > 0) else 3.0
- def _add_fi_rendered_range(self, context_key: str, start_seconds: float, media_path: str,
- length_seconds: float = 3.0) -> None:
- """Record one FI preview span for the green timeline overlay."""
- if context_key != "fi-video":
+ def _upscale_preview_length_seconds(self) -> float:
+ """Return the selected manual Upscale preview clip length."""
+ selected = self._settings.upscale_preview_length
+ try:
+ return float(selected) if selected in PREVIEW_LENGTH_CHOICES else 3.0
+ except (TypeError, ValueError):
+ return 3.0
+
+ def _add_rendered_range(self, context_key: str, start_seconds: float, media_path: str,
+ length_seconds: float) -> None:
+ """Record a rendered video preview span for the green timeline overlay."""
+ if context_key not in {"fi-video", "upscale-video"}:
return
ctx = self._contexts.get(context_key)
if ctx is None:
@@ -470,19 +491,21 @@ class AppBridge(QObject):
# Newest last; drop the oldest beyond the cap. Overlapping spans are
# kept as separate entries so each keeps its own clip; they merge
# visually by overdraw and playback prefers the newest match.
- if len(ranges) > int(self.FI_RANGE_LIMIT):
- ranges = ranges[-int(self.FI_RANGE_LIMIT):]
+ if len(ranges) > int(self.PREVIEW_RANGE_LIMIT):
+ ranges = ranges[-int(self.PREVIEW_RANGE_LIMIT):]
ctx.rendered_ranges = ranges
if context_key == self._context_key():
self.previewRangesChanged.emit()
- def _clear_fi_rendered_ranges(self, emit: bool = True) -> None:
- """Drop FI pre-rendered spans (source/settings changed)."""
- ctx = self._contexts.get("fi-video")
+ def _clear_rendered_ranges(self, context_key: str, emit: bool = True) -> None:
+ """Drop spans rendered with stale settings or replaced by a frame preview."""
+ ctx = self._contexts.get(context_key)
if ctx is None:
return
+ if not ctx.rendered_ranges:
+ return
ctx.rendered_ranges = []
- if emit and self._context_key() == "fi-video":
+ if emit and self._context_key() == context_key:
self.previewRangesChanged.emit()
# =========================================================================
@@ -540,6 +563,15 @@ class AppBridge(QObject):
self._emit_context()
self._schedule_auto_preview(180)
+ @Property(str, notify=settingsUpdated)
+ def upscalePreviewLength(self) -> str:
+ return self._settings.upscale_preview_length
+
+ @upscalePreviewLength.setter
+ def upscalePreviewLength(self, value: str) -> None:
+ if str(value) in UPSCALE_PREVIEW_LENGTH_CHOICES:
+ self._save_setting(upscale_preview_length=str(value))
+
@Property(bool, notify=isProcessingChanged)
def isProcessing(self) -> bool:
return self._is_processing
@@ -589,12 +621,11 @@ class AppBridge(QObject):
@Property(list, notify=previewRangesChanged)
def previewRenderedRanges(self) -> list[dict]:
- """FI pre-rendered timeline spans, newest last.
+ """Rendered timeline spans for FI and timed Upscale previews, newest last.
Each entry is {"start": seconds, "end": seconds, "url": clip URL}.
- Empty for every context except fi-video. The timeline paints them
- green; playback shows the processed clip inside a span and the
- original source outside of all spans.
+ Empty for frame and image previews. The timeline paints spans green;
+ playback shows the processed clip inside and the source outside.
"""
try:
ranges = getattr(self._context(), "rendered_ranges", None) or []
@@ -734,6 +765,10 @@ class AppBridge(QObject):
def runtimeError(self) -> str:
return self._runtime_error
+ @Property(str, notify=runtimeStateChanged)
+ def startupWarnings(self) -> str:
+ return "\n".join(self._startup_warnings)
+
@Property(int, notify=sourceSizeChanged)
def sourceWidth(self) -> int:
return self._context().source_width
@@ -826,13 +861,13 @@ class AppBridge(QObject):
def _auto_preview_fingerprint(self, context_key: str | None = None) -> tuple:
"""Snapshot what the current output preview was rendered from.
- Returns ``(selected source, full settings snapshot)`` for the given
+ Returns ``(selected source, relevant settings snapshot)`` for the given
context. Compared against ``PreviewState.last_auto_fingerprint`` to
decide whether a scheduled auto-preview is redundant (e.g. returning
- to a tab with unchanged settings). The full settings snapshot —
- rather than per-tab subsets — keeps shared fields edited on another
- tab (AI/video GPU, preview encoding) correctly marking this context
- stale. Never raises; falls back to ``()`` (stale) on any error.
+ to a tab with unchanged settings). Shared fields edited on another
+ tab (AI/video GPU, preview encoding) still mark this context stale.
+ Upscale's manual clip duration is excluded because it does not alter
+ already rendered footage. Returns ``()`` on error.
"""
try:
key = context_key or self._context_key()
@@ -842,6 +877,7 @@ class AppBridge(QObject):
snapshot = tuple(
getattr(self._settings, field.name, None)
for field in _dataclass_fields(self._settings)
+ if not (key == "upscale-video" and field.name == "upscale_preview_length")
)
except Exception:
snapshot = ()
@@ -1048,6 +1084,7 @@ class AppBridge(QObject):
]
if self._runtime_error:
lines.append(f"Runtime error: {self._runtime_error}")
+ lines.extend(f"Startup warning: {warning}" for warning in self._startup_warnings)
return "\n".join(lines)
@Property(list, constant=True)
@@ -1070,6 +1107,10 @@ class AppBridge(QObject):
def codecChoices(self) -> list[str]:
return list(CODEC_CHOICES)
+ @Property(list, constant=True)
+ def fixedQualityCodecs(self) -> list[str]:
+ return sorted(FIXED_QUALITY_CODECS)
+
@Property(list, constant=True)
def encodingQualityChoices(self) -> list[str]:
return list(ENCODING_QUALITIES)
@@ -1090,6 +1131,10 @@ class AppBridge(QObject):
def fiPreviewLengthChoices(self) -> list[dict[str, str]]:
return [{"label": f"{v}s", "value": v} for v in PREVIEW_LENGTH_CHOICES]
+ @Property(list, constant=True)
+ def upscalePreviewLengthChoices(self) -> list[dict[str, str]]:
+ return [{"label": f"{value}s", "value": value} for value in PREVIEW_LENGTH_CHOICES]
+
@Property(list, constant=True)
def previewEncodingChoices(self) -> list[str]:
return list(PREVIEW_ENCODING_CHOICES)
@@ -1155,38 +1200,21 @@ class AppBridge(QObject):
@Slot()
def initializeRuntime(self) -> None:
- if self._runtime_state == "Ready" or getattr(self, "_runtime_worker", None) is not None:
+ """Prepare all input-independent backends before the first QML frame."""
+ if self._runtime_state != "Initializing":
return
- self._runtime_state = "Initializing"
- self._runtime_error = ""
- self.runtimeStateChanged.emit()
- self._status_message = "Initializing NVIDIA runtime and media backends…"
- self.statusMessageChanged.emit()
- def task() -> Any:
+ try:
sweep_stale_live_dirs()
- initialize_image_runtime()
- return prepare_runtime()
-
- worker = JobWorker(task, inject_callbacks=False)
- self._runtime_worker = worker
+ except Exception as exc:
+ self._startup_warnings.append(f"Live cache cleanup: {exc}")
- def done(prepared: Any) -> None:
- self._runtime_worker = None
- self._prepared = prepared
- self._runtime_state = "Ready"
- self._runtime_error = ""
+ try:
+ initialize_image_runtime()
+ self._prepared = prepare_runtime()
self._normalize_gpu_selections()
- self.runtimeStateChanged.emit()
- self.gpuChoicesChanged.emit()
- self.operationStateChanged.emit()
- self._status_message = "Ready."
- self.statusMessageChanged.emit()
- self._log(f"Runtime ready on {self.gpuName}.")
- self._schedule_auto_preview(180)
-
- def failed(message: str) -> None:
- self._runtime_worker = None
+ except Exception as exc:
+ message = str(exc)
self._runtime_state = "Failed"
self._runtime_error = message
self.runtimeStateChanged.emit()
@@ -1194,10 +1222,31 @@ class AppBridge(QObject):
self._status_message = f"Runtime initialization failed: {message}"
self.statusMessageChanged.emit()
self._log(self._status_message)
+ app_log.error("startup", self._status_message)
+ return
- worker.signals.finished.connect(done)
- worker.signals.failed.connect(failed)
- self._thread_pool.start(worker)
+ # Load optional native bridges without selecting an adapter. Their
+ # absence must not prevent the other rendering modes from opening.
+ for name, module_name in (
+ ("Frame Interpolation", "..frame_interpolation.native"),
+ ("RTX Video Upscale", "..upscale.video.native"),
+ ):
+ try:
+ importlib.import_module(module_name, __package__).preload_bridge()
+ except Exception as exc:
+ self._startup_warnings.append(f"{name}: {exc}")
+
+ self._runtime_state = "Ready"
+ self._runtime_error = ""
+ self._status_message = "Ready."
+ self.runtimeStateChanged.emit()
+ self.gpuChoicesChanged.emit()
+ self.operationStateChanged.emit()
+ self.statusMessageChanged.emit()
+ self._log(f"Runtime ready on {self.gpuName}.")
+ for warning in self._startup_warnings:
+ self._log(f"Startup warning: {warning}")
+ app_log.error("startup", warning)
def _normalize_gpu_selections(self) -> None:
if self._prepared is None:
@@ -1281,9 +1330,11 @@ class AppBridge(QObject):
self.operationStateChanged.emit()
self._save_timer.start()
if any(field in self.FI_RANGE_FIELDS for field in changed):
- # Rendered FI spans were built with older settings: drop them so
- # the green overlay never claims stale footage as processed.
- self._clear_fi_rendered_ranges()
+ # These spans were built with older settings: drop them so the
+ # green overlay never claims stale footage as processed.
+ self._clear_rendered_ranges("fi-video")
+ if any(field in self.UPSCALE_RANGE_FIELDS for field in changed):
+ self._clear_rendered_ranges("upscale-video")
if any(field in self.AUTO_PREVIEW_FIELDS for field in changed):
self._schedule_auto_preview()
return True
@@ -1995,14 +2046,6 @@ class AppBridge(QObject):
def previewEncoding(self, val: str) -> None:
self._save_setting(preview_encoding=val)
- @Property(bool, notify=settingsUpdated)
- def fullSizeImagePreviews(self) -> bool:
- return self._settings.full_size_image_previews
-
- @fullSizeImagePreviews.setter
- def fullSizeImagePreviews(self, val: bool) -> None:
- self._save_setting(full_size_image_previews=bool(val))
-
def _active_render_configuration_valid(self) -> bool:
try:
_validate(self._settings)
@@ -2079,6 +2122,8 @@ class AppBridge(QObject):
return
self._settings = DEFAULT_SETTINGS
SETTINGS_STATE.current = self._settings
+ self._clear_rendered_ranges("fi-video")
+ self._clear_rendered_ranges("upscale-video")
if self._upscale_mode != DEFAULT_SETTINGS.upscale_mode:
self._upscale_mode = DEFAULT_SETTINGS.upscale_mode
self.upscaleModeChanged.emit()
@@ -2468,6 +2513,7 @@ class AppBridge(QObject):
except Exception:
pass
+ @Slot(int)
def selectQueueItem(self, row: int) -> None:
if self._operation_state != IDLE:
self._status_message = "Selection changes are disabled while an operation is active."
@@ -2619,6 +2665,13 @@ class AppBridge(QObject):
@staticmethod
def _image_dimensions(preview: Any) -> tuple[int, int]:
+ if isinstance(preview, (str, Path)):
+ try:
+ from PIL import Image as _PILImage
+ with _PILImage.open(preview) as image:
+ return int(image.width), int(image.height)
+ except (OSError, ValueError, TypeError):
+ return 0, 0
width = getattr(preview, "width", 0)
height = getattr(preview, "height", 0)
if callable(width):
@@ -2666,7 +2719,6 @@ class AppBridge(QObject):
pass
operation_id = self._set_operation(LOADING_METADATA, "Loading media…")
- full_size = self._settings.full_size_image_previews
accepts_images = context_key in {"nr-image", "upscale-image"}
def task(controller=None, progress=None) -> dict[str, Any]:
@@ -2675,8 +2727,7 @@ class AppBridge(QObject):
if accepts_images and is_image:
if progress:
progress(0.15, "Decoding image preview…")
- max_size = None if full_size else (1920, 1080)
- preview = decode_image_preview(str(path), max_size)
+ preview = decode_image_preview(str(path))
width, height = self._image_dimensions(preview)
return {"kind": "image", "preview": preview, "width": width, "height": height}
if progress:
@@ -2789,20 +2840,78 @@ class AppBridge(QObject):
# =========================================================================
@Slot()
def startActiveBatch(self) -> None:
+ """Compatibility entry point for batch actions; show export choices first."""
+ self.requestActiveBatchExport()
+
+ @Slot(result=bool)
+ def requestActiveBatchExport(self) -> bool:
+ context_key = self._context_key()
+ if context_key not in {"nr-image", "nr-video", "upscale-image", "upscale-video", "fi-video"} or self._active_tab not in {"neural-rendering", "upscale", "frame-interpolation"}:
+ self._status_message = "Select a batch processing tab before exporting."
+ elif self._operation_state != IDLE or self._runtime_state != "Ready" or self._is_live_running:
+ self._status_message = "Stop the current operation before starting a batch."
+ elif not self._active_queue().get_paths():
+ self._status_message = "No files in queue to process."
+ else:
+ self.batchExportRequested.emit(context_key)
+ return True
+ self.statusMessageChanged.emit()
+ return False
+
+ @Slot(str, str, str, str, str, result=str)
+ def startActiveBatchWithExport(self, context_key: str, destination_mode: str,
+ folder_url_or_path: str, rename_mode: str,
+ custom_suffix: str) -> str:
+ """Validate the dialog's choices, then launch exactly one batch."""
+ if context_key != self._context_key() or self._active_tab not in {"neural-rendering", "upscale", "frame-interpolation"}:
+ return self._batch_export_error("The active workflow changed. Reopen Export Path.")
if self._operation_state != IDLE or self._runtime_state != "Ready" or self._is_live_running:
- self._status_message = "Another operation is active; stop it before starting a batch."
- self.statusMessageChanged.emit()
- return
+ return self._batch_export_error("Another operation is active; stop it before starting a batch.")
queue = self._active_queue()
paths = list(queue.get_paths())
if not paths:
- self._status_message = "No files in queue to process."
- self.statusMessageChanged.emit()
- return
- if not self._active_render_configuration_valid():
- self._status_message = f"Cannot render: {self.renderValidationMessage}"
- self.statusMessageChanged.emit()
- return
+ return self._batch_export_error("No files in queue to process.")
+ rename_fields = {
+ "nr-image": ("image_rename_mode", "image_custom_suffix"),
+ "nr-video": ("video_rename_mode", "video_custom_suffix"),
+ "upscale-image": ("upscale_image_rename_mode", "upscale_image_custom_suffix"),
+ "upscale-video": ("upscale_rename_mode", "upscale_custom_suffix"),
+ "fi-video": ("frame_interpolation_rename_mode", "frame_interpolation_custom_suffix"),
+ }
+ if context_key not in rename_fields:
+ return self._batch_export_error("This workspace does not support batch rendering.")
+ try:
+ validate_rename(rename_mode, custom_suffix)
+ mode_field, suffix_field = rename_fields[context_key]
+ candidate = _validate(replace(self._settings, **{
+ mode_field: rename_mode, suffix_field: custom_suffix,
+ }))
+ if context_key == "upscale-image":
+ image_upscale_options_from_settings(candidate).validate(for_render=True)
+ elif context_key == "upscale-video":
+ video_upscale_options_from_settings(candidate).validate(for_render=True)
+
+ if destination_mode == "input":
+ for parent in {Path(path).resolve().parent for path in paths}:
+ prepare_output_dir(parent)
+ output_dir = None
+ same_as_input = True
+ elif destination_mode == "output":
+ output_dir = prepare_output_dir(OUTPUTS)
+ same_as_input = False
+ elif destination_mode == "folder":
+ folder = self._clean_path(folder_url_or_path)
+ if not folder or not Path(folder).is_dir():
+ raise ValueError("Choose an existing export folder.")
+ output_dir = prepare_output_dir(folder)
+ same_as_input = False
+ else:
+ raise ValueError("Choose an Export Path option.")
+ except Exception as exc:
+ return self._batch_export_error(str(exc))
+
+ if not self._save_setting(**{mode_field: rename_mode, suffix_field: custom_suffix}):
+ return self._batch_export_error(self._status_message)
self._flush_settings()
queue.reset_all_states()
@@ -2814,21 +2923,31 @@ class AppBridge(QObject):
try:
if context_key == "nr-image":
- worker = self._nr_image_batch_worker(paths, settings)
+ worker = self._nr_image_batch_worker(paths, settings, output_dir, same_as_input)
elif context_key == "nr-video":
- worker = self._nr_video_batch_worker(paths, settings)
+ worker = self._nr_video_batch_worker(paths, settings, output_dir, same_as_input)
elif context_key == "upscale-image":
- worker = self._upscale_image_batch_worker(paths, settings)
+ worker = self._upscale_image_batch_worker(paths, settings, output_dir, same_as_input)
elif context_key == "upscale-video":
- worker = self._upscale_video_batch_worker(paths, settings)
+ worker = self._upscale_video_batch_worker(paths, settings, output_dir, same_as_input)
elif context_key == "fi-video":
- worker = self._fi_batch_worker(paths, settings)
+ worker = self._fi_batch_worker(paths, settings, output_dir, same_as_input)
else:
raise RuntimeError("This workspace does not support batch rendering.")
except Exception as exc:
self._finish_operation(operation_id, f"Cannot start batch: {exc}")
- return
- self._setup_worker(worker, queue, operation_id, context_key)
+ return f"Cannot start batch: {exc}"
+ try:
+ self._setup_worker(worker, queue, operation_id, context_key)
+ except Exception as exc:
+ self._finish_operation(operation_id, f"Cannot start batch: {exc}")
+ return f"Cannot start batch: {exc}"
+ return ""
+
+ def _batch_export_error(self, message: str) -> str:
+ self._status_message = message
+ self.statusMessageChanged.emit()
+ return message
def _setup_worker(self, worker: JobWorker, queue: BatchListModel, operation_id: int, context_key: str) -> None:
self._active_worker = worker
@@ -2917,7 +3036,8 @@ class AppBridge(QObject):
if context_key == self._context_key():
self._emit_context()
- def _nr_image_batch_worker(self, paths: list[str], settings: UISettings) -> JobWorker:
+ def _nr_image_batch_worker(self, paths: list[str], settings: UISettings,
+ output_dir: Path | None, same_as_input: bool) -> JobWorker:
opts = ImageConversionOptions(
ai_gpu_uuid=settings.ai_gpu_uuid,
nr_style=settings.nr_style,
@@ -2939,9 +3059,11 @@ class AppBridge(QObject):
rename_mode=settings.image_rename_mode,
custom_suffix=settings.image_custom_suffix,
)
- return JobWorker(convert_images, paths, opts, output_dir=OUTPUTS, generate_previews=True, create_zip=False)
+ return JobWorker(convert_images, paths, opts, output_dir=output_dir,
+ generate_previews=True, create_zip=False, same_as_input=same_as_input)
- def _nr_video_batch_worker(self, paths: list[str], settings: UISettings) -> JobWorker:
+ def _nr_video_batch_worker(self, paths: list[str], settings: UISettings,
+ output_dir: Path | None, same_as_input: bool) -> JobWorker:
opts = ConversionOptions(
ai_gpu_uuid=settings.ai_gpu_uuid,
video_gpu_uuid=settings.video_gpu_uuid,
@@ -2967,19 +3089,25 @@ class AppBridge(QObject):
rename_mode=settings.video_rename_mode,
custom_suffix=settings.video_custom_suffix,
)
- return JobWorker(convert_videos, paths, opts, output_dir=OUTPUTS, create_archive=False)
+ return JobWorker(convert_videos, paths, opts, output_dir=output_dir,
+ create_archive=False, same_as_input=same_as_input)
- def _upscale_image_batch_worker(self, paths: list[str], settings: UISettings) -> JobWorker:
+ def _upscale_image_batch_worker(self, paths: list[str], settings: UISettings,
+ output_dir: Path | None, same_as_input: bool) -> JobWorker:
opts = image_upscale_options_from_settings(settings)
opts.validate(for_render=True)
- return JobWorker(upscale_images, paths, opts, output_dir=OUTPUTS, generate_previews=True)
+ return JobWorker(upscale_images, paths, opts, output_dir=output_dir,
+ generate_previews=True, same_as_input=same_as_input)
- def _upscale_video_batch_worker(self, paths: list[str], settings: UISettings) -> JobWorker:
+ def _upscale_video_batch_worker(self, paths: list[str], settings: UISettings,
+ output_dir: Path | None, same_as_input: bool) -> JobWorker:
opts = video_upscale_options_from_settings(settings)
opts.validate(for_render=True)
- return JobWorker(upscale_videos, paths, opts, output_dir=OUTPUTS)
+ return JobWorker(upscale_videos, paths, opts, output_dir=output_dir,
+ same_as_input=same_as_input)
- def _fi_batch_worker(self, paths: list[str], settings: UISettings) -> JobWorker:
+ def _fi_batch_worker(self, paths: list[str], settings: UISettings,
+ output_dir: Path | None, same_as_input: bool) -> JobWorker:
opts = FrameInterpolationOptions(
ai_gpu_uuid=settings.ai_gpu_uuid,
video_gpu_uuid=settings.video_gpu_uuid,
@@ -2992,7 +3120,8 @@ class AppBridge(QObject):
rename_mode=settings.frame_interpolation_rename_mode,
custom_suffix=settings.frame_interpolation_custom_suffix,
)
- return JobWorker(interpolate_videos, paths, opts, output_dir=OUTPUTS)
+ return JobWorker(interpolate_videos, paths, opts, output_dir=output_dir,
+ same_as_input=same_as_input)
@Slot()
def stopActiveBatch(self) -> None:
@@ -3089,10 +3218,19 @@ class AppBridge(QObject):
@Slot(float)
def renderPreviewAt(self, position_ms: float = 0.0) -> None:
- """Explicit Preview: enhance exactly the timeline playhead frame."""
+ """Explicit Preview: render the parked frame or selected Upscale clip."""
+ if self.canPreview:
+ # A pending realtime frame must not overwrite a manual clip as
+ # soon as it finishes (or erase its green timeline range).
+ self._auto_preview_pending = False
+ self._auto_preview_timer.stop()
+ self._scrub_pending_pos = None
+ self._scrub_preview_timer.stop()
start_seconds, frame_index = self._quantize_playhead(position_ms)
self.notePlayheadMs(position_ms)
- self._render_preview_impl(start_seconds, frame_index)
+ clip_seconds = (self._upscale_preview_length_seconds()
+ if self._context_key() == "upscale-video" else None)
+ self._render_preview_impl(start_seconds, frame_index, clip_seconds=clip_seconds)
@Slot(float)
def schedulePreviewAt(self, position_ms: float = 0.0) -> None:
@@ -3214,7 +3352,8 @@ class AppBridge(QObject):
worker.signals.failed.connect(failed)
self._thread_pool.start(worker)
- def _render_preview_impl(self, start_seconds: float = 0.0, frame_index: int = 1) -> None:
+ def _render_preview_impl(self, start_seconds: float = 0.0, frame_index: int = 1,
+ *, clip_seconds: float | None = None) -> None:
if not self.canPreview:
self._status_message = "Preview is unavailable while another operation is active."
self.statusMessageChanged.emit()
@@ -3293,7 +3432,6 @@ class AppBridge(QObject):
def task(controller=None, progress=None):
return render_image_preview(
source, opts, controller=controller, progress=progress,
- full_size_preview=settings.full_size_image_previews,
)
result_kind = "image"
elif context_key == "upscale-image":
@@ -3302,7 +3440,6 @@ class AppBridge(QObject):
def task(controller=None, progress=None):
return preview_upscale_image(
source, opts, controller=controller, progress=progress,
- full_size_preview=settings.full_size_image_previews,
)
result_kind = "image"
elif context_key == "nr-video":
@@ -3343,10 +3480,11 @@ class AppBridge(QObject):
opts.validate(for_render=True)
def task(controller=None, progress=None):
return preview_upscale_native(
- source, opts, one_frame=True, progress=progress,
+ source, opts, one_frame=clip_seconds is None, progress=progress,
controller=controller, output_dir=self._preview_cache,
preview_encoding=settings.preview_encoding,
start_seconds=start_seconds, frame_index=frame_index,
+ preview_seconds=clip_seconds,
)
result_kind = "video"
elif context_key == "fi-video":
@@ -3421,10 +3559,15 @@ class AppBridge(QObject):
except (TypeError, ValueError):
ctx.preview_source_frame = 0
if context_key == "fi-video":
- # Successful preview render: paint its span green on
- # the FI timeline (clamped to the source duration).
- self._add_fi_rendered_range(context_key, start_seconds, str(media),
- self._fi_preview_length_seconds())
+ # Successful clip: paint its span green, clamped to
+ # the source duration.
+ self._add_rendered_range(context_key, start_seconds, str(media),
+ self._fi_preview_length_seconds())
+ elif context_key == "upscale-video":
+ if clip_seconds is not None:
+ self._add_rendered_range(context_key, start_seconds, str(media), clip_seconds)
+ else:
+ self._clear_rendered_ranges(context_key)
if start_seconds > 0.05 and _total > 0:
ctx.output_info = f"Preview f{frame_index}/{_total} @ {start_seconds:.2f}s | {Path(str(media)).name}"
elif start_seconds > 0.05:
@@ -3760,10 +3903,12 @@ class AppBridge(QObject):
if self._shutting_down:
return
self._shutting_down = True
+ app_log.info("shutdown", "begin")
self._operation_state = SHUTTING_DOWN
self.operationStateChanged.emit()
self.isProcessingChanged.emit()
self._save_timer.stop()
+ self._sweep_timer.stop()
self._auto_preview_timer.stop()
self._auto_preview_pending = False
self._scrub_preview_timer.stop()
@@ -3779,21 +3924,24 @@ class AppBridge(QObject):
except Exception:
pass
self._live_timer.stop()
- try:
- self._thread_pool.waitForDone(5000)
- except Exception:
- pass
+ # Jobs own Qt signal objects and may still be inside native GPU code.
+ # A timed wait can return with a live QRunnable; destroying QML/Qt at
+ # that point leaves those objects and their callbacks without an owner.
+ if not self._thread_pool.waitForDone(5000):
+ app_log.info("shutdown", "workers still active after 5s; waiting for completion")
+ self._thread_pool.waitForDone()
# The start worker may have published a LiveSession while shutdown was
# waiting for workers. Stop after synchronization so no session escapes.
if is_live_running():
try:
- stop_live_session()
+ stop_live_session(timeout=None)
except Exception as exc:
self._log(f"Live shutdown warning: {exc}")
try:
self._mpv_embed.shutdown()
except Exception:
pass
+ self._main_window = None
try:
app_log.remove_listener(self._backend_log_listener)
except Exception:
@@ -3803,6 +3951,7 @@ class AppBridge(QObject):
shutil.rmtree(self._preview_cache, ignore_errors=True)
except OSError:
pass
+ app_log.info("shutdown", "complete")
# =========================================================================
# Helpers
diff --git a/src/desktop/image_provider.py b/src/desktop/image_provider.py
index 3ffb958..020304f 100644
--- a/src/desktop/image_provider.py
+++ b/src/desktop/image_provider.py
@@ -2,16 +2,68 @@ from __future__ import annotations
import threading
from collections import OrderedDict
+from functools import lru_cache
from pathlib import Path
from typing import Any
+import re
import numpy as np
from PIL import Image
-from PySide6.QtCore import QSize
-from PySide6.QtGui import QImage
+from PySide6.QtCore import QSize, Qt
+from PySide6.QtGui import QColor, QImage, QPainter
from PySide6.QtQuick import QQuickImageProvider
+class IconImageProvider(QQuickImageProvider):
+ """Tint the authored PNG alpha without a scene-graph shader effect."""
+
+ _sizes = frozenset((16, 20, 24, 32, 48, 64, 128, 256))
+ _name_pattern = re.compile(r"[a-z0-9_]+\Z")
+ _asset_root = Path(__file__).resolve().parent / "qml" / "assets" / "icons" / "png"
+
+ def __init__(self) -> None:
+ super().__init__(QQuickImageProvider.ImageType.Image)
+
+ @classmethod
+ @lru_cache(maxsize=512)
+ def _tinted(cls, px: int, name: str, color_hex: str) -> QImage:
+ if px not in cls._sizes or not cls._name_pattern.fullmatch(name):
+ return QImage()
+ color = QColor("#" + color_hex)
+ if not color.isValid():
+ return QImage()
+ path = cls._asset_root / str(px) / f"{name}.png"
+ image = QImage(str(path))
+ if image.isNull():
+ return image
+ image = image.convertToFormat(QImage.Format.Format_ARGB32_Premultiplied)
+ painter = QPainter(image)
+ painter.setCompositionMode(QPainter.CompositionMode.CompositionMode_SourceIn)
+ painter.fillRect(image.rect(), color)
+ painter.end()
+ return image
+
+ def requestImage(self, image_id: str, size: QSize, requested_size: QSize) -> QImage:
+ try:
+ px_str, name, color_hex = image_id.split("/", 2)
+ image = self._tinted(int(px_str), name, color_hex)
+ except (ValueError, TypeError):
+ image = QImage()
+ if image.isNull():
+ return image
+ size.setWidth(image.width())
+ size.setHeight(image.height())
+ if requested_size.isValid() and requested_size.width() > 0 and requested_size.height() > 0:
+ if requested_size == image.size():
+ return image
+ return image.scaled(
+ requested_size,
+ Qt.AspectRatioMode.IgnoreAspectRatio,
+ Qt.TransformationMode.SmoothTransformation,
+ )
+ return image
+
+
class PreviewImageProvider(QQuickImageProvider):
"""Thread-safe memory-backed QML image provider with bounded LRU storage."""
diff --git a/src/desktop/qml/Main.qml b/src/desktop/qml/Main.qml
index 73387ce..bf724e4 100644
--- a/src/desktop/qml/Main.qml
+++ b/src/desktop/qml/Main.qml
@@ -14,10 +14,7 @@ Window {
y: typeof backend !== "undefined" && backend && backend.windowY >= 0 ? Math.max(0, Math.min(Screen.height - height, backend.windowY)) : Math.max(0, (Screen.height - height) / 2)
minimumWidth: 1080
minimumHeight: 700
- // Start windowed; the saved maximized state is applied natively in
- // onCompleted (the OS filter supplies a real frame, so maximized fills
- // the work area with no transparent insets).
- visibility: Window.Windowed
+ // Python reveals the fully prepared window in its saved state.
flags: Qt.Window | Qt.FramelessWindowHint
title: "Visual Enhancer"
color: Theme.bgBase
@@ -33,16 +30,6 @@ Window {
property rect navTabsRect: Qt.rect(0, 0, 0, 0)
property bool chromeRectsReady: false
- Component.onCompleted: {
- // Native maximize is safe again: the OS filter supplies a real frame
- // behind the frameless visuals (exact work-area geometry, no
- // transparent insets). F11 toggles true fullscreen on demand.
- Qt.callLater(function() {
- if (typeof backend !== "undefined" && backend && backend.windowMaximized) appWindow.showMaximized()
- else appWindow.showNormal()
- })
- }
-
function saveWindowLayout() {
if (typeof backend !== "undefined" && backend)
backend.saveWindowLayout(appWindow.x, appWindow.y, appWindow.width, appWindow.height, appWindow.visibility === Window.Maximized)
@@ -201,6 +188,17 @@ Window {
}
}
+ ExportDialog {
+ id: exportDialog
+ appBridge: typeof backend !== "undefined" ? backend : null
+ }
+ Connections {
+ target: typeof backend !== "undefined" ? backend : null
+ function onBatchExportRequested(contextKey) {
+ exportDialog.openForContext(contextKey)
+ }
+ }
+
// QML resize hit zones (fallback where the native filter is inactive; on
// Windows the OS owns the frame edges). Disabled while maximized/fullscreen.
property bool qmlResizeActive: !(appWindow.nativeChromeActive === true && appWindow.chromeRectsReady === true) && appWindow.visibility !== Window.Maximized && appWindow.visibility !== Window.FullScreen
diff --git a/src/desktop/qml/assets/icons/png/128/actual_size.png b/src/desktop/qml/assets/icons/png/128/actual_size.png
new file mode 100644
index 0000000..3f212c8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/add_file.png b/src/desktop/qml/assets/icons/png/128/add_file.png
new file mode 100644
index 0000000..fc0d978
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/add_folder.png b/src/desktop/qml/assets/icons/png/128/add_folder.png
new file mode 100644
index 0000000..b6a523d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/audio_wave.png b/src/desktop/qml/assets/icons/png/128/audio_wave.png
new file mode 100644
index 0000000..d290716
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/before_after.png b/src/desktop/qml/assets/icons/png/128/before_after.png
new file mode 100644
index 0000000..2f2bab8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/browse_folder.png b/src/desktop/qml/assets/icons/png/128/browse_folder.png
new file mode 100644
index 0000000..45e4b45
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/brush.png b/src/desktop/qml/assets/icons/png/128/brush.png
new file mode 100644
index 0000000..3d55cb1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/check.png b/src/desktop/qml/assets/icons/png/128/check.png
new file mode 100644
index 0000000..ea1a6d4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/chevron_down.png b/src/desktop/qml/assets/icons/png/128/chevron_down.png
new file mode 100644
index 0000000..4732bd7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/chevron_left.png b/src/desktop/qml/assets/icons/png/128/chevron_left.png
new file mode 100644
index 0000000..250935a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/chevron_right.png b/src/desktop/qml/assets/icons/png/128/chevron_right.png
new file mode 100644
index 0000000..52209b0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/chevron_up.png b/src/desktop/qml/assets/icons/png/128/chevron_up.png
new file mode 100644
index 0000000..7a914b5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/clear_all.png b/src/desktop/qml/assets/icons/png/128/clear_all.png
new file mode 100644
index 0000000..11be6a2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/clear_done.png b/src/desktop/qml/assets/icons/png/128/clear_done.png
new file mode 100644
index 0000000..6018204
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/clear_mask.png b/src/desktop/qml/assets/icons/png/128/clear_mask.png
new file mode 100644
index 0000000..f319896
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/clipboard.png b/src/desktop/qml/assets/icons/png/128/clipboard.png
new file mode 100644
index 0000000..2a53ece
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/close.png b/src/desktop/qml/assets/icons/png/128/close.png
new file mode 100644
index 0000000..b7a52b3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/collapse.png b/src/desktop/qml/assets/icons/png/128/collapse.png
new file mode 100644
index 0000000..ac03ada
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/compare.png b/src/desktop/qml/assets/icons/png/128/compare.png
new file mode 100644
index 0000000..f394654
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/console.png b/src/desktop/qml/assets/icons/png/128/console.png
new file mode 100644
index 0000000..cbc02cb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/crop.png b/src/desktop/qml/assets/icons/png/128/crop.png
new file mode 100644
index 0000000..1277af0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/eraser.png b/src/desktop/qml/assets/icons/png/128/eraser.png
new file mode 100644
index 0000000..4add9a5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/error.png b/src/desktop/qml/assets/icons/png/128/error.png
new file mode 100644
index 0000000..8144247
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/128/exit_fullscreen.png
new file mode 100644
index 0000000..728d90f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/expand.png b/src/desktop/qml/assets/icons/png/128/expand.png
new file mode 100644
index 0000000..820ad4f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/export.png b/src/desktop/qml/assets/icons/png/128/export.png
new file mode 100644
index 0000000..89db181
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/external_link.png b/src/desktop/qml/assets/icons/png/128/external_link.png
new file mode 100644
index 0000000..b2c15f2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/eye.png b/src/desktop/qml/assets/icons/png/128/eye.png
new file mode 100644
index 0000000..ce10c8c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/eye_off.png b/src/desktop/qml/assets/icons/png/128/eye_off.png
new file mode 100644
index 0000000..80685a1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/file.png b/src/desktop/qml/assets/icons/png/128/file.png
new file mode 100644
index 0000000..70aab78
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/fit_to_window.png b/src/desktop/qml/assets/icons/png/128/fit_to_window.png
new file mode 100644
index 0000000..600faff
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/focus_preview.png b/src/desktop/qml/assets/icons/png/128/focus_preview.png
new file mode 100644
index 0000000..dc922b8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/folder.png b/src/desktop/qml/assets/icons/png/128/folder.png
new file mode 100644
index 0000000..35b7cad
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/frame_interpolation.png b/src/desktop/qml/assets/icons/png/128/frame_interpolation.png
new file mode 100644
index 0000000..d89c6a8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/fullscreen.png b/src/desktop/qml/assets/icons/png/128/fullscreen.png
new file mode 100644
index 0000000..a46f343
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/github.png b/src/desktop/qml/assets/icons/png/128/github.png
new file mode 100644
index 0000000..7fe93ef
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/go_to_end.png b/src/desktop/qml/assets/icons/png/128/go_to_end.png
new file mode 100644
index 0000000..50ef883
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/go_to_start.png b/src/desktop/qml/assets/icons/png/128/go_to_start.png
new file mode 100644
index 0000000..409a242
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/gpu.png b/src/desktop/qml/assets/icons/png/128/gpu.png
new file mode 100644
index 0000000..538d367
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/hdr.png b/src/desktop/qml/assets/icons/png/128/hdr.png
new file mode 100644
index 0000000..834cdca
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/heart.png b/src/desktop/qml/assets/icons/png/128/heart.png
new file mode 100644
index 0000000..46e0feb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/help.png b/src/desktop/qml/assets/icons/png/128/help.png
new file mode 100644
index 0000000..1a813cb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/home.png b/src/desktop/qml/assets/icons/png/128/home.png
new file mode 100644
index 0000000..bb68966
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/image_file.png b/src/desktop/qml/assets/icons/png/128/image_file.png
new file mode 100644
index 0000000..5f26348
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/import.png b/src/desktop/qml/assets/icons/png/128/import.png
new file mode 100644
index 0000000..4c86f8d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/inbox_import.png b/src/desktop/qml/assets/icons/png/128/inbox_import.png
new file mode 100644
index 0000000..59d22b8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/info.png b/src/desktop/qml/assets/icons/png/128/info.png
new file mode 100644
index 0000000..fac9fba
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/link.png b/src/desktop/qml/assets/icons/png/128/link.png
new file mode 100644
index 0000000..9e51315
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/live_video.png b/src/desktop/qml/assets/icons/png/128/live_video.png
new file mode 100644
index 0000000..792c9bc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/load_mask.png b/src/desktop/qml/assets/icons/png/128/load_mask.png
new file mode 100644
index 0000000..7a00edb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/loading.png b/src/desktop/qml/assets/icons/png/128/loading.png
new file mode 100644
index 0000000..8aa5475
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/lock.png b/src/desktop/qml/assets/icons/png/128/lock.png
new file mode 100644
index 0000000..61435c6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/logs_folder.png b/src/desktop/qml/assets/icons/png/128/logs_folder.png
new file mode 100644
index 0000000..7cc3dae
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/mask.png b/src/desktop/qml/assets/icons/png/128/mask.png
new file mode 100644
index 0000000..a611bf2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/maximize.png b/src/desktop/qml/assets/icons/png/128/maximize.png
new file mode 100644
index 0000000..c869bdc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/menu.png b/src/desktop/qml/assets/icons/png/128/menu.png
new file mode 100644
index 0000000..aaf4169
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/minimize.png b/src/desktop/qml/assets/icons/png/128/minimize.png
new file mode 100644
index 0000000..ccdb3f7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/minus.png b/src/desktop/qml/assets/icons/png/128/minus.png
new file mode 100644
index 0000000..ded8af3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/mute.png b/src/desktop/qml/assets/icons/png/128/mute.png
new file mode 100644
index 0000000..de63190
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/network.png b/src/desktop/qml/assets/icons/png/128/network.png
new file mode 100644
index 0000000..2b76cbd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/neural_rendering.png b/src/desktop/qml/assets/icons/png/128/neural_rendering.png
new file mode 100644
index 0000000..7db8492
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/next_frame.png b/src/desktop/qml/assets/icons/png/128/next_frame.png
new file mode 100644
index 0000000..7ecdc17
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/outputs_folder.png b/src/desktop/qml/assets/icons/png/128/outputs_folder.png
new file mode 100644
index 0000000..b6193af
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/panel_close.png b/src/desktop/qml/assets/icons/png/128/panel_close.png
new file mode 100644
index 0000000..398d83f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/panel_open.png b/src/desktop/qml/assets/icons/png/128/panel_open.png
new file mode 100644
index 0000000..d89b0b1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/pause.png b/src/desktop/qml/assets/icons/png/128/pause.png
new file mode 100644
index 0000000..374fd2c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/play.png b/src/desktop/qml/assets/icons/png/128/play.png
new file mode 100644
index 0000000..71c8d77
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/plus.png b/src/desktop/qml/assets/icons/png/128/plus.png
new file mode 100644
index 0000000..4575d25
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/preview.png b/src/desktop/qml/assets/icons/png/128/preview.png
new file mode 100644
index 0000000..6e3e520
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/previous_frame.png b/src/desktop/qml/assets/icons/png/128/previous_frame.png
new file mode 100644
index 0000000..733c511
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/quality_enhance.png b/src/desktop/qml/assets/icons/png/128/quality_enhance.png
new file mode 100644
index 0000000..d614f31
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/queue.png b/src/desktop/qml/assets/icons/png/128/queue.png
new file mode 100644
index 0000000..99547dd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/realtime.png b/src/desktop/qml/assets/icons/png/128/realtime.png
new file mode 100644
index 0000000..2a321ff
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/refresh.png b/src/desktop/qml/assets/icons/png/128/refresh.png
new file mode 100644
index 0000000..d9ff863
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/reset.png b/src/desktop/qml/assets/icons/png/128/reset.png
new file mode 100644
index 0000000..7c2c589
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/restore_window.png b/src/desktop/qml/assets/icons/png/128/restore_window.png
new file mode 100644
index 0000000..1e22910
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/retry.png b/src/desktop/qml/assets/icons/png/128/retry.png
new file mode 100644
index 0000000..ac81650
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/128/reveal_in_explorer.png
new file mode 100644
index 0000000..778b314
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/rotate.png b/src/desktop/qml/assets/icons/png/128/rotate.png
new file mode 100644
index 0000000..9ed8edf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/save_preset.png b/src/desktop/qml/assets/icons/png/128/save_preset.png
new file mode 100644
index 0000000..3e99932
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/search.png b/src/desktop/qml/assets/icons/png/128/search.png
new file mode 100644
index 0000000..370262a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/selection.png b/src/desktop/qml/assets/icons/png/128/selection.png
new file mode 100644
index 0000000..401a396
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/settings.png b/src/desktop/qml/assets/icons/png/128/settings.png
new file mode 100644
index 0000000..de9c2d5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/split_view.png b/src/desktop/qml/assets/icons/png/128/split_view.png
new file mode 100644
index 0000000..696e779
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/start_render.png b/src/desktop/qml/assets/icons/png/128/start_render.png
new file mode 100644
index 0000000..54e9127
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/stop.png b/src/desktop/qml/assets/icons/png/128/stop.png
new file mode 100644
index 0000000..ed4664b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/stream.png b/src/desktop/qml/assets/icons/png/128/stream.png
new file mode 100644
index 0000000..6f888bc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/trash.png b/src/desktop/qml/assets/icons/png/128/trash.png
new file mode 100644
index 0000000..bfa5807
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/unlock.png b/src/desktop/qml/assets/icons/png/128/unlock.png
new file mode 100644
index 0000000..47aaf5b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/upscale.png b/src/desktop/qml/assets/icons/png/128/upscale.png
new file mode 100644
index 0000000..0ad6eb9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/video_file.png b/src/desktop/qml/assets/icons/png/128/video_file.png
new file mode 100644
index 0000000..6ae0f4b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/volume_down.png b/src/desktop/qml/assets/icons/png/128/volume_down.png
new file mode 100644
index 0000000..e95524a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/volume_up.png b/src/desktop/qml/assets/icons/png/128/volume_up.png
new file mode 100644
index 0000000..d3e5f49
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/warning.png b/src/desktop/qml/assets/icons/png/128/warning.png
new file mode 100644
index 0000000..c90f0ef
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/zoom_in.png b/src/desktop/qml/assets/icons/png/128/zoom_in.png
new file mode 100644
index 0000000..0777449
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/128/zoom_out.png b/src/desktop/qml/assets/icons/png/128/zoom_out.png
new file mode 100644
index 0000000..a8f8c07
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/128/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/actual_size.png b/src/desktop/qml/assets/icons/png/16/actual_size.png
new file mode 100644
index 0000000..91294be
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/add_file.png b/src/desktop/qml/assets/icons/png/16/add_file.png
new file mode 100644
index 0000000..2edcdd5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/add_folder.png b/src/desktop/qml/assets/icons/png/16/add_folder.png
new file mode 100644
index 0000000..4efc90d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/audio_wave.png b/src/desktop/qml/assets/icons/png/16/audio_wave.png
new file mode 100644
index 0000000..7530cf7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/before_after.png b/src/desktop/qml/assets/icons/png/16/before_after.png
new file mode 100644
index 0000000..e6120ad
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/browse_folder.png b/src/desktop/qml/assets/icons/png/16/browse_folder.png
new file mode 100644
index 0000000..37f7ee2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/brush.png b/src/desktop/qml/assets/icons/png/16/brush.png
new file mode 100644
index 0000000..a0874f8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/check.png b/src/desktop/qml/assets/icons/png/16/check.png
new file mode 100644
index 0000000..5b48344
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/chevron_down.png b/src/desktop/qml/assets/icons/png/16/chevron_down.png
new file mode 100644
index 0000000..21967db
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/chevron_left.png b/src/desktop/qml/assets/icons/png/16/chevron_left.png
new file mode 100644
index 0000000..4459f45
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/chevron_right.png b/src/desktop/qml/assets/icons/png/16/chevron_right.png
new file mode 100644
index 0000000..b918277
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/chevron_up.png b/src/desktop/qml/assets/icons/png/16/chevron_up.png
new file mode 100644
index 0000000..4f00bbc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/clear_all.png b/src/desktop/qml/assets/icons/png/16/clear_all.png
new file mode 100644
index 0000000..4620e7f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/clear_done.png b/src/desktop/qml/assets/icons/png/16/clear_done.png
new file mode 100644
index 0000000..0e5f51d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/clear_mask.png b/src/desktop/qml/assets/icons/png/16/clear_mask.png
new file mode 100644
index 0000000..f1a2eb7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/clipboard.png b/src/desktop/qml/assets/icons/png/16/clipboard.png
new file mode 100644
index 0000000..84eccaf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/close.png b/src/desktop/qml/assets/icons/png/16/close.png
new file mode 100644
index 0000000..dade6dc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/collapse.png b/src/desktop/qml/assets/icons/png/16/collapse.png
new file mode 100644
index 0000000..dc21a6d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/compare.png b/src/desktop/qml/assets/icons/png/16/compare.png
new file mode 100644
index 0000000..7b20164
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/console.png b/src/desktop/qml/assets/icons/png/16/console.png
new file mode 100644
index 0000000..b535cdc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/crop.png b/src/desktop/qml/assets/icons/png/16/crop.png
new file mode 100644
index 0000000..cf51b52
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/eraser.png b/src/desktop/qml/assets/icons/png/16/eraser.png
new file mode 100644
index 0000000..98328a3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/error.png b/src/desktop/qml/assets/icons/png/16/error.png
new file mode 100644
index 0000000..280cd8b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/16/exit_fullscreen.png
new file mode 100644
index 0000000..d5fae07
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/expand.png b/src/desktop/qml/assets/icons/png/16/expand.png
new file mode 100644
index 0000000..19e2d65
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/export.png b/src/desktop/qml/assets/icons/png/16/export.png
new file mode 100644
index 0000000..8a6b35f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/external_link.png b/src/desktop/qml/assets/icons/png/16/external_link.png
new file mode 100644
index 0000000..bff7282
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/eye.png b/src/desktop/qml/assets/icons/png/16/eye.png
new file mode 100644
index 0000000..1e9723c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/eye_off.png b/src/desktop/qml/assets/icons/png/16/eye_off.png
new file mode 100644
index 0000000..ab6f82f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/file.png b/src/desktop/qml/assets/icons/png/16/file.png
new file mode 100644
index 0000000..2f10041
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/fit_to_window.png b/src/desktop/qml/assets/icons/png/16/fit_to_window.png
new file mode 100644
index 0000000..6dd0708
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/focus_preview.png b/src/desktop/qml/assets/icons/png/16/focus_preview.png
new file mode 100644
index 0000000..f31078e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/folder.png b/src/desktop/qml/assets/icons/png/16/folder.png
new file mode 100644
index 0000000..f243b64
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/frame_interpolation.png b/src/desktop/qml/assets/icons/png/16/frame_interpolation.png
new file mode 100644
index 0000000..fd7b7c2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/fullscreen.png b/src/desktop/qml/assets/icons/png/16/fullscreen.png
new file mode 100644
index 0000000..e902b91
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/github.png b/src/desktop/qml/assets/icons/png/16/github.png
new file mode 100644
index 0000000..2515be0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/go_to_end.png b/src/desktop/qml/assets/icons/png/16/go_to_end.png
new file mode 100644
index 0000000..4ce6e55
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/go_to_start.png b/src/desktop/qml/assets/icons/png/16/go_to_start.png
new file mode 100644
index 0000000..f1d43e4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/gpu.png b/src/desktop/qml/assets/icons/png/16/gpu.png
new file mode 100644
index 0000000..d846721
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/hdr.png b/src/desktop/qml/assets/icons/png/16/hdr.png
new file mode 100644
index 0000000..c45ee01
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/heart.png b/src/desktop/qml/assets/icons/png/16/heart.png
new file mode 100644
index 0000000..9926995
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/help.png b/src/desktop/qml/assets/icons/png/16/help.png
new file mode 100644
index 0000000..bf6dec4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/home.png b/src/desktop/qml/assets/icons/png/16/home.png
new file mode 100644
index 0000000..399ff34
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/image_file.png b/src/desktop/qml/assets/icons/png/16/image_file.png
new file mode 100644
index 0000000..60ea061
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/import.png b/src/desktop/qml/assets/icons/png/16/import.png
new file mode 100644
index 0000000..03bd544
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/inbox_import.png b/src/desktop/qml/assets/icons/png/16/inbox_import.png
new file mode 100644
index 0000000..8460011
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/info.png b/src/desktop/qml/assets/icons/png/16/info.png
new file mode 100644
index 0000000..09c8cf3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/link.png b/src/desktop/qml/assets/icons/png/16/link.png
new file mode 100644
index 0000000..5e83b38
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/live_video.png b/src/desktop/qml/assets/icons/png/16/live_video.png
new file mode 100644
index 0000000..9cea0f3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/load_mask.png b/src/desktop/qml/assets/icons/png/16/load_mask.png
new file mode 100644
index 0000000..2a68325
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/loading.png b/src/desktop/qml/assets/icons/png/16/loading.png
new file mode 100644
index 0000000..fd89896
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/lock.png b/src/desktop/qml/assets/icons/png/16/lock.png
new file mode 100644
index 0000000..a60f5da
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/logs_folder.png b/src/desktop/qml/assets/icons/png/16/logs_folder.png
new file mode 100644
index 0000000..36b0ad2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/mask.png b/src/desktop/qml/assets/icons/png/16/mask.png
new file mode 100644
index 0000000..551e304
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/maximize.png b/src/desktop/qml/assets/icons/png/16/maximize.png
new file mode 100644
index 0000000..960b589
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/menu.png b/src/desktop/qml/assets/icons/png/16/menu.png
new file mode 100644
index 0000000..76c947e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/minimize.png b/src/desktop/qml/assets/icons/png/16/minimize.png
new file mode 100644
index 0000000..3269798
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/minus.png b/src/desktop/qml/assets/icons/png/16/minus.png
new file mode 100644
index 0000000..9180077
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/mute.png b/src/desktop/qml/assets/icons/png/16/mute.png
new file mode 100644
index 0000000..7d16d2f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/network.png b/src/desktop/qml/assets/icons/png/16/network.png
new file mode 100644
index 0000000..01579eb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/neural_rendering.png b/src/desktop/qml/assets/icons/png/16/neural_rendering.png
new file mode 100644
index 0000000..06b6989
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/next_frame.png b/src/desktop/qml/assets/icons/png/16/next_frame.png
new file mode 100644
index 0000000..c0f5b88
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/outputs_folder.png b/src/desktop/qml/assets/icons/png/16/outputs_folder.png
new file mode 100644
index 0000000..b660414
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/panel_close.png b/src/desktop/qml/assets/icons/png/16/panel_close.png
new file mode 100644
index 0000000..e6e68e4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/panel_open.png b/src/desktop/qml/assets/icons/png/16/panel_open.png
new file mode 100644
index 0000000..a6c5c47
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/pause.png b/src/desktop/qml/assets/icons/png/16/pause.png
new file mode 100644
index 0000000..c101c0d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/play.png b/src/desktop/qml/assets/icons/png/16/play.png
new file mode 100644
index 0000000..0564e41
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/plus.png b/src/desktop/qml/assets/icons/png/16/plus.png
new file mode 100644
index 0000000..803e3ea
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/preview.png b/src/desktop/qml/assets/icons/png/16/preview.png
new file mode 100644
index 0000000..8da08f3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/previous_frame.png b/src/desktop/qml/assets/icons/png/16/previous_frame.png
new file mode 100644
index 0000000..0841e92
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/quality_enhance.png b/src/desktop/qml/assets/icons/png/16/quality_enhance.png
new file mode 100644
index 0000000..5f3047b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/queue.png b/src/desktop/qml/assets/icons/png/16/queue.png
new file mode 100644
index 0000000..c8b1945
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/realtime.png b/src/desktop/qml/assets/icons/png/16/realtime.png
new file mode 100644
index 0000000..83888a0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/refresh.png b/src/desktop/qml/assets/icons/png/16/refresh.png
new file mode 100644
index 0000000..7e654ef
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/reset.png b/src/desktop/qml/assets/icons/png/16/reset.png
new file mode 100644
index 0000000..d794a2b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/restore_window.png b/src/desktop/qml/assets/icons/png/16/restore_window.png
new file mode 100644
index 0000000..2c99c94
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/retry.png b/src/desktop/qml/assets/icons/png/16/retry.png
new file mode 100644
index 0000000..389316d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/16/reveal_in_explorer.png
new file mode 100644
index 0000000..6a971cb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/rotate.png b/src/desktop/qml/assets/icons/png/16/rotate.png
new file mode 100644
index 0000000..9e8b90b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/save_preset.png b/src/desktop/qml/assets/icons/png/16/save_preset.png
new file mode 100644
index 0000000..6680950
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/search.png b/src/desktop/qml/assets/icons/png/16/search.png
new file mode 100644
index 0000000..f455e08
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/selection.png b/src/desktop/qml/assets/icons/png/16/selection.png
new file mode 100644
index 0000000..b089d5e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/settings.png b/src/desktop/qml/assets/icons/png/16/settings.png
new file mode 100644
index 0000000..bf7a0a3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/split_view.png b/src/desktop/qml/assets/icons/png/16/split_view.png
new file mode 100644
index 0000000..4834bc3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/start_render.png b/src/desktop/qml/assets/icons/png/16/start_render.png
new file mode 100644
index 0000000..00efc50
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/stop.png b/src/desktop/qml/assets/icons/png/16/stop.png
new file mode 100644
index 0000000..d4273af
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/stream.png b/src/desktop/qml/assets/icons/png/16/stream.png
new file mode 100644
index 0000000..565a39c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/trash.png b/src/desktop/qml/assets/icons/png/16/trash.png
new file mode 100644
index 0000000..dbda039
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/unlock.png b/src/desktop/qml/assets/icons/png/16/unlock.png
new file mode 100644
index 0000000..12310b9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/upscale.png b/src/desktop/qml/assets/icons/png/16/upscale.png
new file mode 100644
index 0000000..8b16a4d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/video_file.png b/src/desktop/qml/assets/icons/png/16/video_file.png
new file mode 100644
index 0000000..184920f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/volume_down.png b/src/desktop/qml/assets/icons/png/16/volume_down.png
new file mode 100644
index 0000000..b978cd5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/volume_up.png b/src/desktop/qml/assets/icons/png/16/volume_up.png
new file mode 100644
index 0000000..42c4370
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/warning.png b/src/desktop/qml/assets/icons/png/16/warning.png
new file mode 100644
index 0000000..97ad10f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/zoom_in.png b/src/desktop/qml/assets/icons/png/16/zoom_in.png
new file mode 100644
index 0000000..b33904e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/16/zoom_out.png b/src/desktop/qml/assets/icons/png/16/zoom_out.png
new file mode 100644
index 0000000..bfd2971
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/16/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/actual_size.png b/src/desktop/qml/assets/icons/png/20/actual_size.png
new file mode 100644
index 0000000..c4a20a3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/add_file.png b/src/desktop/qml/assets/icons/png/20/add_file.png
new file mode 100644
index 0000000..9d117c7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/add_folder.png b/src/desktop/qml/assets/icons/png/20/add_folder.png
new file mode 100644
index 0000000..d0d2afe
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/audio_wave.png b/src/desktop/qml/assets/icons/png/20/audio_wave.png
new file mode 100644
index 0000000..9fa4ba3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/before_after.png b/src/desktop/qml/assets/icons/png/20/before_after.png
new file mode 100644
index 0000000..ae6440d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/browse_folder.png b/src/desktop/qml/assets/icons/png/20/browse_folder.png
new file mode 100644
index 0000000..8a1c0b3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/brush.png b/src/desktop/qml/assets/icons/png/20/brush.png
new file mode 100644
index 0000000..1bcfcb1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/check.png b/src/desktop/qml/assets/icons/png/20/check.png
new file mode 100644
index 0000000..b04ad14
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/chevron_down.png b/src/desktop/qml/assets/icons/png/20/chevron_down.png
new file mode 100644
index 0000000..4debaa6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/chevron_left.png b/src/desktop/qml/assets/icons/png/20/chevron_left.png
new file mode 100644
index 0000000..fb94fb7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/chevron_right.png b/src/desktop/qml/assets/icons/png/20/chevron_right.png
new file mode 100644
index 0000000..6639d15
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/chevron_up.png b/src/desktop/qml/assets/icons/png/20/chevron_up.png
new file mode 100644
index 0000000..5ebd5cd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/clear_all.png b/src/desktop/qml/assets/icons/png/20/clear_all.png
new file mode 100644
index 0000000..1c9e068
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/clear_done.png b/src/desktop/qml/assets/icons/png/20/clear_done.png
new file mode 100644
index 0000000..6eefe04
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/clear_mask.png b/src/desktop/qml/assets/icons/png/20/clear_mask.png
new file mode 100644
index 0000000..07568dc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/clipboard.png b/src/desktop/qml/assets/icons/png/20/clipboard.png
new file mode 100644
index 0000000..bf843c2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/close.png b/src/desktop/qml/assets/icons/png/20/close.png
new file mode 100644
index 0000000..e0304b2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/collapse.png b/src/desktop/qml/assets/icons/png/20/collapse.png
new file mode 100644
index 0000000..5334101
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/compare.png b/src/desktop/qml/assets/icons/png/20/compare.png
new file mode 100644
index 0000000..88b90ae
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/console.png b/src/desktop/qml/assets/icons/png/20/console.png
new file mode 100644
index 0000000..1d7cd68
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/crop.png b/src/desktop/qml/assets/icons/png/20/crop.png
new file mode 100644
index 0000000..5cdf142
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/eraser.png b/src/desktop/qml/assets/icons/png/20/eraser.png
new file mode 100644
index 0000000..7b624ea
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/error.png b/src/desktop/qml/assets/icons/png/20/error.png
new file mode 100644
index 0000000..9910cbd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/20/exit_fullscreen.png
new file mode 100644
index 0000000..3754364
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/expand.png b/src/desktop/qml/assets/icons/png/20/expand.png
new file mode 100644
index 0000000..6ff2578
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/export.png b/src/desktop/qml/assets/icons/png/20/export.png
new file mode 100644
index 0000000..387a9f9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/external_link.png b/src/desktop/qml/assets/icons/png/20/external_link.png
new file mode 100644
index 0000000..4993f5f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/eye.png b/src/desktop/qml/assets/icons/png/20/eye.png
new file mode 100644
index 0000000..b0064b6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/eye_off.png b/src/desktop/qml/assets/icons/png/20/eye_off.png
new file mode 100644
index 0000000..af8f25f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/file.png b/src/desktop/qml/assets/icons/png/20/file.png
new file mode 100644
index 0000000..ea06e08
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/fit_to_window.png b/src/desktop/qml/assets/icons/png/20/fit_to_window.png
new file mode 100644
index 0000000..2ae9e6d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/focus_preview.png b/src/desktop/qml/assets/icons/png/20/focus_preview.png
new file mode 100644
index 0000000..07c9d8f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/folder.png b/src/desktop/qml/assets/icons/png/20/folder.png
new file mode 100644
index 0000000..6d4bbd6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/frame_interpolation.png b/src/desktop/qml/assets/icons/png/20/frame_interpolation.png
new file mode 100644
index 0000000..809a847
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/fullscreen.png b/src/desktop/qml/assets/icons/png/20/fullscreen.png
new file mode 100644
index 0000000..d18a421
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/github.png b/src/desktop/qml/assets/icons/png/20/github.png
new file mode 100644
index 0000000..184bafe
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/go_to_end.png b/src/desktop/qml/assets/icons/png/20/go_to_end.png
new file mode 100644
index 0000000..8f2b6d2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/go_to_start.png b/src/desktop/qml/assets/icons/png/20/go_to_start.png
new file mode 100644
index 0000000..01851e1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/gpu.png b/src/desktop/qml/assets/icons/png/20/gpu.png
new file mode 100644
index 0000000..9f3c297
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/hdr.png b/src/desktop/qml/assets/icons/png/20/hdr.png
new file mode 100644
index 0000000..813b3b2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/heart.png b/src/desktop/qml/assets/icons/png/20/heart.png
new file mode 100644
index 0000000..46fa5b6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/help.png b/src/desktop/qml/assets/icons/png/20/help.png
new file mode 100644
index 0000000..2d47aaa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/home.png b/src/desktop/qml/assets/icons/png/20/home.png
new file mode 100644
index 0000000..fb02e86
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/image_file.png b/src/desktop/qml/assets/icons/png/20/image_file.png
new file mode 100644
index 0000000..0026931
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/import.png b/src/desktop/qml/assets/icons/png/20/import.png
new file mode 100644
index 0000000..e4ebd22
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/inbox_import.png b/src/desktop/qml/assets/icons/png/20/inbox_import.png
new file mode 100644
index 0000000..c2cf55f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/info.png b/src/desktop/qml/assets/icons/png/20/info.png
new file mode 100644
index 0000000..dde70ff
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/link.png b/src/desktop/qml/assets/icons/png/20/link.png
new file mode 100644
index 0000000..cdbf9d9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/live_video.png b/src/desktop/qml/assets/icons/png/20/live_video.png
new file mode 100644
index 0000000..19dcd7b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/load_mask.png b/src/desktop/qml/assets/icons/png/20/load_mask.png
new file mode 100644
index 0000000..592cade
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/loading.png b/src/desktop/qml/assets/icons/png/20/loading.png
new file mode 100644
index 0000000..b3ddf71
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/lock.png b/src/desktop/qml/assets/icons/png/20/lock.png
new file mode 100644
index 0000000..785bc41
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/logs_folder.png b/src/desktop/qml/assets/icons/png/20/logs_folder.png
new file mode 100644
index 0000000..8257507
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/mask.png b/src/desktop/qml/assets/icons/png/20/mask.png
new file mode 100644
index 0000000..85fb16d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/maximize.png b/src/desktop/qml/assets/icons/png/20/maximize.png
new file mode 100644
index 0000000..4fdb5b7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/menu.png b/src/desktop/qml/assets/icons/png/20/menu.png
new file mode 100644
index 0000000..e11bd4c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/minimize.png b/src/desktop/qml/assets/icons/png/20/minimize.png
new file mode 100644
index 0000000..fdbe939
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/minus.png b/src/desktop/qml/assets/icons/png/20/minus.png
new file mode 100644
index 0000000..449a348
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/mute.png b/src/desktop/qml/assets/icons/png/20/mute.png
new file mode 100644
index 0000000..030ce12
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/network.png b/src/desktop/qml/assets/icons/png/20/network.png
new file mode 100644
index 0000000..91879be
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/neural_rendering.png b/src/desktop/qml/assets/icons/png/20/neural_rendering.png
new file mode 100644
index 0000000..bc25164
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/next_frame.png b/src/desktop/qml/assets/icons/png/20/next_frame.png
new file mode 100644
index 0000000..40113e9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/outputs_folder.png b/src/desktop/qml/assets/icons/png/20/outputs_folder.png
new file mode 100644
index 0000000..c799942
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/panel_close.png b/src/desktop/qml/assets/icons/png/20/panel_close.png
new file mode 100644
index 0000000..1fe231a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/panel_open.png b/src/desktop/qml/assets/icons/png/20/panel_open.png
new file mode 100644
index 0000000..945359f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/pause.png b/src/desktop/qml/assets/icons/png/20/pause.png
new file mode 100644
index 0000000..535e05a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/play.png b/src/desktop/qml/assets/icons/png/20/play.png
new file mode 100644
index 0000000..ec6c684
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/plus.png b/src/desktop/qml/assets/icons/png/20/plus.png
new file mode 100644
index 0000000..cedb0da
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/preview.png b/src/desktop/qml/assets/icons/png/20/preview.png
new file mode 100644
index 0000000..898e3e3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/previous_frame.png b/src/desktop/qml/assets/icons/png/20/previous_frame.png
new file mode 100644
index 0000000..774173f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/quality_enhance.png b/src/desktop/qml/assets/icons/png/20/quality_enhance.png
new file mode 100644
index 0000000..25787f4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/queue.png b/src/desktop/qml/assets/icons/png/20/queue.png
new file mode 100644
index 0000000..bea315a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/realtime.png b/src/desktop/qml/assets/icons/png/20/realtime.png
new file mode 100644
index 0000000..22d998a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/refresh.png b/src/desktop/qml/assets/icons/png/20/refresh.png
new file mode 100644
index 0000000..6927b91
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/reset.png b/src/desktop/qml/assets/icons/png/20/reset.png
new file mode 100644
index 0000000..f3fd96d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/restore_window.png b/src/desktop/qml/assets/icons/png/20/restore_window.png
new file mode 100644
index 0000000..584a4ea
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/retry.png b/src/desktop/qml/assets/icons/png/20/retry.png
new file mode 100644
index 0000000..68ed2d2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/20/reveal_in_explorer.png
new file mode 100644
index 0000000..0b7f62c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/rotate.png b/src/desktop/qml/assets/icons/png/20/rotate.png
new file mode 100644
index 0000000..1cdc10b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/save_preset.png b/src/desktop/qml/assets/icons/png/20/save_preset.png
new file mode 100644
index 0000000..e78b2ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/search.png b/src/desktop/qml/assets/icons/png/20/search.png
new file mode 100644
index 0000000..fae8083
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/selection.png b/src/desktop/qml/assets/icons/png/20/selection.png
new file mode 100644
index 0000000..c6e85fe
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/settings.png b/src/desktop/qml/assets/icons/png/20/settings.png
new file mode 100644
index 0000000..4010ce8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/split_view.png b/src/desktop/qml/assets/icons/png/20/split_view.png
new file mode 100644
index 0000000..8c3ca84
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/start_render.png b/src/desktop/qml/assets/icons/png/20/start_render.png
new file mode 100644
index 0000000..d949461
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/stop.png b/src/desktop/qml/assets/icons/png/20/stop.png
new file mode 100644
index 0000000..2b90c70
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/stream.png b/src/desktop/qml/assets/icons/png/20/stream.png
new file mode 100644
index 0000000..9ae78fd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/trash.png b/src/desktop/qml/assets/icons/png/20/trash.png
new file mode 100644
index 0000000..f576120
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/unlock.png b/src/desktop/qml/assets/icons/png/20/unlock.png
new file mode 100644
index 0000000..d2f8923
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/upscale.png b/src/desktop/qml/assets/icons/png/20/upscale.png
new file mode 100644
index 0000000..c13dbea
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/video_file.png b/src/desktop/qml/assets/icons/png/20/video_file.png
new file mode 100644
index 0000000..2f6353a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/volume_down.png b/src/desktop/qml/assets/icons/png/20/volume_down.png
new file mode 100644
index 0000000..34ac95d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/volume_up.png b/src/desktop/qml/assets/icons/png/20/volume_up.png
new file mode 100644
index 0000000..0bd52e3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/warning.png b/src/desktop/qml/assets/icons/png/20/warning.png
new file mode 100644
index 0000000..4df7413
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/zoom_in.png b/src/desktop/qml/assets/icons/png/20/zoom_in.png
new file mode 100644
index 0000000..297540d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/20/zoom_out.png b/src/desktop/qml/assets/icons/png/20/zoom_out.png
new file mode 100644
index 0000000..f85605d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/20/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/actual_size.png b/src/desktop/qml/assets/icons/png/24/actual_size.png
new file mode 100644
index 0000000..49a120c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/add_file.png b/src/desktop/qml/assets/icons/png/24/add_file.png
new file mode 100644
index 0000000..ae1f41c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/add_folder.png b/src/desktop/qml/assets/icons/png/24/add_folder.png
new file mode 100644
index 0000000..af63c3d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/audio_wave.png b/src/desktop/qml/assets/icons/png/24/audio_wave.png
new file mode 100644
index 0000000..aa7ffb1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/before_after.png b/src/desktop/qml/assets/icons/png/24/before_after.png
new file mode 100644
index 0000000..c13cc94
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/browse_folder.png b/src/desktop/qml/assets/icons/png/24/browse_folder.png
new file mode 100644
index 0000000..2986f46
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/brush.png b/src/desktop/qml/assets/icons/png/24/brush.png
new file mode 100644
index 0000000..0d37c67
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/check.png b/src/desktop/qml/assets/icons/png/24/check.png
new file mode 100644
index 0000000..befd176
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/chevron_down.png b/src/desktop/qml/assets/icons/png/24/chevron_down.png
new file mode 100644
index 0000000..a6bd9c5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/chevron_left.png b/src/desktop/qml/assets/icons/png/24/chevron_left.png
new file mode 100644
index 0000000..47ed037
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/chevron_right.png b/src/desktop/qml/assets/icons/png/24/chevron_right.png
new file mode 100644
index 0000000..a0a01e6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/chevron_up.png b/src/desktop/qml/assets/icons/png/24/chevron_up.png
new file mode 100644
index 0000000..189c23a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/clear_all.png b/src/desktop/qml/assets/icons/png/24/clear_all.png
new file mode 100644
index 0000000..b59457e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/clear_done.png b/src/desktop/qml/assets/icons/png/24/clear_done.png
new file mode 100644
index 0000000..94cfd04
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/clear_mask.png b/src/desktop/qml/assets/icons/png/24/clear_mask.png
new file mode 100644
index 0000000..8f5c665
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/clipboard.png b/src/desktop/qml/assets/icons/png/24/clipboard.png
new file mode 100644
index 0000000..1c4e325
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/close.png b/src/desktop/qml/assets/icons/png/24/close.png
new file mode 100644
index 0000000..cbcc781
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/collapse.png b/src/desktop/qml/assets/icons/png/24/collapse.png
new file mode 100644
index 0000000..b3755fc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/compare.png b/src/desktop/qml/assets/icons/png/24/compare.png
new file mode 100644
index 0000000..dd5a78c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/console.png b/src/desktop/qml/assets/icons/png/24/console.png
new file mode 100644
index 0000000..9cc6197
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/crop.png b/src/desktop/qml/assets/icons/png/24/crop.png
new file mode 100644
index 0000000..46de0cf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/eraser.png b/src/desktop/qml/assets/icons/png/24/eraser.png
new file mode 100644
index 0000000..e974b12
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/error.png b/src/desktop/qml/assets/icons/png/24/error.png
new file mode 100644
index 0000000..ca2b929
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/24/exit_fullscreen.png
new file mode 100644
index 0000000..aeaf70d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/expand.png b/src/desktop/qml/assets/icons/png/24/expand.png
new file mode 100644
index 0000000..8aa18c0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/export.png b/src/desktop/qml/assets/icons/png/24/export.png
new file mode 100644
index 0000000..b70eb14
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/external_link.png b/src/desktop/qml/assets/icons/png/24/external_link.png
new file mode 100644
index 0000000..96eff52
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/eye.png b/src/desktop/qml/assets/icons/png/24/eye.png
new file mode 100644
index 0000000..b41edbd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/eye_off.png b/src/desktop/qml/assets/icons/png/24/eye_off.png
new file mode 100644
index 0000000..8c00ae6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/file.png b/src/desktop/qml/assets/icons/png/24/file.png
new file mode 100644
index 0000000..0f58457
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/fit_to_window.png b/src/desktop/qml/assets/icons/png/24/fit_to_window.png
new file mode 100644
index 0000000..60c30bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/focus_preview.png b/src/desktop/qml/assets/icons/png/24/focus_preview.png
new file mode 100644
index 0000000..a158b2a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/folder.png b/src/desktop/qml/assets/icons/png/24/folder.png
new file mode 100644
index 0000000..05eb151
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/frame_interpolation.png b/src/desktop/qml/assets/icons/png/24/frame_interpolation.png
new file mode 100644
index 0000000..cb1bcbe
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/fullscreen.png b/src/desktop/qml/assets/icons/png/24/fullscreen.png
new file mode 100644
index 0000000..7adf00e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/github.png b/src/desktop/qml/assets/icons/png/24/github.png
new file mode 100644
index 0000000..b2c9815
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/go_to_end.png b/src/desktop/qml/assets/icons/png/24/go_to_end.png
new file mode 100644
index 0000000..b9ecd47
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/go_to_start.png b/src/desktop/qml/assets/icons/png/24/go_to_start.png
new file mode 100644
index 0000000..2698a96
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/gpu.png b/src/desktop/qml/assets/icons/png/24/gpu.png
new file mode 100644
index 0000000..81a596e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/hdr.png b/src/desktop/qml/assets/icons/png/24/hdr.png
new file mode 100644
index 0000000..fb903e5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/heart.png b/src/desktop/qml/assets/icons/png/24/heart.png
new file mode 100644
index 0000000..6fc093a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/help.png b/src/desktop/qml/assets/icons/png/24/help.png
new file mode 100644
index 0000000..bed4317
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/home.png b/src/desktop/qml/assets/icons/png/24/home.png
new file mode 100644
index 0000000..9a2fd79
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/image_file.png b/src/desktop/qml/assets/icons/png/24/image_file.png
new file mode 100644
index 0000000..d7bc722
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/import.png b/src/desktop/qml/assets/icons/png/24/import.png
new file mode 100644
index 0000000..c5fd4fc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/inbox_import.png b/src/desktop/qml/assets/icons/png/24/inbox_import.png
new file mode 100644
index 0000000..834e871
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/info.png b/src/desktop/qml/assets/icons/png/24/info.png
new file mode 100644
index 0000000..629ac36
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/link.png b/src/desktop/qml/assets/icons/png/24/link.png
new file mode 100644
index 0000000..30b6662
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/live_video.png b/src/desktop/qml/assets/icons/png/24/live_video.png
new file mode 100644
index 0000000..961bb5b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/load_mask.png b/src/desktop/qml/assets/icons/png/24/load_mask.png
new file mode 100644
index 0000000..2c4509e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/loading.png b/src/desktop/qml/assets/icons/png/24/loading.png
new file mode 100644
index 0000000..feba6ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/lock.png b/src/desktop/qml/assets/icons/png/24/lock.png
new file mode 100644
index 0000000..411c4f5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/logs_folder.png b/src/desktop/qml/assets/icons/png/24/logs_folder.png
new file mode 100644
index 0000000..79700c0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/mask.png b/src/desktop/qml/assets/icons/png/24/mask.png
new file mode 100644
index 0000000..0b3c758
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/maximize.png b/src/desktop/qml/assets/icons/png/24/maximize.png
new file mode 100644
index 0000000..8ecf259
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/menu.png b/src/desktop/qml/assets/icons/png/24/menu.png
new file mode 100644
index 0000000..dffa92a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/minimize.png b/src/desktop/qml/assets/icons/png/24/minimize.png
new file mode 100644
index 0000000..1e46e23
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/minus.png b/src/desktop/qml/assets/icons/png/24/minus.png
new file mode 100644
index 0000000..28af8fc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/mute.png b/src/desktop/qml/assets/icons/png/24/mute.png
new file mode 100644
index 0000000..0ad0951
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/network.png b/src/desktop/qml/assets/icons/png/24/network.png
new file mode 100644
index 0000000..6315ef4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/neural_rendering.png b/src/desktop/qml/assets/icons/png/24/neural_rendering.png
new file mode 100644
index 0000000..857f204
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/next_frame.png b/src/desktop/qml/assets/icons/png/24/next_frame.png
new file mode 100644
index 0000000..a709965
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/outputs_folder.png b/src/desktop/qml/assets/icons/png/24/outputs_folder.png
new file mode 100644
index 0000000..548ce80
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/panel_close.png b/src/desktop/qml/assets/icons/png/24/panel_close.png
new file mode 100644
index 0000000..991d28e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/panel_open.png b/src/desktop/qml/assets/icons/png/24/panel_open.png
new file mode 100644
index 0000000..ec94f7f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/pause.png b/src/desktop/qml/assets/icons/png/24/pause.png
new file mode 100644
index 0000000..773b78c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/play.png b/src/desktop/qml/assets/icons/png/24/play.png
new file mode 100644
index 0000000..836990c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/plus.png b/src/desktop/qml/assets/icons/png/24/plus.png
new file mode 100644
index 0000000..db692bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/preview.png b/src/desktop/qml/assets/icons/png/24/preview.png
new file mode 100644
index 0000000..349c86b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/previous_frame.png b/src/desktop/qml/assets/icons/png/24/previous_frame.png
new file mode 100644
index 0000000..7ceb06d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/quality_enhance.png b/src/desktop/qml/assets/icons/png/24/quality_enhance.png
new file mode 100644
index 0000000..d5a2a51
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/queue.png b/src/desktop/qml/assets/icons/png/24/queue.png
new file mode 100644
index 0000000..44a1c1f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/realtime.png b/src/desktop/qml/assets/icons/png/24/realtime.png
new file mode 100644
index 0000000..6e7de36
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/refresh.png b/src/desktop/qml/assets/icons/png/24/refresh.png
new file mode 100644
index 0000000..a898985
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/reset.png b/src/desktop/qml/assets/icons/png/24/reset.png
new file mode 100644
index 0000000..84d0099
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/restore_window.png b/src/desktop/qml/assets/icons/png/24/restore_window.png
new file mode 100644
index 0000000..0d41c9c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/retry.png b/src/desktop/qml/assets/icons/png/24/retry.png
new file mode 100644
index 0000000..84b6278
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/24/reveal_in_explorer.png
new file mode 100644
index 0000000..299f80f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/rotate.png b/src/desktop/qml/assets/icons/png/24/rotate.png
new file mode 100644
index 0000000..920a529
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/save_preset.png b/src/desktop/qml/assets/icons/png/24/save_preset.png
new file mode 100644
index 0000000..4545349
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/search.png b/src/desktop/qml/assets/icons/png/24/search.png
new file mode 100644
index 0000000..b4844bf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/selection.png b/src/desktop/qml/assets/icons/png/24/selection.png
new file mode 100644
index 0000000..7e752dc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/settings.png b/src/desktop/qml/assets/icons/png/24/settings.png
new file mode 100644
index 0000000..d173752
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/split_view.png b/src/desktop/qml/assets/icons/png/24/split_view.png
new file mode 100644
index 0000000..c085901
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/start_render.png b/src/desktop/qml/assets/icons/png/24/start_render.png
new file mode 100644
index 0000000..19a9624
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/stop.png b/src/desktop/qml/assets/icons/png/24/stop.png
new file mode 100644
index 0000000..1357638
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/stream.png b/src/desktop/qml/assets/icons/png/24/stream.png
new file mode 100644
index 0000000..e6da1ef
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/trash.png b/src/desktop/qml/assets/icons/png/24/trash.png
new file mode 100644
index 0000000..0a5b52d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/unlock.png b/src/desktop/qml/assets/icons/png/24/unlock.png
new file mode 100644
index 0000000..ca87bdb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/upscale.png b/src/desktop/qml/assets/icons/png/24/upscale.png
new file mode 100644
index 0000000..a1637ca
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/video_file.png b/src/desktop/qml/assets/icons/png/24/video_file.png
new file mode 100644
index 0000000..14b0947
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/volume_down.png b/src/desktop/qml/assets/icons/png/24/volume_down.png
new file mode 100644
index 0000000..ba98f5c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/volume_up.png b/src/desktop/qml/assets/icons/png/24/volume_up.png
new file mode 100644
index 0000000..f349d51
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/warning.png b/src/desktop/qml/assets/icons/png/24/warning.png
new file mode 100644
index 0000000..ffdcae7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/zoom_in.png b/src/desktop/qml/assets/icons/png/24/zoom_in.png
new file mode 100644
index 0000000..7a49fa6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/24/zoom_out.png b/src/desktop/qml/assets/icons/png/24/zoom_out.png
new file mode 100644
index 0000000..eeecb87
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/24/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/actual_size.png b/src/desktop/qml/assets/icons/png/256/actual_size.png
new file mode 100644
index 0000000..79c4e9a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/add_file.png b/src/desktop/qml/assets/icons/png/256/add_file.png
new file mode 100644
index 0000000..e6a78dc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/add_folder.png b/src/desktop/qml/assets/icons/png/256/add_folder.png
new file mode 100644
index 0000000..b3ad540
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/audio_wave.png b/src/desktop/qml/assets/icons/png/256/audio_wave.png
new file mode 100644
index 0000000..3d0c0a3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/before_after.png b/src/desktop/qml/assets/icons/png/256/before_after.png
new file mode 100644
index 0000000..44f11b5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/browse_folder.png b/src/desktop/qml/assets/icons/png/256/browse_folder.png
new file mode 100644
index 0000000..65878b2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/brush.png b/src/desktop/qml/assets/icons/png/256/brush.png
new file mode 100644
index 0000000..3caf0d6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/check.png b/src/desktop/qml/assets/icons/png/256/check.png
new file mode 100644
index 0000000..118d92c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/chevron_down.png b/src/desktop/qml/assets/icons/png/256/chevron_down.png
new file mode 100644
index 0000000..7a9fb03
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/chevron_left.png b/src/desktop/qml/assets/icons/png/256/chevron_left.png
new file mode 100644
index 0000000..1876671
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/chevron_right.png b/src/desktop/qml/assets/icons/png/256/chevron_right.png
new file mode 100644
index 0000000..38a670f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/chevron_up.png b/src/desktop/qml/assets/icons/png/256/chevron_up.png
new file mode 100644
index 0000000..fc63ffa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/clear_all.png b/src/desktop/qml/assets/icons/png/256/clear_all.png
new file mode 100644
index 0000000..62e57e4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/clear_done.png b/src/desktop/qml/assets/icons/png/256/clear_done.png
new file mode 100644
index 0000000..90579e7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/clear_mask.png b/src/desktop/qml/assets/icons/png/256/clear_mask.png
new file mode 100644
index 0000000..2454207
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/clipboard.png b/src/desktop/qml/assets/icons/png/256/clipboard.png
new file mode 100644
index 0000000..47ceb20
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/close.png b/src/desktop/qml/assets/icons/png/256/close.png
new file mode 100644
index 0000000..f2a247d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/collapse.png b/src/desktop/qml/assets/icons/png/256/collapse.png
new file mode 100644
index 0000000..98cac17
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/compare.png b/src/desktop/qml/assets/icons/png/256/compare.png
new file mode 100644
index 0000000..79669a5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/console.png b/src/desktop/qml/assets/icons/png/256/console.png
new file mode 100644
index 0000000..2073e3b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/crop.png b/src/desktop/qml/assets/icons/png/256/crop.png
new file mode 100644
index 0000000..6faff7c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/eraser.png b/src/desktop/qml/assets/icons/png/256/eraser.png
new file mode 100644
index 0000000..86ff631
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/error.png b/src/desktop/qml/assets/icons/png/256/error.png
new file mode 100644
index 0000000..a71393d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/256/exit_fullscreen.png
new file mode 100644
index 0000000..488b7d1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/expand.png b/src/desktop/qml/assets/icons/png/256/expand.png
new file mode 100644
index 0000000..2169a26
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/export.png b/src/desktop/qml/assets/icons/png/256/export.png
new file mode 100644
index 0000000..a8182b1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/external_link.png b/src/desktop/qml/assets/icons/png/256/external_link.png
new file mode 100644
index 0000000..a241e94
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/eye.png b/src/desktop/qml/assets/icons/png/256/eye.png
new file mode 100644
index 0000000..20a4031
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/eye_off.png b/src/desktop/qml/assets/icons/png/256/eye_off.png
new file mode 100644
index 0000000..ed4475e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/file.png b/src/desktop/qml/assets/icons/png/256/file.png
new file mode 100644
index 0000000..7b465b6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/fit_to_window.png b/src/desktop/qml/assets/icons/png/256/fit_to_window.png
new file mode 100644
index 0000000..253aa74
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/focus_preview.png b/src/desktop/qml/assets/icons/png/256/focus_preview.png
new file mode 100644
index 0000000..835728c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/folder.png b/src/desktop/qml/assets/icons/png/256/folder.png
new file mode 100644
index 0000000..b4763d2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/frame_interpolation.png b/src/desktop/qml/assets/icons/png/256/frame_interpolation.png
new file mode 100644
index 0000000..08ab4f4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/fullscreen.png b/src/desktop/qml/assets/icons/png/256/fullscreen.png
new file mode 100644
index 0000000..b6a904d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/github.png b/src/desktop/qml/assets/icons/png/256/github.png
new file mode 100644
index 0000000..ef22c04
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/go_to_end.png b/src/desktop/qml/assets/icons/png/256/go_to_end.png
new file mode 100644
index 0000000..ccd3110
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/go_to_start.png b/src/desktop/qml/assets/icons/png/256/go_to_start.png
new file mode 100644
index 0000000..ffb7e22
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/gpu.png b/src/desktop/qml/assets/icons/png/256/gpu.png
new file mode 100644
index 0000000..832b293
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/hdr.png b/src/desktop/qml/assets/icons/png/256/hdr.png
new file mode 100644
index 0000000..830b69e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/heart.png b/src/desktop/qml/assets/icons/png/256/heart.png
new file mode 100644
index 0000000..b0991e3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/help.png b/src/desktop/qml/assets/icons/png/256/help.png
new file mode 100644
index 0000000..63ea79d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/home.png b/src/desktop/qml/assets/icons/png/256/home.png
new file mode 100644
index 0000000..a41dbe2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/image_file.png b/src/desktop/qml/assets/icons/png/256/image_file.png
new file mode 100644
index 0000000..0e19d39
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/import.png b/src/desktop/qml/assets/icons/png/256/import.png
new file mode 100644
index 0000000..d046b43
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/inbox_import.png b/src/desktop/qml/assets/icons/png/256/inbox_import.png
new file mode 100644
index 0000000..0196235
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/info.png b/src/desktop/qml/assets/icons/png/256/info.png
new file mode 100644
index 0000000..751c02f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/link.png b/src/desktop/qml/assets/icons/png/256/link.png
new file mode 100644
index 0000000..75e4c10
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/live_video.png b/src/desktop/qml/assets/icons/png/256/live_video.png
new file mode 100644
index 0000000..e412f0c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/load_mask.png b/src/desktop/qml/assets/icons/png/256/load_mask.png
new file mode 100644
index 0000000..4ac33cf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/loading.png b/src/desktop/qml/assets/icons/png/256/loading.png
new file mode 100644
index 0000000..26b7ade
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/lock.png b/src/desktop/qml/assets/icons/png/256/lock.png
new file mode 100644
index 0000000..241c553
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/logs_folder.png b/src/desktop/qml/assets/icons/png/256/logs_folder.png
new file mode 100644
index 0000000..894f9fc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/mask.png b/src/desktop/qml/assets/icons/png/256/mask.png
new file mode 100644
index 0000000..cab39d5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/maximize.png b/src/desktop/qml/assets/icons/png/256/maximize.png
new file mode 100644
index 0000000..4f56420
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/menu.png b/src/desktop/qml/assets/icons/png/256/menu.png
new file mode 100644
index 0000000..3d204a6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/minimize.png b/src/desktop/qml/assets/icons/png/256/minimize.png
new file mode 100644
index 0000000..72edb0c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/minus.png b/src/desktop/qml/assets/icons/png/256/minus.png
new file mode 100644
index 0000000..dd671ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/mute.png b/src/desktop/qml/assets/icons/png/256/mute.png
new file mode 100644
index 0000000..b549b69
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/network.png b/src/desktop/qml/assets/icons/png/256/network.png
new file mode 100644
index 0000000..049f74f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/neural_rendering.png b/src/desktop/qml/assets/icons/png/256/neural_rendering.png
new file mode 100644
index 0000000..7e4ec4a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/next_frame.png b/src/desktop/qml/assets/icons/png/256/next_frame.png
new file mode 100644
index 0000000..b3a7a61
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/outputs_folder.png b/src/desktop/qml/assets/icons/png/256/outputs_folder.png
new file mode 100644
index 0000000..bfa532d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/panel_close.png b/src/desktop/qml/assets/icons/png/256/panel_close.png
new file mode 100644
index 0000000..70ea70a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/panel_open.png b/src/desktop/qml/assets/icons/png/256/panel_open.png
new file mode 100644
index 0000000..4787db4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/pause.png b/src/desktop/qml/assets/icons/png/256/pause.png
new file mode 100644
index 0000000..4a5039c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/play.png b/src/desktop/qml/assets/icons/png/256/play.png
new file mode 100644
index 0000000..47d7a93
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/plus.png b/src/desktop/qml/assets/icons/png/256/plus.png
new file mode 100644
index 0000000..106adfd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/preview.png b/src/desktop/qml/assets/icons/png/256/preview.png
new file mode 100644
index 0000000..9c244ac
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/previous_frame.png b/src/desktop/qml/assets/icons/png/256/previous_frame.png
new file mode 100644
index 0000000..495e48c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/quality_enhance.png b/src/desktop/qml/assets/icons/png/256/quality_enhance.png
new file mode 100644
index 0000000..a33ca01
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/queue.png b/src/desktop/qml/assets/icons/png/256/queue.png
new file mode 100644
index 0000000..a15f2b9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/realtime.png b/src/desktop/qml/assets/icons/png/256/realtime.png
new file mode 100644
index 0000000..51116ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/refresh.png b/src/desktop/qml/assets/icons/png/256/refresh.png
new file mode 100644
index 0000000..fb8208c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/reset.png b/src/desktop/qml/assets/icons/png/256/reset.png
new file mode 100644
index 0000000..d0a445a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/restore_window.png b/src/desktop/qml/assets/icons/png/256/restore_window.png
new file mode 100644
index 0000000..6143de4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/retry.png b/src/desktop/qml/assets/icons/png/256/retry.png
new file mode 100644
index 0000000..fcacae5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/256/reveal_in_explorer.png
new file mode 100644
index 0000000..8b477e8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/rotate.png b/src/desktop/qml/assets/icons/png/256/rotate.png
new file mode 100644
index 0000000..8c2f8f1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/save_preset.png b/src/desktop/qml/assets/icons/png/256/save_preset.png
new file mode 100644
index 0000000..4c80bb7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/search.png b/src/desktop/qml/assets/icons/png/256/search.png
new file mode 100644
index 0000000..6b0c5ad
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/selection.png b/src/desktop/qml/assets/icons/png/256/selection.png
new file mode 100644
index 0000000..2017d18
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/settings.png b/src/desktop/qml/assets/icons/png/256/settings.png
new file mode 100644
index 0000000..f286a70
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/split_view.png b/src/desktop/qml/assets/icons/png/256/split_view.png
new file mode 100644
index 0000000..1653b3c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/start_render.png b/src/desktop/qml/assets/icons/png/256/start_render.png
new file mode 100644
index 0000000..5215628
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/stop.png b/src/desktop/qml/assets/icons/png/256/stop.png
new file mode 100644
index 0000000..6921963
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/stream.png b/src/desktop/qml/assets/icons/png/256/stream.png
new file mode 100644
index 0000000..cdfc323
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/trash.png b/src/desktop/qml/assets/icons/png/256/trash.png
new file mode 100644
index 0000000..a174fb2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/unlock.png b/src/desktop/qml/assets/icons/png/256/unlock.png
new file mode 100644
index 0000000..c96acf4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/upscale.png b/src/desktop/qml/assets/icons/png/256/upscale.png
new file mode 100644
index 0000000..2b39a67
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/video_file.png b/src/desktop/qml/assets/icons/png/256/video_file.png
new file mode 100644
index 0000000..3b0ed14
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/volume_down.png b/src/desktop/qml/assets/icons/png/256/volume_down.png
new file mode 100644
index 0000000..0ba6229
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/volume_up.png b/src/desktop/qml/assets/icons/png/256/volume_up.png
new file mode 100644
index 0000000..9a59c11
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/warning.png b/src/desktop/qml/assets/icons/png/256/warning.png
new file mode 100644
index 0000000..9eed5bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/zoom_in.png b/src/desktop/qml/assets/icons/png/256/zoom_in.png
new file mode 100644
index 0000000..826d5c4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/256/zoom_out.png b/src/desktop/qml/assets/icons/png/256/zoom_out.png
new file mode 100644
index 0000000..a69f18d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/256/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/actual_size.png b/src/desktop/qml/assets/icons/png/32/actual_size.png
new file mode 100644
index 0000000..1a4693a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/add_file.png b/src/desktop/qml/assets/icons/png/32/add_file.png
new file mode 100644
index 0000000..04cd000
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/add_folder.png b/src/desktop/qml/assets/icons/png/32/add_folder.png
new file mode 100644
index 0000000..04e8642
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/audio_wave.png b/src/desktop/qml/assets/icons/png/32/audio_wave.png
new file mode 100644
index 0000000..b64ed6c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/before_after.png b/src/desktop/qml/assets/icons/png/32/before_after.png
new file mode 100644
index 0000000..5da3bf4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/browse_folder.png b/src/desktop/qml/assets/icons/png/32/browse_folder.png
new file mode 100644
index 0000000..1301157
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/brush.png b/src/desktop/qml/assets/icons/png/32/brush.png
new file mode 100644
index 0000000..dfe47d1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/check.png b/src/desktop/qml/assets/icons/png/32/check.png
new file mode 100644
index 0000000..87af853
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/chevron_down.png b/src/desktop/qml/assets/icons/png/32/chevron_down.png
new file mode 100644
index 0000000..299ebd3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/chevron_left.png b/src/desktop/qml/assets/icons/png/32/chevron_left.png
new file mode 100644
index 0000000..8aa10d4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/chevron_right.png b/src/desktop/qml/assets/icons/png/32/chevron_right.png
new file mode 100644
index 0000000..a29a4bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/chevron_up.png b/src/desktop/qml/assets/icons/png/32/chevron_up.png
new file mode 100644
index 0000000..ce1d790
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/clear_all.png b/src/desktop/qml/assets/icons/png/32/clear_all.png
new file mode 100644
index 0000000..32e0e0d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/clear_done.png b/src/desktop/qml/assets/icons/png/32/clear_done.png
new file mode 100644
index 0000000..c79091a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/clear_mask.png b/src/desktop/qml/assets/icons/png/32/clear_mask.png
new file mode 100644
index 0000000..1fca389
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/clipboard.png b/src/desktop/qml/assets/icons/png/32/clipboard.png
new file mode 100644
index 0000000..fbb79e8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/close.png b/src/desktop/qml/assets/icons/png/32/close.png
new file mode 100644
index 0000000..95ab4ac
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/collapse.png b/src/desktop/qml/assets/icons/png/32/collapse.png
new file mode 100644
index 0000000..cfdb4c9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/compare.png b/src/desktop/qml/assets/icons/png/32/compare.png
new file mode 100644
index 0000000..56de2b6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/console.png b/src/desktop/qml/assets/icons/png/32/console.png
new file mode 100644
index 0000000..11661ed
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/crop.png b/src/desktop/qml/assets/icons/png/32/crop.png
new file mode 100644
index 0000000..26a8070
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/eraser.png b/src/desktop/qml/assets/icons/png/32/eraser.png
new file mode 100644
index 0000000..4a32779
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/error.png b/src/desktop/qml/assets/icons/png/32/error.png
new file mode 100644
index 0000000..214c037
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/32/exit_fullscreen.png
new file mode 100644
index 0000000..193e955
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/expand.png b/src/desktop/qml/assets/icons/png/32/expand.png
new file mode 100644
index 0000000..55921a1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/export.png b/src/desktop/qml/assets/icons/png/32/export.png
new file mode 100644
index 0000000..0d5fa84
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/external_link.png b/src/desktop/qml/assets/icons/png/32/external_link.png
new file mode 100644
index 0000000..7e57b21
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/eye.png b/src/desktop/qml/assets/icons/png/32/eye.png
new file mode 100644
index 0000000..d34c93e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/eye_off.png b/src/desktop/qml/assets/icons/png/32/eye_off.png
new file mode 100644
index 0000000..b6c2027
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/file.png b/src/desktop/qml/assets/icons/png/32/file.png
new file mode 100644
index 0000000..0b6726c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/fit_to_window.png b/src/desktop/qml/assets/icons/png/32/fit_to_window.png
new file mode 100644
index 0000000..265681f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/focus_preview.png b/src/desktop/qml/assets/icons/png/32/focus_preview.png
new file mode 100644
index 0000000..fc85ada
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/folder.png b/src/desktop/qml/assets/icons/png/32/folder.png
new file mode 100644
index 0000000..b20b0f5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/frame_interpolation.png b/src/desktop/qml/assets/icons/png/32/frame_interpolation.png
new file mode 100644
index 0000000..c1846bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/fullscreen.png b/src/desktop/qml/assets/icons/png/32/fullscreen.png
new file mode 100644
index 0000000..e445f17
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/github.png b/src/desktop/qml/assets/icons/png/32/github.png
new file mode 100644
index 0000000..537bc26
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/go_to_end.png b/src/desktop/qml/assets/icons/png/32/go_to_end.png
new file mode 100644
index 0000000..e21c090
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/go_to_start.png b/src/desktop/qml/assets/icons/png/32/go_to_start.png
new file mode 100644
index 0000000..b144d2b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/gpu.png b/src/desktop/qml/assets/icons/png/32/gpu.png
new file mode 100644
index 0000000..fe54678
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/hdr.png b/src/desktop/qml/assets/icons/png/32/hdr.png
new file mode 100644
index 0000000..7464749
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/heart.png b/src/desktop/qml/assets/icons/png/32/heart.png
new file mode 100644
index 0000000..804f8a6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/help.png b/src/desktop/qml/assets/icons/png/32/help.png
new file mode 100644
index 0000000..6bec21d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/home.png b/src/desktop/qml/assets/icons/png/32/home.png
new file mode 100644
index 0000000..c98e352
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/image_file.png b/src/desktop/qml/assets/icons/png/32/image_file.png
new file mode 100644
index 0000000..34f91a2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/import.png b/src/desktop/qml/assets/icons/png/32/import.png
new file mode 100644
index 0000000..21a35e1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/inbox_import.png b/src/desktop/qml/assets/icons/png/32/inbox_import.png
new file mode 100644
index 0000000..b5f41a7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/info.png b/src/desktop/qml/assets/icons/png/32/info.png
new file mode 100644
index 0000000..26f7dce
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/link.png b/src/desktop/qml/assets/icons/png/32/link.png
new file mode 100644
index 0000000..1cf316d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/live_video.png b/src/desktop/qml/assets/icons/png/32/live_video.png
new file mode 100644
index 0000000..31aa672
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/load_mask.png b/src/desktop/qml/assets/icons/png/32/load_mask.png
new file mode 100644
index 0000000..ffb24e0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/loading.png b/src/desktop/qml/assets/icons/png/32/loading.png
new file mode 100644
index 0000000..969299a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/lock.png b/src/desktop/qml/assets/icons/png/32/lock.png
new file mode 100644
index 0000000..a3803db
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/logs_folder.png b/src/desktop/qml/assets/icons/png/32/logs_folder.png
new file mode 100644
index 0000000..0c664e1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/mask.png b/src/desktop/qml/assets/icons/png/32/mask.png
new file mode 100644
index 0000000..ad6de0c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/maximize.png b/src/desktop/qml/assets/icons/png/32/maximize.png
new file mode 100644
index 0000000..9393a9a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/menu.png b/src/desktop/qml/assets/icons/png/32/menu.png
new file mode 100644
index 0000000..8a40b77
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/minimize.png b/src/desktop/qml/assets/icons/png/32/minimize.png
new file mode 100644
index 0000000..b2c0875
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/minus.png b/src/desktop/qml/assets/icons/png/32/minus.png
new file mode 100644
index 0000000..c6387d0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/mute.png b/src/desktop/qml/assets/icons/png/32/mute.png
new file mode 100644
index 0000000..ae088db
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/network.png b/src/desktop/qml/assets/icons/png/32/network.png
new file mode 100644
index 0000000..29d6b2d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/neural_rendering.png b/src/desktop/qml/assets/icons/png/32/neural_rendering.png
new file mode 100644
index 0000000..217476e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/next_frame.png b/src/desktop/qml/assets/icons/png/32/next_frame.png
new file mode 100644
index 0000000..02e0425
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/outputs_folder.png b/src/desktop/qml/assets/icons/png/32/outputs_folder.png
new file mode 100644
index 0000000..a59c1d6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/panel_close.png b/src/desktop/qml/assets/icons/png/32/panel_close.png
new file mode 100644
index 0000000..4d76ecb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/panel_open.png b/src/desktop/qml/assets/icons/png/32/panel_open.png
new file mode 100644
index 0000000..cb6d8e6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/pause.png b/src/desktop/qml/assets/icons/png/32/pause.png
new file mode 100644
index 0000000..34d7a74
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/play.png b/src/desktop/qml/assets/icons/png/32/play.png
new file mode 100644
index 0000000..1a413b5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/plus.png b/src/desktop/qml/assets/icons/png/32/plus.png
new file mode 100644
index 0000000..3420909
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/preview.png b/src/desktop/qml/assets/icons/png/32/preview.png
new file mode 100644
index 0000000..dad9d17
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/previous_frame.png b/src/desktop/qml/assets/icons/png/32/previous_frame.png
new file mode 100644
index 0000000..e6e0a72
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/quality_enhance.png b/src/desktop/qml/assets/icons/png/32/quality_enhance.png
new file mode 100644
index 0000000..cdaa85e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/queue.png b/src/desktop/qml/assets/icons/png/32/queue.png
new file mode 100644
index 0000000..7c1e0dd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/realtime.png b/src/desktop/qml/assets/icons/png/32/realtime.png
new file mode 100644
index 0000000..0464d45
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/refresh.png b/src/desktop/qml/assets/icons/png/32/refresh.png
new file mode 100644
index 0000000..97c402f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/reset.png b/src/desktop/qml/assets/icons/png/32/reset.png
new file mode 100644
index 0000000..165ac98
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/restore_window.png b/src/desktop/qml/assets/icons/png/32/restore_window.png
new file mode 100644
index 0000000..465bf3f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/retry.png b/src/desktop/qml/assets/icons/png/32/retry.png
new file mode 100644
index 0000000..b9af697
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/32/reveal_in_explorer.png
new file mode 100644
index 0000000..0b82660
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/rotate.png b/src/desktop/qml/assets/icons/png/32/rotate.png
new file mode 100644
index 0000000..74eb393
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/save_preset.png b/src/desktop/qml/assets/icons/png/32/save_preset.png
new file mode 100644
index 0000000..b0877ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/search.png b/src/desktop/qml/assets/icons/png/32/search.png
new file mode 100644
index 0000000..8c73f4f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/selection.png b/src/desktop/qml/assets/icons/png/32/selection.png
new file mode 100644
index 0000000..0d5137b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/settings.png b/src/desktop/qml/assets/icons/png/32/settings.png
new file mode 100644
index 0000000..b02cd5e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/split_view.png b/src/desktop/qml/assets/icons/png/32/split_view.png
new file mode 100644
index 0000000..34e347c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/start_render.png b/src/desktop/qml/assets/icons/png/32/start_render.png
new file mode 100644
index 0000000..7bb1b75
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/stop.png b/src/desktop/qml/assets/icons/png/32/stop.png
new file mode 100644
index 0000000..7d02ff6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/stream.png b/src/desktop/qml/assets/icons/png/32/stream.png
new file mode 100644
index 0000000..0e2182b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/trash.png b/src/desktop/qml/assets/icons/png/32/trash.png
new file mode 100644
index 0000000..8ded8dc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/unlock.png b/src/desktop/qml/assets/icons/png/32/unlock.png
new file mode 100644
index 0000000..aec0cc3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/upscale.png b/src/desktop/qml/assets/icons/png/32/upscale.png
new file mode 100644
index 0000000..7911d05
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/video_file.png b/src/desktop/qml/assets/icons/png/32/video_file.png
new file mode 100644
index 0000000..250ce61
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/volume_down.png b/src/desktop/qml/assets/icons/png/32/volume_down.png
new file mode 100644
index 0000000..71f4753
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/volume_up.png b/src/desktop/qml/assets/icons/png/32/volume_up.png
new file mode 100644
index 0000000..d34a310
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/warning.png b/src/desktop/qml/assets/icons/png/32/warning.png
new file mode 100644
index 0000000..881104f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/zoom_in.png b/src/desktop/qml/assets/icons/png/32/zoom_in.png
new file mode 100644
index 0000000..2a39ffa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/32/zoom_out.png b/src/desktop/qml/assets/icons/png/32/zoom_out.png
new file mode 100644
index 0000000..ee96bd9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/32/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/actual_size.png b/src/desktop/qml/assets/icons/png/48/actual_size.png
new file mode 100644
index 0000000..0c2210c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/add_file.png b/src/desktop/qml/assets/icons/png/48/add_file.png
new file mode 100644
index 0000000..00dd7c1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/add_folder.png b/src/desktop/qml/assets/icons/png/48/add_folder.png
new file mode 100644
index 0000000..2c07cf1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/audio_wave.png b/src/desktop/qml/assets/icons/png/48/audio_wave.png
new file mode 100644
index 0000000..f12b26f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/before_after.png b/src/desktop/qml/assets/icons/png/48/before_after.png
new file mode 100644
index 0000000..5e17704
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/browse_folder.png b/src/desktop/qml/assets/icons/png/48/browse_folder.png
new file mode 100644
index 0000000..2a80849
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/brush.png b/src/desktop/qml/assets/icons/png/48/brush.png
new file mode 100644
index 0000000..122802d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/check.png b/src/desktop/qml/assets/icons/png/48/check.png
new file mode 100644
index 0000000..38ccb5d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/chevron_down.png b/src/desktop/qml/assets/icons/png/48/chevron_down.png
new file mode 100644
index 0000000..a3d5675
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/chevron_left.png b/src/desktop/qml/assets/icons/png/48/chevron_left.png
new file mode 100644
index 0000000..34f2580
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/chevron_right.png b/src/desktop/qml/assets/icons/png/48/chevron_right.png
new file mode 100644
index 0000000..fdf3373
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/chevron_up.png b/src/desktop/qml/assets/icons/png/48/chevron_up.png
new file mode 100644
index 0000000..14e2145
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/clear_all.png b/src/desktop/qml/assets/icons/png/48/clear_all.png
new file mode 100644
index 0000000..d0a530e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/clear_done.png b/src/desktop/qml/assets/icons/png/48/clear_done.png
new file mode 100644
index 0000000..4d1bec7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/clear_mask.png b/src/desktop/qml/assets/icons/png/48/clear_mask.png
new file mode 100644
index 0000000..6fb3a71
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/clipboard.png b/src/desktop/qml/assets/icons/png/48/clipboard.png
new file mode 100644
index 0000000..9a4d366
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/close.png b/src/desktop/qml/assets/icons/png/48/close.png
new file mode 100644
index 0000000..fbe6e47
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/collapse.png b/src/desktop/qml/assets/icons/png/48/collapse.png
new file mode 100644
index 0000000..1be7344
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/compare.png b/src/desktop/qml/assets/icons/png/48/compare.png
new file mode 100644
index 0000000..13b78d5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/console.png b/src/desktop/qml/assets/icons/png/48/console.png
new file mode 100644
index 0000000..45bbb6f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/crop.png b/src/desktop/qml/assets/icons/png/48/crop.png
new file mode 100644
index 0000000..a9374b8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/eraser.png b/src/desktop/qml/assets/icons/png/48/eraser.png
new file mode 100644
index 0000000..1edb083
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/error.png b/src/desktop/qml/assets/icons/png/48/error.png
new file mode 100644
index 0000000..89cbcec
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/48/exit_fullscreen.png
new file mode 100644
index 0000000..77ad7fd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/expand.png b/src/desktop/qml/assets/icons/png/48/expand.png
new file mode 100644
index 0000000..0e4f0a6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/export.png b/src/desktop/qml/assets/icons/png/48/export.png
new file mode 100644
index 0000000..ece0eec
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/external_link.png b/src/desktop/qml/assets/icons/png/48/external_link.png
new file mode 100644
index 0000000..8d9b09f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/eye.png b/src/desktop/qml/assets/icons/png/48/eye.png
new file mode 100644
index 0000000..31b0c86
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/eye_off.png b/src/desktop/qml/assets/icons/png/48/eye_off.png
new file mode 100644
index 0000000..c4c1f1d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/file.png b/src/desktop/qml/assets/icons/png/48/file.png
new file mode 100644
index 0000000..b7b272d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/fit_to_window.png b/src/desktop/qml/assets/icons/png/48/fit_to_window.png
new file mode 100644
index 0000000..8ced163
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/focus_preview.png b/src/desktop/qml/assets/icons/png/48/focus_preview.png
new file mode 100644
index 0000000..1e9d146
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/folder.png b/src/desktop/qml/assets/icons/png/48/folder.png
new file mode 100644
index 0000000..e0f98b3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/frame_interpolation.png b/src/desktop/qml/assets/icons/png/48/frame_interpolation.png
new file mode 100644
index 0000000..5ed91c2
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/fullscreen.png b/src/desktop/qml/assets/icons/png/48/fullscreen.png
new file mode 100644
index 0000000..7d18ed9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/github.png b/src/desktop/qml/assets/icons/png/48/github.png
new file mode 100644
index 0000000..62733ee
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/go_to_end.png b/src/desktop/qml/assets/icons/png/48/go_to_end.png
new file mode 100644
index 0000000..437d753
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/go_to_start.png b/src/desktop/qml/assets/icons/png/48/go_to_start.png
new file mode 100644
index 0000000..47a683a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/gpu.png b/src/desktop/qml/assets/icons/png/48/gpu.png
new file mode 100644
index 0000000..f5fa984
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/hdr.png b/src/desktop/qml/assets/icons/png/48/hdr.png
new file mode 100644
index 0000000..1fb9caa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/heart.png b/src/desktop/qml/assets/icons/png/48/heart.png
new file mode 100644
index 0000000..5efca58
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/help.png b/src/desktop/qml/assets/icons/png/48/help.png
new file mode 100644
index 0000000..47b1c6f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/home.png b/src/desktop/qml/assets/icons/png/48/home.png
new file mode 100644
index 0000000..9ddb313
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/image_file.png b/src/desktop/qml/assets/icons/png/48/image_file.png
new file mode 100644
index 0000000..d9bea5a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/import.png b/src/desktop/qml/assets/icons/png/48/import.png
new file mode 100644
index 0000000..04b356f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/inbox_import.png b/src/desktop/qml/assets/icons/png/48/inbox_import.png
new file mode 100644
index 0000000..4c74749
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/info.png b/src/desktop/qml/assets/icons/png/48/info.png
new file mode 100644
index 0000000..c751020
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/link.png b/src/desktop/qml/assets/icons/png/48/link.png
new file mode 100644
index 0000000..83b8838
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/live_video.png b/src/desktop/qml/assets/icons/png/48/live_video.png
new file mode 100644
index 0000000..745d1aa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/load_mask.png b/src/desktop/qml/assets/icons/png/48/load_mask.png
new file mode 100644
index 0000000..61e9464
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/loading.png b/src/desktop/qml/assets/icons/png/48/loading.png
new file mode 100644
index 0000000..126c46a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/lock.png b/src/desktop/qml/assets/icons/png/48/lock.png
new file mode 100644
index 0000000..c100154
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/logs_folder.png b/src/desktop/qml/assets/icons/png/48/logs_folder.png
new file mode 100644
index 0000000..1c4e3c7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/mask.png b/src/desktop/qml/assets/icons/png/48/mask.png
new file mode 100644
index 0000000..4c231a4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/maximize.png b/src/desktop/qml/assets/icons/png/48/maximize.png
new file mode 100644
index 0000000..9b297ad
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/menu.png b/src/desktop/qml/assets/icons/png/48/menu.png
new file mode 100644
index 0000000..464e2e0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/minimize.png b/src/desktop/qml/assets/icons/png/48/minimize.png
new file mode 100644
index 0000000..0029dd0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/minus.png b/src/desktop/qml/assets/icons/png/48/minus.png
new file mode 100644
index 0000000..dc267e8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/mute.png b/src/desktop/qml/assets/icons/png/48/mute.png
new file mode 100644
index 0000000..a32f755
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/network.png b/src/desktop/qml/assets/icons/png/48/network.png
new file mode 100644
index 0000000..e6d7619
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/neural_rendering.png b/src/desktop/qml/assets/icons/png/48/neural_rendering.png
new file mode 100644
index 0000000..15d1252
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/next_frame.png b/src/desktop/qml/assets/icons/png/48/next_frame.png
new file mode 100644
index 0000000..05a4e9f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/outputs_folder.png b/src/desktop/qml/assets/icons/png/48/outputs_folder.png
new file mode 100644
index 0000000..de1e357
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/panel_close.png b/src/desktop/qml/assets/icons/png/48/panel_close.png
new file mode 100644
index 0000000..7ee2870
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/panel_open.png b/src/desktop/qml/assets/icons/png/48/panel_open.png
new file mode 100644
index 0000000..0542ded
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/pause.png b/src/desktop/qml/assets/icons/png/48/pause.png
new file mode 100644
index 0000000..e1629ae
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/play.png b/src/desktop/qml/assets/icons/png/48/play.png
new file mode 100644
index 0000000..b205847
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/plus.png b/src/desktop/qml/assets/icons/png/48/plus.png
new file mode 100644
index 0000000..ba25c16
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/preview.png b/src/desktop/qml/assets/icons/png/48/preview.png
new file mode 100644
index 0000000..a73d3c6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/previous_frame.png b/src/desktop/qml/assets/icons/png/48/previous_frame.png
new file mode 100644
index 0000000..d22e824
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/quality_enhance.png b/src/desktop/qml/assets/icons/png/48/quality_enhance.png
new file mode 100644
index 0000000..3b5b6e8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/queue.png b/src/desktop/qml/assets/icons/png/48/queue.png
new file mode 100644
index 0000000..30d5ade
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/realtime.png b/src/desktop/qml/assets/icons/png/48/realtime.png
new file mode 100644
index 0000000..c62a4e6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/refresh.png b/src/desktop/qml/assets/icons/png/48/refresh.png
new file mode 100644
index 0000000..8940b94
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/reset.png b/src/desktop/qml/assets/icons/png/48/reset.png
new file mode 100644
index 0000000..19cf268
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/restore_window.png b/src/desktop/qml/assets/icons/png/48/restore_window.png
new file mode 100644
index 0000000..8fea7c1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/retry.png b/src/desktop/qml/assets/icons/png/48/retry.png
new file mode 100644
index 0000000..ce4636b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/48/reveal_in_explorer.png
new file mode 100644
index 0000000..984bc7a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/rotate.png b/src/desktop/qml/assets/icons/png/48/rotate.png
new file mode 100644
index 0000000..b89189c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/save_preset.png b/src/desktop/qml/assets/icons/png/48/save_preset.png
new file mode 100644
index 0000000..6a4127b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/search.png b/src/desktop/qml/assets/icons/png/48/search.png
new file mode 100644
index 0000000..e0dd296
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/selection.png b/src/desktop/qml/assets/icons/png/48/selection.png
new file mode 100644
index 0000000..aa7b522
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/settings.png b/src/desktop/qml/assets/icons/png/48/settings.png
new file mode 100644
index 0000000..0579b19
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/split_view.png b/src/desktop/qml/assets/icons/png/48/split_view.png
new file mode 100644
index 0000000..4a947bd
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/start_render.png b/src/desktop/qml/assets/icons/png/48/start_render.png
new file mode 100644
index 0000000..2ceeb96
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/stop.png b/src/desktop/qml/assets/icons/png/48/stop.png
new file mode 100644
index 0000000..6222377
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/stream.png b/src/desktop/qml/assets/icons/png/48/stream.png
new file mode 100644
index 0000000..d2ee383
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/trash.png b/src/desktop/qml/assets/icons/png/48/trash.png
new file mode 100644
index 0000000..9362aa6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/unlock.png b/src/desktop/qml/assets/icons/png/48/unlock.png
new file mode 100644
index 0000000..6f3f854
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/upscale.png b/src/desktop/qml/assets/icons/png/48/upscale.png
new file mode 100644
index 0000000..211d91f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/video_file.png b/src/desktop/qml/assets/icons/png/48/video_file.png
new file mode 100644
index 0000000..4a0306c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/volume_down.png b/src/desktop/qml/assets/icons/png/48/volume_down.png
new file mode 100644
index 0000000..848579a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/volume_up.png b/src/desktop/qml/assets/icons/png/48/volume_up.png
new file mode 100644
index 0000000..0d02dec
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/warning.png b/src/desktop/qml/assets/icons/png/48/warning.png
new file mode 100644
index 0000000..f430087
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/zoom_in.png b/src/desktop/qml/assets/icons/png/48/zoom_in.png
new file mode 100644
index 0000000..726f349
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/48/zoom_out.png b/src/desktop/qml/assets/icons/png/48/zoom_out.png
new file mode 100644
index 0000000..d5b0db4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/48/zoom_out.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/actual_size.png b/src/desktop/qml/assets/icons/png/64/actual_size.png
new file mode 100644
index 0000000..d9f9817
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/actual_size.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/add_file.png b/src/desktop/qml/assets/icons/png/64/add_file.png
new file mode 100644
index 0000000..b048f41
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/add_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/add_folder.png b/src/desktop/qml/assets/icons/png/64/add_folder.png
new file mode 100644
index 0000000..0c1ef29
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/add_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/audio_wave.png b/src/desktop/qml/assets/icons/png/64/audio_wave.png
new file mode 100644
index 0000000..157f139
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/audio_wave.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/before_after.png b/src/desktop/qml/assets/icons/png/64/before_after.png
new file mode 100644
index 0000000..4b334ec
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/before_after.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/browse_folder.png b/src/desktop/qml/assets/icons/png/64/browse_folder.png
new file mode 100644
index 0000000..ed2251d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/browse_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/brush.png b/src/desktop/qml/assets/icons/png/64/brush.png
new file mode 100644
index 0000000..4673550
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/brush.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/check.png b/src/desktop/qml/assets/icons/png/64/check.png
new file mode 100644
index 0000000..f41812a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/check.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/chevron_down.png b/src/desktop/qml/assets/icons/png/64/chevron_down.png
new file mode 100644
index 0000000..8461f8b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/chevron_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/chevron_left.png b/src/desktop/qml/assets/icons/png/64/chevron_left.png
new file mode 100644
index 0000000..a46b8a9
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/chevron_left.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/chevron_right.png b/src/desktop/qml/assets/icons/png/64/chevron_right.png
new file mode 100644
index 0000000..878ad5e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/chevron_right.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/chevron_up.png b/src/desktop/qml/assets/icons/png/64/chevron_up.png
new file mode 100644
index 0000000..aa6c9d3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/chevron_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/clear_all.png b/src/desktop/qml/assets/icons/png/64/clear_all.png
new file mode 100644
index 0000000..be3ca6f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/clear_all.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/clear_done.png b/src/desktop/qml/assets/icons/png/64/clear_done.png
new file mode 100644
index 0000000..c551a88
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/clear_done.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/clear_mask.png b/src/desktop/qml/assets/icons/png/64/clear_mask.png
new file mode 100644
index 0000000..38abe59
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/clear_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/clipboard.png b/src/desktop/qml/assets/icons/png/64/clipboard.png
new file mode 100644
index 0000000..6635315
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/clipboard.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/close.png b/src/desktop/qml/assets/icons/png/64/close.png
new file mode 100644
index 0000000..e7de24d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/close.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/collapse.png b/src/desktop/qml/assets/icons/png/64/collapse.png
new file mode 100644
index 0000000..b54d2fc
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/collapse.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/compare.png b/src/desktop/qml/assets/icons/png/64/compare.png
new file mode 100644
index 0000000..aa05ba5
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/compare.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/console.png b/src/desktop/qml/assets/icons/png/64/console.png
new file mode 100644
index 0000000..33d9526
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/console.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/crop.png b/src/desktop/qml/assets/icons/png/64/crop.png
new file mode 100644
index 0000000..3c9cdbb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/crop.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/eraser.png b/src/desktop/qml/assets/icons/png/64/eraser.png
new file mode 100644
index 0000000..fc0ef54
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/eraser.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/error.png b/src/desktop/qml/assets/icons/png/64/error.png
new file mode 100644
index 0000000..fc3b736
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/error.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/exit_fullscreen.png b/src/desktop/qml/assets/icons/png/64/exit_fullscreen.png
new file mode 100644
index 0000000..d964036
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/exit_fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/expand.png b/src/desktop/qml/assets/icons/png/64/expand.png
new file mode 100644
index 0000000..d77bbc1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/expand.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/export.png b/src/desktop/qml/assets/icons/png/64/export.png
new file mode 100644
index 0000000..64df678
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/export.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/external_link.png b/src/desktop/qml/assets/icons/png/64/external_link.png
new file mode 100644
index 0000000..df95d61
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/external_link.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/eye.png b/src/desktop/qml/assets/icons/png/64/eye.png
new file mode 100644
index 0000000..0493c97
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/eye.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/eye_off.png b/src/desktop/qml/assets/icons/png/64/eye_off.png
new file mode 100644
index 0000000..fd28abf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/eye_off.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/file.png b/src/desktop/qml/assets/icons/png/64/file.png
new file mode 100644
index 0000000..7a66ab0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/file.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/fit_to_window.png b/src/desktop/qml/assets/icons/png/64/fit_to_window.png
new file mode 100644
index 0000000..2e14df3
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/fit_to_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/focus_preview.png b/src/desktop/qml/assets/icons/png/64/focus_preview.png
new file mode 100644
index 0000000..14b1334
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/focus_preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/folder.png b/src/desktop/qml/assets/icons/png/64/folder.png
new file mode 100644
index 0000000..3c9aa81
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/frame_interpolation.png b/src/desktop/qml/assets/icons/png/64/frame_interpolation.png
new file mode 100644
index 0000000..044365b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/frame_interpolation.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/fullscreen.png b/src/desktop/qml/assets/icons/png/64/fullscreen.png
new file mode 100644
index 0000000..c385872
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/fullscreen.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/github.png b/src/desktop/qml/assets/icons/png/64/github.png
new file mode 100644
index 0000000..e398d13
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/github.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/go_to_end.png b/src/desktop/qml/assets/icons/png/64/go_to_end.png
new file mode 100644
index 0000000..39205c8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/go_to_end.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/go_to_start.png b/src/desktop/qml/assets/icons/png/64/go_to_start.png
new file mode 100644
index 0000000..6e8749b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/go_to_start.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/gpu.png b/src/desktop/qml/assets/icons/png/64/gpu.png
new file mode 100644
index 0000000..c8d16c0
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/gpu.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/hdr.png b/src/desktop/qml/assets/icons/png/64/hdr.png
new file mode 100644
index 0000000..b4cb17c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/hdr.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/heart.png b/src/desktop/qml/assets/icons/png/64/heart.png
new file mode 100644
index 0000000..5db564c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/heart.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/help.png b/src/desktop/qml/assets/icons/png/64/help.png
new file mode 100644
index 0000000..7cb42f1
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/help.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/home.png b/src/desktop/qml/assets/icons/png/64/home.png
new file mode 100644
index 0000000..b17e88a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/home.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/image_file.png b/src/desktop/qml/assets/icons/png/64/image_file.png
new file mode 100644
index 0000000..49ef426
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/image_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/import.png b/src/desktop/qml/assets/icons/png/64/import.png
new file mode 100644
index 0000000..70e0562
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/import.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/inbox_import.png b/src/desktop/qml/assets/icons/png/64/inbox_import.png
new file mode 100644
index 0000000..c358296
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/inbox_import.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/info.png b/src/desktop/qml/assets/icons/png/64/info.png
new file mode 100644
index 0000000..2a7ed36
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/info.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/link.png b/src/desktop/qml/assets/icons/png/64/link.png
new file mode 100644
index 0000000..f17b3fb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/link.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/live_video.png b/src/desktop/qml/assets/icons/png/64/live_video.png
new file mode 100644
index 0000000..f6adaaf
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/live_video.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/load_mask.png b/src/desktop/qml/assets/icons/png/64/load_mask.png
new file mode 100644
index 0000000..4d7dc3a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/load_mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/loading.png b/src/desktop/qml/assets/icons/png/64/loading.png
new file mode 100644
index 0000000..658b770
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/loading.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/lock.png b/src/desktop/qml/assets/icons/png/64/lock.png
new file mode 100644
index 0000000..17f43b6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/lock.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/logs_folder.png b/src/desktop/qml/assets/icons/png/64/logs_folder.png
new file mode 100644
index 0000000..c21f0d7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/logs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/mask.png b/src/desktop/qml/assets/icons/png/64/mask.png
new file mode 100644
index 0000000..757346e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/mask.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/maximize.png b/src/desktop/qml/assets/icons/png/64/maximize.png
new file mode 100644
index 0000000..9eccd48
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/maximize.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/menu.png b/src/desktop/qml/assets/icons/png/64/menu.png
new file mode 100644
index 0000000..18d8e6d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/menu.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/minimize.png b/src/desktop/qml/assets/icons/png/64/minimize.png
new file mode 100644
index 0000000..2cc4e70
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/minimize.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/minus.png b/src/desktop/qml/assets/icons/png/64/minus.png
new file mode 100644
index 0000000..5518fd6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/minus.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/mute.png b/src/desktop/qml/assets/icons/png/64/mute.png
new file mode 100644
index 0000000..85b8d14
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/mute.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/network.png b/src/desktop/qml/assets/icons/png/64/network.png
new file mode 100644
index 0000000..6b9620d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/network.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/neural_rendering.png b/src/desktop/qml/assets/icons/png/64/neural_rendering.png
new file mode 100644
index 0000000..a54126f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/neural_rendering.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/next_frame.png b/src/desktop/qml/assets/icons/png/64/next_frame.png
new file mode 100644
index 0000000..b621b53
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/next_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/outputs_folder.png b/src/desktop/qml/assets/icons/png/64/outputs_folder.png
new file mode 100644
index 0000000..4fd0ada
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/outputs_folder.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/panel_close.png b/src/desktop/qml/assets/icons/png/64/panel_close.png
new file mode 100644
index 0000000..355076e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/panel_close.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/panel_open.png b/src/desktop/qml/assets/icons/png/64/panel_open.png
new file mode 100644
index 0000000..d0d74f6
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/panel_open.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/pause.png b/src/desktop/qml/assets/icons/png/64/pause.png
new file mode 100644
index 0000000..be5b66c
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/pause.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/play.png b/src/desktop/qml/assets/icons/png/64/play.png
new file mode 100644
index 0000000..fff0b50
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/play.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/plus.png b/src/desktop/qml/assets/icons/png/64/plus.png
new file mode 100644
index 0000000..9cb30a4
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/plus.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/preview.png b/src/desktop/qml/assets/icons/png/64/preview.png
new file mode 100644
index 0000000..4022f26
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/preview.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/previous_frame.png b/src/desktop/qml/assets/icons/png/64/previous_frame.png
new file mode 100644
index 0000000..4d90377
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/previous_frame.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/quality_enhance.png b/src/desktop/qml/assets/icons/png/64/quality_enhance.png
new file mode 100644
index 0000000..95f197e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/quality_enhance.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/queue.png b/src/desktop/qml/assets/icons/png/64/queue.png
new file mode 100644
index 0000000..c5795b8
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/queue.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/realtime.png b/src/desktop/qml/assets/icons/png/64/realtime.png
new file mode 100644
index 0000000..6cc1b5f
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/realtime.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/refresh.png b/src/desktop/qml/assets/icons/png/64/refresh.png
new file mode 100644
index 0000000..52fa194
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/refresh.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/reset.png b/src/desktop/qml/assets/icons/png/64/reset.png
new file mode 100644
index 0000000..a552278
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/reset.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/restore_window.png b/src/desktop/qml/assets/icons/png/64/restore_window.png
new file mode 100644
index 0000000..aa93807
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/restore_window.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/retry.png b/src/desktop/qml/assets/icons/png/64/retry.png
new file mode 100644
index 0000000..899c51d
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/retry.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/reveal_in_explorer.png b/src/desktop/qml/assets/icons/png/64/reveal_in_explorer.png
new file mode 100644
index 0000000..2ffae41
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/reveal_in_explorer.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/rotate.png b/src/desktop/qml/assets/icons/png/64/rotate.png
new file mode 100644
index 0000000..9d493e7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/rotate.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/save_preset.png b/src/desktop/qml/assets/icons/png/64/save_preset.png
new file mode 100644
index 0000000..585505a
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/save_preset.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/search.png b/src/desktop/qml/assets/icons/png/64/search.png
new file mode 100644
index 0000000..8c67d24
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/search.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/selection.png b/src/desktop/qml/assets/icons/png/64/selection.png
new file mode 100644
index 0000000..786ec70
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/selection.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/settings.png b/src/desktop/qml/assets/icons/png/64/settings.png
new file mode 100644
index 0000000..3df87bb
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/settings.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/split_view.png b/src/desktop/qml/assets/icons/png/64/split_view.png
new file mode 100644
index 0000000..5bfc6e7
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/split_view.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/start_render.png b/src/desktop/qml/assets/icons/png/64/start_render.png
new file mode 100644
index 0000000..cec0c43
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/start_render.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/stop.png b/src/desktop/qml/assets/icons/png/64/stop.png
new file mode 100644
index 0000000..b7cffaa
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/stop.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/stream.png b/src/desktop/qml/assets/icons/png/64/stream.png
new file mode 100644
index 0000000..e045156
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/stream.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/trash.png b/src/desktop/qml/assets/icons/png/64/trash.png
new file mode 100644
index 0000000..204af1b
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/trash.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/unlock.png b/src/desktop/qml/assets/icons/png/64/unlock.png
new file mode 100644
index 0000000..21cba78
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/unlock.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/upscale.png b/src/desktop/qml/assets/icons/png/64/upscale.png
new file mode 100644
index 0000000..307ac10
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/upscale.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/video_file.png b/src/desktop/qml/assets/icons/png/64/video_file.png
new file mode 100644
index 0000000..e339d85
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/video_file.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/volume_down.png b/src/desktop/qml/assets/icons/png/64/volume_down.png
new file mode 100644
index 0000000..4a25265
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/volume_down.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/volume_up.png b/src/desktop/qml/assets/icons/png/64/volume_up.png
new file mode 100644
index 0000000..9b4d056
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/volume_up.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/warning.png b/src/desktop/qml/assets/icons/png/64/warning.png
new file mode 100644
index 0000000..d0f4610
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/warning.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/zoom_in.png b/src/desktop/qml/assets/icons/png/64/zoom_in.png
new file mode 100644
index 0000000..ce5528e
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/zoom_in.png differ
diff --git a/src/desktop/qml/assets/icons/png/64/zoom_out.png b/src/desktop/qml/assets/icons/png/64/zoom_out.png
new file mode 100644
index 0000000..6cb9b14
Binary files /dev/null and b/src/desktop/qml/assets/icons/png/64/zoom_out.png differ
diff --git a/src/desktop/qml/components/BatchQueueDrawer.qml b/src/desktop/qml/components/BatchQueueDrawer.qml
index 1107e05..46c76d1 100644
--- a/src/desktop/qml/components/BatchQueueDrawer.qml
+++ b/src/desktop/qml/components/BatchQueueDrawer.qml
@@ -25,16 +25,17 @@ Rectangle {
height: 36; color: "transparent"
Row {
anchors.left: parent.left; anchors.leftMargin: 12; anchors.verticalCenter: parent.verticalCenter; spacing: 8
+ AppIcon { iconName: "queue"; iconSize: 16; color: Theme.textPrimary; anchors.verticalCenter: parent.verticalCenter }
Text { text: "Batch Queue"; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel; font.weight: Font.DemiBold; color: Theme.textPrimary; anchors.verticalCenter: parent.verticalCenter }
AppBadge { text: queueModel ? (queueModel.count + " files") : "0 files"; variant: queueModel && queueModel.count > 0 ? "accent" : "neutral"; anchors.verticalCenter: parent.verticalCenter }
- AppButton { text: "+ Files"; buttonHeight: 22; enabled: appBridge ? appBridge.canModifyQueue : true; onClicked: fileDialog.open() }
- AppButton { text: "+ Folder"; buttonHeight: 22; enabled: appBridge ? appBridge.canModifyQueue : true; onClicked: folderDialog.open() }
- AppButton { text: "Clear Done"; buttonHeight: 22; enabled: queueModel && queueModel.count > 0 && (appBridge ? appBridge.canModifyQueue : true); onClicked: { if (appBridge) appBridge.clearCompletedQueueItems() } }
- AppButton { text: "Clear All"; buttonHeight: 22; enabled: queueModel && queueModel.count > 0 && (appBridge ? appBridge.canModifyQueue : true); onClicked: { if (appBridge) appBridge.clearActiveQueue() } }
+ AppIconButton { iconName: "add_file"; buttonSize: 24; tooltipText: "Add files"; enabled: appBridge ? appBridge.canModifyQueue : true; onClicked: fileDialog.open() }
+ AppIconButton { iconName: "add_folder"; buttonSize: 24; tooltipText: "Add folder"; enabled: appBridge ? appBridge.canModifyQueue : true; onClicked: folderDialog.open() }
+ AppIconButton { iconName: "clear_done"; buttonSize: 24; tooltipText: "Clear completed items"; enabled: queueModel && queueModel.count > 0 && (appBridge ? appBridge.canModifyQueue : true); onClicked: { if (appBridge) appBridge.clearCompletedQueueItems() } }
+ AppIconButton { iconName: "clear_all"; buttonSize: 24; tooltipText: "Clear all items"; enabled: queueModel && queueModel.count > 0 && (appBridge ? appBridge.canModifyQueue : true); onClicked: { if (appBridge) appBridge.clearActiveQueue() } }
}
AppIconButton {
anchors.right: parent.right; anchors.rightMargin: 10; anchors.verticalCenter: parent.verticalCenter
- iconSymbol: drawer.collapsed ? "^" : "v"
+ iconName: drawer.collapsed ? "chevron_up" : "chevron_down"
tooltipText: drawer.collapsed ? "Expand queue" : "Collapse queue"
onClicked: drawer.collapsed = !drawer.collapsed
}
@@ -43,10 +44,29 @@ Rectangle {
ListView {
id: queueList
+ objectName: "batchQueueList"
anchors.top: header.bottom; anchors.left: parent.left; anchors.right: parent.right; anchors.bottom: parent.bottom
anchors.margins: 8; orientation: ListView.Horizontal; spacing: 8; clip: true
+ flickableDirection: Flickable.HorizontalFlick
+ boundsBehavior: Flickable.StopAtBounds
+ pressDelay: 120
+ synchronousDrag: true
visible: !drawer.collapsed; model: drawer.queueModel
+ WheelHandler {
+ target: null
+ enabled: queueList.contentWidth > queueList.width
+ onWheel: (event) => {
+ var delta = event.pixelDelta.x || event.pixelDelta.y
+ if (!delta) delta = event.angleDelta.x || event.angleDelta.y
+ if (!delta) return
+ var left = queueList.originX
+ var right = left + Math.max(0, queueList.contentWidth - queueList.width)
+ queueList.contentX = Math.max(left, Math.min(right, queueList.contentX - delta))
+ event.accepted = true
+ }
+ }
+
delegate: Rectangle {
id: itemCard
required property int index
@@ -91,7 +111,7 @@ Rectangle {
width: parent.width; spacing: 6
Text { width: parent.width - removeBtn.width - 8; text: itemCard.fileName; elide: Text.ElideMiddle; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel; font.weight: Font.DemiBold; color: Theme.textPrimary }
AppIconButton {
- id: removeBtn; z: 20; iconSymbol: "x"; buttonSize: 20; showTooltip: false
+ id: removeBtn; z: 20; iconName: "trash"; buttonSize: 20; tooltipText: "Remove from queue"
visible: appBridge ? appBridge.canModifyQueue : true
onClicked: { if (appBridge) appBridge.removeQueueItem(itemCard.index) }
}
@@ -113,7 +133,7 @@ Rectangle {
Row {
width: parent.width; spacing: 8
Text { text: itemCard.elapsedSeconds > 0 ? (itemCard.elapsedSeconds.toFixed(1) + "s") : ""; color: Theme.textMuted; font.family: Theme.monoFontFamily; font.pixelSize: 10 }
- AppButton { text: "Reveal"; buttonHeight: 20; visible: itemCard.outputPath !== ""; onClicked: { if (appBridge) appBridge.openFolder(itemCard.outputPath) } }
+ AppButton { text: "Reveal"; iconName: "reveal_in_explorer"; buttonHeight: 20; visible: itemCard.outputPath !== ""; onClicked: { if (appBridge) appBridge.openFolder(itemCard.outputPath) } }
}
}
}
diff --git a/src/desktop/qml/components/CompositionCard.qml b/src/desktop/qml/components/CompositionCard.qml
index dc5becd..87f8b4c 100644
--- a/src/desktop/qml/components/CompositionCard.qml
+++ b/src/desktop/qml/components/CompositionCard.qml
@@ -20,6 +20,7 @@ AppCard {
AppButton {
text: "Apply Detail-Only Preset"
+ iconName: "quality_enhance"
width: parent.width
buttonHeight: 28
onClicked: {
@@ -105,12 +106,14 @@ AppCard {
AppButton {
text: "Load Custom Mask..."
+ iconName: "load_mask"
buttonHeight: 24
onClicked: maskDialog.open()
}
AppButton {
text: "Clear Mask"
+ iconName: "clear_mask"
buttonHeight: 24
onClicked: {
if (appBridge) appBridge.clearCustomMask()
diff --git a/src/desktop/qml/components/DropZone.qml b/src/desktop/qml/components/DropZone.qml
index e68e5d3..532abea 100644
--- a/src/desktop/qml/components/DropZone.qml
+++ b/src/desktop/qml/components/DropZone.qml
@@ -42,6 +42,13 @@ Rectangle {
spacing: 16
width: Math.min(parent.width - 40, 480)
+ AppIcon {
+ anchors.horizontalCenter: parent.horizontalCenter
+ iconName: "inbox_import"
+ iconSize: 48
+ color: dropArea.containsDrag ? Theme.accent : Theme.textSecondary
+ }
+
// Main prompt
Text {
anchors.horizontalCenter: parent.horizontalCenter
@@ -59,12 +66,14 @@ Rectangle {
AppButton {
text: "Choose Files..."
+ iconName: "add_file"
variant: "secondary"
onClicked: fileDialog.open()
}
AppButton {
text: "Choose Folder..."
+ iconName: "add_folder"
variant: "secondary"
onClicked: folderDialog.open()
}
diff --git a/src/desktop/qml/components/ExportDialog.qml b/src/desktop/qml/components/ExportDialog.qml
new file mode 100644
index 0000000..616cdc0
--- /dev/null
+++ b/src/desktop/qml/components/ExportDialog.qml
@@ -0,0 +1,181 @@
+import QtQuick
+import QtQuick.Controls as QQC2
+import QtQuick.Dialogs
+import ".."
+import "../controls"
+
+QQC2.Dialog {
+ id: exportDialog
+ property var appBridge: null
+ property string contextKey: ""
+ property string destinationMode: "output"
+ property string selectedFolder: ""
+ property string renameMode: "Auto"
+ property string customSuffix: ""
+ property string errorMessage: ""
+
+ function openForContext(key) {
+ if (!appBridge) return
+ contextKey = key
+ destinationMode = "output"
+ selectedFolder = ""
+ errorMessage = ""
+ if (key === "nr-image") {
+ renameMode = appBridge.imageRenameMode
+ customSuffix = appBridge.imageCustomSuffix
+ } else if (key === "nr-video") {
+ renameMode = appBridge.videoRenameMode
+ customSuffix = appBridge.videoCustomSuffix
+ } else if (key === "upscale-image") {
+ renameMode = appBridge.upscaleImageRenameMode
+ customSuffix = appBridge.upscaleImageCustomSuffix
+ } else if (key === "upscale-video") {
+ renameMode = appBridge.upscaleRenameMode
+ customSuffix = appBridge.upscaleCustomSuffix
+ } else if (key === "fi-video") {
+ renameMode = appBridge.fiRenameMode
+ customSuffix = appBridge.fiCustomSuffix
+ } else {
+ return
+ }
+ open()
+ }
+
+ parent: QQC2.Overlay.overlay
+ anchors.centerIn: parent
+ width: Math.min(560, parent ? parent.width - 40 : 560)
+ z: 20000
+ focus: true
+ modal: true
+ closePolicy: QQC2.Popup.CloseOnEscape
+ leftPadding: 20
+ rightPadding: 20
+ topPadding: 12
+ bottomPadding: 20
+
+ header: QQC2.Label {
+ text: "Export"
+ color: Theme.textPrimary
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeTitle
+ font.weight: Font.Bold
+ leftPadding: 20
+ rightPadding: 20
+ topPadding: 16
+ bottomPadding: 4
+ }
+ background: Rectangle { color: Theme.bgSurface; border.width: 0; radius: Theme.radiusLarge }
+
+ contentItem: Column {
+ width: exportDialog.width - exportDialog.leftPadding - exportDialog.rightPadding
+ spacing: 12
+
+ AppSegmentedControl {
+ width: parent.width
+ label: "Export Path"
+ model: [
+ { label: "Same as Input", value: "input" },
+ { label: "Output", value: "output" },
+ { label: "Select Folder", value: "folder" }
+ ]
+ currentValue: exportDialog.destinationMode
+ onActivated: (value) => { exportDialog.destinationMode = value; exportDialog.errorMessage = "" }
+ }
+
+ Text {
+ width: parent.width
+ wrapMode: Text.WordWrap
+ text: exportDialog.destinationMode === "input"
+ ? "Save each result beside its source file."
+ : (exportDialog.destinationMode === "output"
+ ? "Save results in the program's outputs folder."
+ : "Choose the folder where results will be saved.")
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeLabel
+ color: Theme.textSecondary
+ }
+
+ Column {
+ width: parent.width
+ spacing: 6
+ visible: exportDialog.destinationMode === "folder"
+ AppButton {
+ text: "Choose Folder..."
+ iconName: "browse_folder"
+ onClicked: folderDialog.open()
+ }
+ Text {
+ width: parent.width
+ text: exportDialog.selectedFolder
+ ? decodeURIComponent(exportDialog.selectedFolder.replace(/^file:\/\/\//, ""))
+ : "No folder selected"
+ elide: Text.ElideMiddle
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeLabel
+ color: exportDialog.selectedFolder ? Theme.textPrimary : Theme.textMuted
+ }
+ }
+
+ AppSegmentedControl {
+ width: parent.width
+ label: "Rename Mode"
+ model: exportDialog.appBridge ? exportDialog.appBridge.renameModeChoices : []
+ currentValue: exportDialog.renameMode
+ onActivated: (value) => { exportDialog.renameMode = value; exportDialog.errorMessage = "" }
+ }
+
+ AppTextField {
+ visible: exportDialog.renameMode === "Custom"
+ width: parent.width
+ label: "Custom Suffix"
+ text: exportDialog.customSuffix
+ onTextEdited: (value) => { exportDialog.customSuffix = value; exportDialog.errorMessage = "" }
+ }
+
+ Text {
+ visible: exportDialog.errorMessage !== ""
+ width: parent.width
+ text: exportDialog.errorMessage
+ wrapMode: Text.WordWrap
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeLabel
+ color: Theme.danger
+ }
+
+ Row {
+ width: parent.width
+ spacing: 8
+ AppButton {
+ text: "Cancel"
+ width: (parent.width - 8) / 2
+ onClicked: exportDialog.close()
+ }
+ AppButton {
+ text: "Export / Start"
+ iconName: "start_render"
+ variant: "primary"
+ width: (parent.width - 8) / 2
+ onClicked: {
+ if (!exportDialog.appBridge) return
+ var error = exportDialog.appBridge.startActiveBatchWithExport(
+ exportDialog.contextKey,
+ exportDialog.destinationMode,
+ exportDialog.selectedFolder,
+ exportDialog.renameMode,
+ exportDialog.customSuffix)
+ if (error) exportDialog.errorMessage = error
+ else exportDialog.close()
+ }
+ }
+ }
+ }
+
+ FolderDialog {
+ id: folderDialog
+ title: "Select Export Folder"
+ onAccepted: {
+ exportDialog.selectedFolder = selectedFolder.toString()
+ exportDialog.errorMessage = ""
+ }
+ }
+}
diff --git a/src/desktop/qml/components/HeaderBar.qml b/src/desktop/qml/components/HeaderBar.qml
index c40a052..46f5df2 100644
--- a/src/desktop/qml/components/HeaderBar.qml
+++ b/src/desktop/qml/components/HeaderBar.qml
@@ -81,6 +81,7 @@ Rectangle {
anchors.left: parent.left; anchors.leftMargin: 12; anchors.verticalCenter: parent.verticalCenter; spacing: 8
Image {
source: Qt.resolvedUrl("../../../../native (dev)/icon.png")
+ sourceSize: Qt.size(112, 112)
width: 28; height: 28
fillMode: Image.PreserveAspectFit
smooth: true
@@ -106,14 +107,14 @@ Rectangle {
// receives it — so a click arriving here always means the OS did
// NOT claim it (mapping miss) and minimizing is the right action.
// maxBtn/closeBtn keep the guard (toggle/close double-delivery).
- AppIconButton { id: minBtn; iconKind: "min"; showTooltip: false; onClicked: { if (windowRef) windowRef.showMinimized() } }
+ AppIconButton { id: minBtn; iconName: "minimize"; showTooltip: false; onClicked: { if (windowRef) windowRef.showMinimized() } }
AppIconButton {
id: maxBtn
- iconKind: windowRef && (windowRef.visibility === Window.Maximized || windowRef.visibility === Window.FullScreen) ? "restore" : "max"
+ iconName: windowRef && (windowRef.visibility === Window.Maximized || windowRef.visibility === Window.FullScreen) ? "restore_window" : "maximize"
showTooltip: false
onClicked: { if (root.nativeChrome) return; root.toggleMaximize() }
}
- AppIconButton { id: closeBtn; iconKind: "close"; showTooltip: false; hoverColor: Theme.danger; onClicked: { if (root.nativeChrome) return; if (windowRef) windowRef.close() } }
+ AppIconButton { id: closeBtn; iconName: "close"; showTooltip: false; hoverColor: Theme.danger; onClicked: { if (root.nativeChrome) return; if (windowRef) windowRef.close() } }
}
}
@@ -125,28 +126,40 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
spacing: 4
readonly property var tabs: [
- { id:"neural-rendering", full:"Neural Rendering", short:"Neural" },
- { id:"upscale", full:"Upscale", short:"Upscale" },
- { id:"frame-interpolation", full:"Frame Interpolation", short:"Interp" },
- { id:"live", full:"Live", short:"Live" },
- { id:"settings", full:"Settings", short:"Settings" },
- { id:"help", full:"Help", short:"Help" }
+ { id:"neural-rendering", full:"Neural Rendering", short:"Neural", icon:"neural_rendering" },
+ { id:"upscale", full:"Upscale", short:"Upscale", icon:"upscale" },
+ { id:"frame-interpolation", full:"Frame Interpolation", short:"Interp", icon:"frame_interpolation" },
+ { id:"live", full:"Live", short:"Live", icon:"live_video" },
+ { id:"settings", full:"Settings", short:"Settings", icon:"settings" },
+ { id:"help", full:"Help", short:"Help", icon:"help" }
]
Repeater {
model: navTabs.tabs
Item {
id: tabBtn
height: 28
- width: tabLabel.implicitWidth + 20
+ width: tabLabel.implicitWidth + 42
readonly property bool isActive: appBridge ? appBridge.activeTab === modelData.id : false
- Text {
- id: tabLabel
+ Row {
anchors.centerIn: parent
- text: root.compact ? modelData.short : modelData.full
- font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel
- font.weight: Font.Normal
- color: tabBtn.isActive ? Theme.accent : (tabMouse.containsMouse ? Theme.textPrimary : Theme.textSecondary)
+ spacing: 6
+ AppIcon {
+ iconName: modelData.icon
+ iconSize: 20
+ color: tabBtn.isActive ? Theme.accent : (tabMouse.containsMouse ? Theme.textPrimary : Theme.textSecondary)
+ anchors.verticalCenter: parent.verticalCenter
+ }
+ Text {
+ id: tabLabel
+ text: root.compact ? modelData.short : modelData.full
+ font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel
+ font.weight: Font.Normal
+ color: tabBtn.isActive ? Theme.accent : (tabMouse.containsMouse ? Theme.textPrimary : Theme.textSecondary)
+ anchors.verticalCenter: parent.verticalCenter
+ }
}
+ Accessible.role: Accessible.PageTab
+ Accessible.name: modelData.full
MouseArea {
id: tabMouse; anchors.fill: parent; hoverEnabled: true; cursorShape: Qt.PointingHandCursor
onClicked: { if (appBridge) appBridge.activeTab = modelData.id }
diff --git a/src/desktop/qml/components/MediaViewport.qml b/src/desktop/qml/components/MediaViewport.qml
index a672ef6..5d74770 100644
--- a/src/desktop/qml/components/MediaViewport.qml
+++ b/src/desktop/qml/components/MediaViewport.qml
@@ -41,24 +41,27 @@ Rectangle {
// any layout. The transport always masters the input timeline (even on
// the Output tab), so every scrub addresses input frames and refreshes
// the preview at the settled playhead. The Preview button stays the
- // manual render path. Frame Interpolation is manual-only ("Preview"):
- // it never scrub-refreshes even when the global switch is on.
+ // manual render path. Frame Interpolation and a rendered Upscale clip
+ // use green timeline spans, so scrubbing those clips never starts a
+ // one-frame realtime render over the processed range.
readonly property bool isFITab: appBridge && appBridge.activeTab === "frame-interpolation"
- readonly property bool scrubRefreshEligible: appBridge && appBridge.autoPreviewEnabled && !viewport.isFITab && viewport.hasOutput && appBridge.previewOutputIsVideo
- // FI pre-rendered span containing timeline second sec, newest first wins
+ readonly property var renderedPreviewRanges: appBridge ? appBridge.previewRenderedRanges : []
+ readonly property bool hasRangePlayback: viewport.isFITab || (appBridge && appBridge.activeTab === "upscale" && appBridge.upscaleMode === "Video" && viewport.renderedPreviewRanges.length > 0)
+ readonly property bool scrubRefreshEligible: appBridge && appBridge.autoPreviewEnabled && !viewport.hasRangePlayback && viewport.hasOutput && appBridge.previewOutputIsVideo
+ // Pre-rendered span containing timeline second sec, newest first wins
// so re-rendered spans resolve to the latest clip. Null when outside all
// green spans (or when ranges are unavailable).
function fiRangeAt(sec) {
- if (!viewport.isFITab || !appBridge || !appBridge.previewRenderedRanges) return null
- var rs = appBridge.previewRenderedRanges
+ if (!viewport.hasRangePlayback) return null
+ var rs = viewport.renderedPreviewRanges
for (var i = rs.length - 1; i >= 0; i--) {
var r = rs[i]
if (sec >= r.start && sec < r.end) return r
}
return null
}
- // Range under the live playhead + the clip the output pane should show
- // on the FI tab. Swap discipline (this is what keeps playback smooth):
+ // Range under the live playhead + the clip the output pane should show.
+ // Swap discipline (this is what keeps playback smooth):
// a VISIBLE player is never re-pointed. fiPinned is assigned only while
// hidden (forward pre-warm), on settled pause/seek snaps, or in 2-Up
// exact-follow. Boundary flips therefore land on an already-decoding
@@ -75,8 +78,14 @@ Rectangle {
var bu = (r && r.url) ? r.url : ""
if (au !== bu) viewport.fiPinned = r
}
+ function syncRangePin() {
+ viewport.fiLastPosMs = -1
+ viewport.fiPinTo(viewport.hasRangePlayback ? viewport.fiRangeAt(viewport.playheadMs / 1000.0) : null)
+ }
+ onHasRangePlaybackChanged: Qt.callLater(viewport.syncRangePin)
+ onRenderedPreviewRangesChanged: Qt.callLater(viewport.syncRangePin)
readonly property string fiOutputUrl: {
- if (!viewport.isFITab || !appBridge) return ""
+ if (!viewport.hasRangePlayback || !appBridge) return ""
if (viewport.fiPinned && viewport.fiPinned.url) return viewport.fiPinned.url
return appBridge.previewInputIsVideo ? appBridge.previewInputUrl : ""
}
@@ -166,21 +175,21 @@ Rectangle {
onDurationChanged: (d) => { console.log("inputPlayer duration:", d, "source:", source) }
// Output mirror: input is the master timeline in every layout; the
// output follows clamped to its own (usually single-frame) duration.
- // One-directional so no feedback loop is possible. On the FI tab the
+ // One-directional so no feedback loop is possible. For timed clips the
// playhead is mapped into the green span's own clip instead, and
// while playing the viewer auto-shows processed footage inside green
// spans and the original outside (paused tabs stay manual; peek and
// 2-Up are never overridden).
onPositionChanged: (pos) => {
- if (viewport.isFITab && viewport.mirrorOutput) {
+ if (viewport.hasRangePlayback && viewport.mirrorOutput) {
var r = viewport.fiRangeAt(pos / 1000.0)
var inputPlaying = inputPlayer.playbackState === MediaPlayer.PlayingState
var jump = viewport.fiLastPosMs < 0 || Math.abs(pos - viewport.fiLastPosMs) > 800
// Pinned clip went stale (ranges cleared by a settings tweak
// mid-play): drop it so the next rule re-pins exact.
- if (viewport.fiPinned && viewport.fiPinned.url && appBridge && appBridge.previewRenderedRanges) {
+ if (viewport.fiPinned && viewport.fiPinned.url) {
var alive = false
- var rs0 = appBridge.previewRenderedRanges
+ var rs0 = viewport.renderedPreviewRanges
for (var k = 0; k < rs0.length; k++) {
if (rs0[k].url === viewport.fiPinned.url) { alive = true; break }
}
@@ -267,12 +276,12 @@ Rectangle {
if (state !== MediaPlayer.PlayingState && appBridge && viewport.isVideo)
appBridge.notePlayheadMs(inputPlayer.position)
if (!viewport.mirrorOutput) return
- // Output always carries timeline-meaningful footage (on FI the
+ // Output always carries timeline-meaningful footage (for ranges the
// original outside green, the range clip inside), so it simply
- // runs/pauses with the input on every tab. On FI pause the pin
+ // runs/pauses with the input on every tab. On range pause the pin
// snaps exact (ticks don't fire while paused, so the Output tab
// inspects the settled frame, not a stale pre-warmed clip).
- if (viewport.isFITab && state !== MediaPlayer.PlayingState)
+ if (viewport.hasRangePlayback && state !== MediaPlayer.PlayingState)
viewport.fiPinTo(viewport.fiRangeAt(viewport.playheadMs / 1000.0))
if (state === MediaPlayer.PlayingState) outputPlayer.play()
else outputPlayer.pause()
@@ -280,18 +289,18 @@ Rectangle {
}
// Dedicated preview-output player (usually a single enhanced frame).
// Independent from inputPlayer so stepping/scrubbing the source is never
- // clamped to the 1-frame preview duration. On the FI tab the source
+ // clamped to the 1-frame preview duration. For timed clips the source
// follows the pinned span (pre-warmed up to fiLookaheadSec ahead while
// hidden, snapped exact on pause/seek); everywhere else it is the
- // latest preview output. FI range clips play once (loops: 1) so a span
+ // latest preview output. Range clips play once (loops: 1) so a span
// never replays at its end — playback continues with the original.
MediaPlayer {
id: outputPlayer
objectName: "outputPlayer"
- source: viewport.isVideo && appBridge ? (viewport.isFITab ? viewport.fiOutputUrl : (appBridge.previewOutputIsVideo ? appBridge.previewOutputUrl : "")) : ""
+ source: viewport.isVideo && appBridge ? (viewport.hasRangePlayback ? viewport.fiOutputUrl : (appBridge.previewOutputIsVideo ? appBridge.previewOutputUrl : "")) : ""
audioOutput: mediaAudio
videoOutput: outputSurface
- loops: viewport.isFITab ? 1 : MediaPlayer.Infinite
+ loops: viewport.hasRangePlayback ? 1 : MediaPlayer.Infinite
property bool primePending: false
onSourceChanged: {
pause()
@@ -372,14 +381,14 @@ Rectangle {
Row {
visible: !viewport.isVideo
anchors.right: parent.right; anchors.rightMargin: 10; anchors.verticalCenter: parent.verticalCenter; spacing: 6
- AppButton { text: "Fit"; buttonHeight: 26; width: 48; onClicked: viewport.fitToWindow() }
- AppButton { text: "100%"; buttonHeight: 26; width: 54; onClicked: viewport.actualPixels() }
+ AppIconButton { iconName: "fit_to_window"; buttonSize: 26; tooltipText: "Fit to window"; onClicked: viewport.fitToWindow() }
+ AppIconButton { iconName: "actual_size"; buttonSize: 26; tooltipText: "Actual pixels"; onClicked: viewport.actualPixels() }
Text { text: Math.round(viewport.displayScale * Math.max(1.0, Screen.devicePixelRatio) * 100) + "%"; color: Theme.textPrimary; font.family: Theme.monoFontFamily; anchors.verticalCenter: parent.verticalCenter }
- AppIconButton { iconSymbol: "-"; showTooltip: false; onClicked: viewport.changeZoom(0.8) }
- AppIconButton { iconSymbol: "+"; showTooltip: false; onClicked: viewport.changeZoom(1.25) }
+ AppIconButton { iconName: "zoom_out"; tooltipText: "Zoom out"; onClicked: viewport.changeZoom(0.8) }
+ AppIconButton { iconName: "zoom_in"; tooltipText: "Zoom in"; onClicked: viewport.changeZoom(1.25) }
AppIconButton {
- iconSymbol: appBridge && appBridge.focusPreview ? "[X]" : "[ ]"
- showTooltip: false
+ iconName: appBridge && appBridge.focusPreview ? "exit_fullscreen" : "focus_preview"
+ tooltipText: appBridge && appBridge.focusPreview ? "Exit focus preview" : "Focus preview"
onClicked: { if (appBridge) appBridge.focusPreview = !appBridge.focusPreview }
}
}
@@ -656,8 +665,8 @@ Rectangle {
frameRate: viewport.inputFps
fallbackDurationMs: viewport.inputDurationMs
fallbackFrameRate: viewport.inputFps
- // Green pre-rendered spans (FI "Preview" only; [] elsewhere).
- renderedRanges: viewport.isFITab && appBridge ? appBridge.previewRenderedRanges : []
+ // Green pre-rendered FI and Upscale clip spans.
+ renderedRanges: viewport.hasRangePlayback ? viewport.renderedPreviewRanges : []
onUserScrubbed: (posMs) => {
appBridge.notePlayheadMs(posMs)
if (viewport.scrubRefreshEligible) appBridge.schedulePreviewAt(posMs)
@@ -727,7 +736,7 @@ Rectangle {
border.color: Theme.borderDefault
border.width: 1
radius: Theme.radiusSmall
- implicitWidth: Math.max(124, Math.ceil(previewFontMetrics.width) + 24)
+ implicitWidth: Math.max(150, Math.ceil(previewFontMetrics.width) + 48)
}
delegate: QQC2.MenuItem {
@@ -736,14 +745,25 @@ Rectangle {
leftPadding: 10
rightPadding: 10
indicator: null
- contentItem: Text {
- text: previewMi.text
- color: !previewMi.enabled ? Theme.textMuted : (previewMi.highlighted ? Theme.textPrimary : Theme.textSecondary)
- font.family: Theme.fontFamily
- font.pixelSize: Theme.fontSizeBody
- font.weight: Font.Normal
- elide: Text.ElideRight
- verticalAlignment: Text.AlignVCenter
+ contentItem: Row {
+ spacing: 7
+ AppIcon {
+ iconName: previewMi.icon.name
+ iconSize: 14
+ color: !previewMi.enabled ? Theme.textMuted : (previewMi.highlighted ? Theme.textPrimary : Theme.textSecondary)
+ anchors.verticalCenter: parent.verticalCenter
+ }
+ Text {
+ width: Math.max(0, previewMi.width - 42)
+ text: previewMi.text
+ color: !previewMi.enabled ? Theme.textMuted : (previewMi.highlighted ? Theme.textPrimary : Theme.textSecondary)
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeBody
+ font.weight: Font.Normal
+ elide: Text.ElideRight
+ verticalAlignment: Text.AlignVCenter
+ anchors.verticalCenter: parent.verticalCenter
+ }
}
background: Rectangle {
color: previewMi.highlighted && previewMi.enabled ? Theme.bgHover : "transparent"
@@ -754,18 +774,21 @@ Rectangle {
QQC2.MenuItem {
implicitHeight: 25
text: viewport.isVideo ? "Clear video" : "Clear image"
+ icon.name: "trash"
enabled: viewport.hasInput && appBridge && appBridge.canModifyQueue
onTriggered: { if (appBridge) appBridge.clearSelectedPreviewItem() }
}
QQC2.MenuItem {
implicitHeight: 25
text: "Clear all"
+ icon.name: "clear_all"
enabled: viewport.hasInput && appBridge && appBridge.canModifyQueue
onTriggered: { if (appBridge) appBridge.clearActiveQueue() }
}
QQC2.MenuItem {
implicitHeight: 25
text: "Show in Explorer"
+ icon.name: "reveal_in_explorer"
enabled: viewport.hasInput && appBridge
onTriggered: { if (appBridge) appBridge.showSelectedInExplorer() }
}
diff --git a/src/desktop/qml/components/MenuStrip.qml b/src/desktop/qml/components/MenuStrip.qml
index abd2061..b323d22 100644
--- a/src/desktop/qml/components/MenuStrip.qml
+++ b/src/desktop/qml/components/MenuStrip.qml
@@ -203,8 +203,8 @@ Row {
onClosed: root.onMenuClosed(processMenu)
QQC2.MenuItem {
text: "Start / Render"
- enabled: root.appBridge ? root.appBridge.canRender : false
- onTriggered: { if (root.appBridge) root.appBridge.startActiveBatch() }
+ enabled: root.appBridge ? ((root.appBridge.activeTab === "neural-rendering" || root.appBridge.activeTab === "upscale" || root.appBridge.activeTab === "frame-interpolation") && root.appBridge.operationState === "Idle" && root.appBridge.runtimeState === "Ready" && !root.appBridge.isLiveRunning) : false
+ onTriggered: { if (root.appBridge) root.appBridge.requestActiveBatchExport() }
}
QQC2.MenuItem {
text: "Preview"
diff --git a/src/desktop/qml/components/VideoTransportBar.qml b/src/desktop/qml/components/VideoTransportBar.qml
index 6582770..ee1daaf 100644
--- a/src/desktop/qml/components/VideoTransportBar.qml
+++ b/src/desktop/qml/components/VideoTransportBar.qml
@@ -16,9 +16,9 @@ Rectangle {
// for programmatic seeks or playback ticks. The viewport debounces these
// into scrub-realtime preview refreshes.
signal userScrubbed(real posMs)
- // Pre-rendered timeline spans (seconds) painted green, e.g. Frame
- // Interpolation "Preview" clips: [{start: 12.0, end: 15.0, url: ...}].
- // Empty for every other workflow, which leaves the groove untouched.
+ // Pre-rendered video preview spans (seconds) painted green for Frame
+ // Interpolation and timed Upscale previews:
+ // [{start: 12.0, end: 15.0, url: ...}].
property var renderedRanges: []
height: 50
color: Theme.bgSurface
@@ -64,25 +64,29 @@ Rectangle {
}
Row {
+ id: transportRow
anchors.fill: parent
anchors.margins: 8
spacing: 7
- AppIconButton { iconSymbol: "|<"; tooltipText: "Start"; onClicked: { if (root.player) { root.player.pause(); root.player.position = 0; root.userScrubbed(0) } } }
- AppIconButton { iconSymbol: "<"; tooltipText: "Previous frame"; onClicked: root.stepFrames(-1) }
- AppButton {
- text: root.player && root.player.playbackState === MediaPlayer.PlayingState ? "Pause" : "Play"
- width: 66; buttonHeight: 30
+ AppIconButton { id: startButton; iconName: "go_to_start"; tooltipText: "Start"; onClicked: { if (root.player) { root.player.pause(); root.player.position = 0; root.userScrubbed(0) } } }
+ AppIconButton { id: previousFrameButton; iconName: "previous_frame"; tooltipText: "Previous frame"; onClicked: root.stepFrames(-1) }
+ AppIconButton {
+ id: playPauseButton
+ tooltipText: root.player && root.player.playbackState === MediaPlayer.PlayingState ? "Pause" : "Play"
+ iconName: root.player && root.player.playbackState === MediaPlayer.PlayingState ? "pause" : "play"
onClicked: {
if (!root.player) return
if (root.player.playbackState === MediaPlayer.PlayingState) root.player.pause()
else root.player.play()
}
}
- AppIconButton { iconSymbol: ">"; tooltipText: "Next frame"; onClicked: root.stepFrames(1) }
+ AppIconButton { id: nextFrameButton; iconName: "next_frame"; tooltipText: "Next frame"; onClicked: root.stepFrames(1) }
Rectangle {
- width: Math.max(120, parent.width - 430)
+ width: Math.max(96, transportRow.width - startButton.width - previousFrameButton.width
+ - playPauseButton.width - nextFrameButton.width - timeLabel.implicitWidth
+ - speedCombo.width - 6 * transportRow.spacing)
height: 14; radius: 7; anchors.verticalCenter: parent.verticalCenter; color: Theme.bgInput
clip: true
Rectangle {
@@ -107,7 +111,7 @@ Rectangle {
visible: parent.width >= 2 && !playheadFill.atEnd
}
}
- // Green pre-rendered spans (FI "Preview"). Painted over the
+ // Green pre-rendered preview spans. Painted over the
// accent playhead fill so a rendered span always reads green:
// blue advances up to it, green holds while playing through it,
// blue resumes after it. Exact position still shows in the label.
@@ -148,6 +152,7 @@ Rectangle {
}
Text {
+ id: timeLabel
anchors.verticalCenter: parent.verticalCenter
text: {
var pos = root.player ? root.player.position : 0
@@ -163,6 +168,7 @@ Rectangle {
}
AppComboBox {
+ id: speedCombo
width: 72; comboHeight: 30
model: [{label:"0.5x",value:0.5},{label:"1x",value:1.0},{label:"1.5x",value:1.5},{label:"2x",value:2.0}]
currentValue: root.player ? root.player.playbackRate : 1.0
diff --git a/src/desktop/qml/controls/AppButton.qml b/src/desktop/qml/controls/AppButton.qml
index c7a59da..c90c214 100644
--- a/src/desktop/qml/controls/AppButton.qml
+++ b/src/desktop/qml/controls/AppButton.qml
@@ -5,6 +5,8 @@ Item {
id: control
property string text: ""
+ property string iconName: ""
+ property int iconSize: Math.min(16, Math.max(12, buttonHeight - 10))
property string variant: "secondary" // "primary", "secondary", "danger", "ghost"
// NOTE: uses built-in Item.enabled (do NOT redeclare it here).
property int buttonHeight: Theme.controlHeight
@@ -13,7 +15,7 @@ Item {
signal clicked()
- implicitWidth: Math.max(80, label.implicitWidth + 24)
+ implicitWidth: Math.max(80, label.implicitWidth + (iconName !== "" ? iconSize + 6 : 0) + 24)
implicitHeight: buttonHeight
// Default size so the pill always renders, even in plain Row/Column
// positioners (explicit width:/height: usages override these).
@@ -24,6 +26,8 @@ Item {
// clickability differs); other variants dim.
opacity: enabled ? 1.0 : (control.variant === "primary" ? 1.0 : 0.45)
activeFocusOnTab: enabled
+ Accessible.role: Accessible.Button
+ Accessible.name: text
Keys.onPressed: (event) => {
if (enabled && (event.key === Qt.Key_Space || event.key === Qt.Key_Return || event.key === Qt.Key_Enter)) { clicked(); event.accepted = true }
}
@@ -85,18 +89,30 @@ Item {
}
}
- Text {
- id: label
+ Row {
anchors.centerIn: parent
- text: control.text
- font.family: Theme.fontFamily
- font.pixelSize: Theme.fontSizeLabel
- font.weight: control.variant === "primary" ? Font.DemiBold : Font.Normal
- color: {
- if (control.variant === "primary") return "#FFFFFF"
- if (control.variant === "danger") return "#FFFFFF"
- if (mouseArea.containsMouse) return Theme.textPrimary
- return Theme.textSecondary
+ spacing: control.iconName !== "" && control.text !== "" ? 6 : 0
+ AppIcon {
+ iconName: control.iconName
+ iconSize: control.iconSize
+ color: label.color
+ anchors.verticalCenter: parent.verticalCenter
+ }
+ Text {
+ id: label
+ width: Math.min(implicitWidth, Math.max(0, control.width - 24 - (control.iconName !== "" ? control.iconSize + 6 : 0)))
+ text: control.text
+ elide: Text.ElideRight
+ font.family: Theme.fontFamily
+ font.pixelSize: Theme.fontSizeLabel
+ font.weight: control.variant === "primary" ? Font.DemiBold : Font.Normal
+ color: {
+ if (control.variant === "primary") return "#FFFFFF"
+ if (control.variant === "danger") return "#FFFFFF"
+ if (mouseArea.containsMouse) return Theme.textPrimary
+ return Theme.textSecondary
+ }
+ anchors.verticalCenter: parent.verticalCenter
}
}
diff --git a/src/desktop/qml/controls/AppCard.qml b/src/desktop/qml/controls/AppCard.qml
index 23892ad..064e0ce 100644
--- a/src/desktop/qml/controls/AppCard.qml
+++ b/src/desktop/qml/controls/AppCard.qml
@@ -47,14 +47,14 @@ Item {
}
}
- Text {
+ AppIcon {
id: chevron
visible: card.collapsible
anchors.right: parent.right
anchors.rightMargin: 12
anchors.verticalCenter: parent.verticalCenter
- text: card.collapsed ? "v" : "^"
- font.pixelSize: 10
+ iconName: card.collapsed ? "chevron_down" : "chevron_up"
+ iconSize: 12
color: headerMouse.containsMouse ? Theme.textPrimary : Theme.textMuted
}
diff --git a/src/desktop/qml/controls/AppCheckBox.qml b/src/desktop/qml/controls/AppCheckBox.qml
index cc87f0f..f8d045f 100644
--- a/src/desktop/qml/controls/AppCheckBox.qml
+++ b/src/desktop/qml/controls/AppCheckBox.qml
@@ -30,6 +30,14 @@ Item {
border.color: control.activeFocus ? Theme.accent : (control.checked ? Theme.accent : (mouseArea.containsMouse ? Theme.borderActive : Theme.borderDefault))
border.width: 1
+ AppIcon {
+ anchors.centerIn: parent
+ iconName: "check"
+ iconSize: 12
+ color: "#FFFFFF"
+ visible: control.checked
+ }
+
Behavior on color { ColorAnimation { duration: Theme.animFast } }
}
diff --git a/src/desktop/qml/controls/AppComboBox.qml b/src/desktop/qml/controls/AppComboBox.qml
index bc49b00..ac1d200 100644
--- a/src/desktop/qml/controls/AppComboBox.qml
+++ b/src/desktop/qml/controls/AppComboBox.qml
@@ -1,5 +1,6 @@
import QtQuick
import QtQuick.Controls as QQC2
+import QtQuick.Controls.Basic as Basic
import ".."
Item {
@@ -74,7 +75,7 @@ Item {
text: control.displayText(); font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel
color: control.currentIndex >= 0 ? Theme.textPrimary : Theme.warning
}
- Text { id: arrow; anchors.right: parent.right; anchors.rightMargin: 10; anchors.verticalCenter: parent.verticalCenter; text: popup.visible ? "^" : "v"; color: Theme.textMuted }
+ AppIcon { id: arrow; anchors.right: parent.right; anchors.rightMargin: 10; anchors.verticalCenter: parent.verticalCenter; iconName: popup.visible ? "chevron_up" : "chevron_down"; iconSize: 12; color: Theme.textMuted }
MouseArea {
id: mouseArea; anchors.fill: parent; hoverEnabled: control.enabled
cursorShape: control.enabled ? Qt.PointingHandCursor : Qt.ArrowCursor
@@ -90,7 +91,11 @@ Item {
closePolicy: QQC2.Popup.CloseOnEscape | QQC2.Popup.CloseOnPressOutside
background: Rectangle { radius: Theme.radiusMedium; color: Theme.bgSurface; border.color: Theme.borderActive; border.width: 1 }
contentItem: ListView {
- id: listView; clip: true; model: control.model; boundsBehavior: Flickable.StopAtBounds
+ id: listView
+ property bool hasOverflow: contentHeight > height + 0.5
+ clip: true
+ model: control.model
+ boundsBehavior: Flickable.StopAtBounds
delegate: Rectangle {
required property var modelData
required property int index
@@ -102,12 +107,47 @@ Item {
font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel
color: control.currentIndex === index ? Theme.accent : Theme.textSecondary
}
- Text { id: check; anchors.right: parent.right; anchors.rightMargin: 8; anchors.verticalCenter: parent.verticalCenter; visible: control.currentIndex === index; text: "X"; color: Theme.accent }
+ AppIcon {
+ id: check
+ anchors.right: parent.right
+ anchors.rightMargin: listView.hasOverflow ? verticalScrollBar.width + 8 : 8
+ anchors.verticalCenter: parent.verticalCenter
+ visible: control.currentIndex === index
+ iconName: "check"
+ iconSize: 14
+ color: Theme.accent
+ }
MouseArea {
id: itemMouse; anchors.fill: parent; hoverEnabled: true; cursorShape: Qt.PointingHandCursor
onClicked: { control.activated(control.getValue(modelData), index); popup.close(); control.forceActiveFocus() }
}
}
+
+ QQC2.ScrollBar.vertical: Basic.ScrollBar {
+ id: verticalScrollBar
+ width: 10
+ padding: 2
+ policy: QQC2.ScrollBar.AlwaysOn
+ visible: listView.hasOverflow
+ active: visible
+ interactive: true
+
+ background: Rectangle {
+ implicitWidth: 8
+ radius: width / 2
+ color: Theme.bgInput
+ opacity: 0.8
+ }
+
+ contentItem: Rectangle {
+ implicitWidth: 6
+ radius: width / 2
+ color: verticalScrollBar.pressed ? Theme.accent
+ : (verticalScrollBar.hovered ? Theme.textSecondary
+ : Theme.textMuted)
+ opacity: verticalScrollBar.pressed || verticalScrollBar.hovered ? 1.0 : 0.85
+ }
+ }
}
}
}
diff --git a/src/desktop/qml/controls/AppFilePicker.qml b/src/desktop/qml/controls/AppFilePicker.qml
index 693b41f..ea6e5b4 100644
--- a/src/desktop/qml/controls/AppFilePicker.qml
+++ b/src/desktop/qml/controls/AppFilePicker.qml
@@ -55,10 +55,10 @@ Item {
font.pixelSize: Theme.fontSizeLabel; color: Theme.textMuted
}
}
- Text {
+ AppIcon {
id: clearBtn; visible: pathInput.text !== "" && control.enabled
anchors.right: parent.right; anchors.rightMargin: 8; anchors.verticalCenter: parent.verticalCenter
- text: "x"; font.pixelSize: 14; color: clearMouse.containsMouse ? Theme.textPrimary : Theme.textMuted
+ iconName: "close"; iconSize: 14; color: clearMouse.containsMouse ? Theme.textPrimary : Theme.textMuted
MouseArea {
id: clearMouse; anchors.fill: parent; anchors.margins: -5; hoverEnabled: true
cursorShape: Qt.PointingHandCursor
@@ -67,7 +67,7 @@ Item {
}
}
AppButton {
- id: browseBtn; text: "Browse"; width: 70; buttonHeight: Theme.controlHeight; enabled: control.enabled
+ id: browseBtn; text: "Browse"; iconName: "browse_folder"; width: 88; buttonHeight: Theme.controlHeight; enabled: control.enabled
onClicked: control.selectFolder ? folderDialog.open() : fileDialog.open()
}
}
diff --git a/src/desktop/qml/controls/AppIcon.qml b/src/desktop/qml/controls/AppIcon.qml
new file mode 100644
index 0000000..e939a82
--- /dev/null
+++ b/src/desktop/qml/controls/AppIcon.qml
@@ -0,0 +1,39 @@
+import QtQuick
+import QtQuick.Window
+import ".."
+
+Item {
+ id: icon
+
+ property string iconName: ""
+ property int iconSize: 16
+ property color color: Theme.textSecondary
+
+ width: iconSize
+ height: iconSize
+ visible: iconName !== ""
+
+ readonly property int rasterSize: {
+ // Keep some source detail for high DPI scaling without shrinking a
+ // very large texture into a tiny UI icon (which loses thin strokes).
+ var needed = iconSize * Math.max(1, Screen.devicePixelRatio) * 1.5
+ var sizes = [16, 20, 24, 32, 48, 64, 128, 256]
+ for (var i = 0; i < sizes.length; ++i) {
+ if (sizes[i] >= needed) return sizes[i]
+ }
+ return 256
+ }
+
+ Image {
+ anchors.fill: parent
+ source: icon.iconName === "" ? "" : "image://icons/" + icon.rasterSize + "/" + icon.iconName + "/" + icon.color.toString().replace("#", "")
+ // The provider returns the chosen PNG at its native pixel size.
+ // sourceSize is in device-independent units, so setting it to the PNG
+ // size would make Qt upscale the request again on high DPI displays.
+ fillMode: Image.PreserveAspectFit
+ smooth: true
+ // These icons are already downsampled from 256 px masters. Mipmaps
+ // soften their one-pixel strokes at normal interface sizes.
+ mipmap: false
+ }
+}
diff --git a/src/desktop/qml/controls/AppIconButton.qml b/src/desktop/qml/controls/AppIconButton.qml
index 27e8fa7..d037fe5 100644
--- a/src/desktop/qml/controls/AppIconButton.qml
+++ b/src/desktop/qml/controls/AppIconButton.qml
@@ -1,16 +1,14 @@
import QtQuick
+import QtQuick.Controls as QQC2
import ".."
Item {
id: control
- property string iconSymbol: "" // e.g. "x", "R", "S", ">", "II", "O", "[]", "..."
+ property string iconName: ""
+ property int iconSize: Math.min(18, Math.max(12, buttonSize - 10))
property string tooltipText: ""
property bool showTooltip: true
- // Vector chrome icon kind: "" (use iconSymbol text), "min", "max", "restore", "close".
- // Vector icons are font-independent so they stay crisp at any DPI/scale.
- property string iconKind: ""
- property bool enabled: true
property int buttonSize: 28
property color activeColor: Theme.textSecondary
property color hoverColor: Theme.textPrimary
@@ -19,138 +17,62 @@ Item {
implicitWidth: buttonSize
implicitHeight: buttonSize
+ width: implicitWidth
+ height: implicitHeight
opacity: enabled ? 1.0 : 0.4
activeFocusOnTab: enabled
- Keys.onPressed: (event) => { if (enabled && (event.key === Qt.Key_Space || event.key === Qt.Key_Return || event.key === Qt.Key_Enter)) { clicked(); event.accepted = true } }
+ Accessible.role: Accessible.Button
+ Accessible.name: tooltipText !== "" ? tooltipText : iconName.replace(/_/g, " ")
+ Keys.onPressed: (event) => {
+ if (enabled && (event.key === Qt.Key_Space || event.key === Qt.Key_Return || event.key === Qt.Key_Enter)) {
+ clicked()
+ event.accepted = true
+ }
+ }
Rectangle {
- id: bg
anchors.fill: parent
radius: Theme.radiusSmall
color: mouseArea.pressed ? Theme.bgPressed : (mouseArea.containsMouse ? Theme.bgHover : "transparent")
border.color: control.activeFocus ? Theme.accent : (mouseArea.containsMouse ? Theme.borderSubtle : "transparent")
border.width: 1
-
- Behavior on color {
- ColorAnimation { duration: Theme.animFast }
- }
+ Behavior on color { ColorAnimation { duration: Theme.animFast } }
}
- Text {
- visible: control.iconKind === ""
+ AppIcon {
anchors.centerIn: parent
- text: control.iconSymbol
- font.family: Theme.fontFamily
- font.pixelSize: 13
+ iconName: control.iconName
+ iconSize: control.iconSize
color: mouseArea.containsMouse ? control.hoverColor : control.activeColor
}
- // Vector window-chrome icons (no font glyphs, DPI-independent).
- Item {
- visible: control.iconKind !== ""
- anchors.centerIn: parent
- width: 12
- height: 12
- property color iconColor: mouseArea.containsMouse ? control.hoverColor : control.activeColor
-
- // Minimize: centered horizontal bar.
- Rectangle {
- visible: control.iconKind === "min"
- anchors.centerIn: parent
- width: 10
- height: 1.6
- color: parent.iconColor
- }
-
- // Maximize: single outline square.
- Rectangle {
- visible: control.iconKind === "max"
- anchors.centerIn: parent
- width: 10
- height: 10
- color: "transparent"
- border.color: parent.iconColor
- border.width: 1.5
- }
-
- // Restore: two overlapping squares (back offset up-right).
- Item {
- visible: control.iconKind === "restore"
- anchors.centerIn: parent
- width: 12
- height: 12
- property color rc: parent.iconColor
- Rectangle {
- x: 3; y: 0; width: 8; height: 8
- color: "transparent"
- border.color: parent.rc
- border.width: 1.4
- }
- Rectangle {
- x: 1; y: 3; width: 8; height: 8
- color: bg.color
- border.color: parent.rc
- border.width: 1.4
- }
- }
-
- // Close: X from two rotated bars.
- Item {
- visible: control.iconKind === "close"
- anchors.centerIn: parent
- width: 12
- height: 12
- property color xc: parent.iconColor
- Rectangle {
- anchors.centerIn: parent
- width: 12.5
- height: 1.6
- rotation: 45
- color: parent.xc
- }
- Rectangle {
- anchors.centerIn: parent
- width: 12.5
- height: 1.6
- rotation: -45
- color: parent.xc
- }
- }
- }
-
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: control.enabled
cursorShape: control.enabled ? Qt.PointingHandCursor : Qt.ArrowCursor
- onClicked: {
- if (control.enabled) control.clicked()
- }
+ onClicked: { if (control.enabled) control.clicked() }
}
- // Tooltip (opt-out via showTooltip; window-chrome buttons disable it
- // because they sit at y=0 and the popup would clip outside the window).
- Rectangle {
+ // Popup tooltips live in the window overlay, above clipped queue views.
+ QQC2.ToolTip {
id: tip
visible: control.showTooltip && mouseArea.containsMouse && control.tooltipText !== ""
- anchors.bottom: parent.top
- anchors.bottomMargin: 6
- anchors.horizontalCenter: parent.horizontalCenter
- width: tipText.implicitWidth + 12
- height: tipText.implicitHeight + 6
- radius: Theme.radiusSmall
- color: "#0F1216"
- border.color: Theme.borderActive
- border.width: 1
- z: 999
-
- Text {
- id: tipText
- anchors.centerIn: parent
- text: control.tooltipText
+ x: (control.width - width) / 2
+ y: -height - 6
+ text: control.tooltipText
+ leftPadding: 6; rightPadding: 6; topPadding: 3; bottomPadding: 3
+ contentItem: Text {
+ text: tip.text
font.family: Theme.fontFamily
font.pixelSize: Theme.fontSizeSmall
color: Theme.textPrimary
}
+ background: Rectangle {
+ radius: Theme.radiusSmall
+ color: "#0F1216"
+ border.color: Theme.borderActive
+ border.width: 1
+ }
}
}
diff --git a/src/desktop/qml/controls/AppSegmentedControl.qml b/src/desktop/qml/controls/AppSegmentedControl.qml
index 37558ed..e200ae8 100644
--- a/src/desktop/qml/controls/AppSegmentedControl.qml
+++ b/src/desktop/qml/controls/AppSegmentedControl.qml
@@ -39,14 +39,16 @@ Item {
}
function syncIndex() {
- currentIndex = -1
- if (!model || model.length === 0) return
- for (var i = 0; i < model.length; i++) {
- if (getValue(model[i]) === currentValue) {
- currentIndex = i
- return
+ var nextIndex = -1
+ if (model) {
+ for (var i = 0; i < model.length; i++) {
+ if (getValue(model[i]) === currentValue) {
+ nextIndex = i
+ break
+ }
}
}
+ if (currentIndex !== nextIndex) currentIndex = nextIndex
}
onCurrentValueChanged: syncIndex()
@@ -88,7 +90,7 @@ Item {
border.width: 1
Behavior on x {
- NumberAnimation { duration: Theme.animFast; easing.type: Easing.OutQuad }
+ NumberAnimation { duration: Theme.animNormal; easing.type: Easing.OutQuad }
}
}
diff --git a/src/desktop/qml/controls/AppSlider.qml b/src/desktop/qml/controls/AppSlider.qml
index d9d1c3a..d69dbd0 100644
--- a/src/desktop/qml/controls/AppSlider.qml
+++ b/src/desktop/qml/controls/AppSlider.qml
@@ -71,10 +71,10 @@ Item {
visible: Math.abs(control.value - control.defaultValue) > 0.001
anchors.verticalCenter: parent.verticalCenter
- Text {
+ AppIcon {
anchors.centerIn: parent
- text: "R"
- font.pixelSize: 10
+ iconName: "reset"
+ iconSize: 12
color: resetArea.containsMouse ? Theme.accent : Theme.textMuted
}
diff --git a/src/desktop/qml/controls/AppTextField.qml b/src/desktop/qml/controls/AppTextField.qml
index b63a58d..2a1c236 100644
--- a/src/desktop/qml/controls/AppTextField.qml
+++ b/src/desktop/qml/controls/AppTextField.qml
@@ -90,14 +90,14 @@ Item {
}
}
- Text {
+ AppIcon {
id: clearBtn
visible: input.text !== "" && !control.readOnly && control.enabled
anchors.right: parent.right
anchors.rightMargin: 8
anchors.verticalCenter: parent.verticalCenter
- text: "x"
- font.pixelSize: 14
+ iconName: "close"
+ iconSize: 14
color: clearMouse.containsMouse ? Theme.textPrimary : Theme.textMuted
MouseArea {
id: clearMouse
diff --git a/src/desktop/qml/views/AboutView.qml b/src/desktop/qml/views/AboutView.qml
index 3bbd6a7..f2869d7 100644
--- a/src/desktop/qml/views/AboutView.qml
+++ b/src/desktop/qml/views/AboutView.qml
@@ -26,8 +26,8 @@ Rectangle {
Row {
anchors.horizontalCenter: parent.horizontalCenter; spacing: 12
- AppButton { text: "GitHub Repository"; onClicked: Qt.openUrlExternally("https://github.com/Merserk/dlss5-visual-enhancer") }
- AppButton { text: "Support on Patreon"; onClicked: Qt.openUrlExternally("https://www.patreon.com/Merserk") }
+ AppButton { text: "GitHub Repository"; iconName: "github"; onClicked: Qt.openUrlExternally("https://github.com/Merserk/dlss5-visual-enhancer") }
+ AppButton { text: "Support on Patreon"; iconName: "heart"; onClicked: Qt.openUrlExternally("https://www.patreon.com/Merserk") }
}
Text { anchors.horizontalCenter: parent.horizontalCenter; text: "© 2026 Merserk. NVIDIA, DLSS, and RTX are trademarks of NVIDIA Corporation."; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeSmall; color: Theme.textMuted }
}
diff --git a/src/desktop/qml/views/FrameInterpolationView.qml b/src/desktop/qml/views/FrameInterpolationView.qml
index 652542a..0363d19 100644
--- a/src/desktop/qml/views/FrameInterpolationView.qml
+++ b/src/desktop/qml/views/FrameInterpolationView.qml
@@ -146,11 +146,19 @@ Item {
AppComboBox {
width: parent.width
label: "Quality Preset"
+ visible: !appBridge || appBridge.fixedQualityCodecs.indexOf(appBridge.fiCodec) < 0
model: appBridge ? appBridge.encodingQualityChoices : []
currentValue: appBridge ? appBridge.fiQuality : "Auto (Default)"
onActivated: (v) => { if (appBridge) appBridge.fiQuality = v }
}
+ Text {
+ visible: appBridge && appBridge.fixedQualityCodecs.indexOf(appBridge.fiCodec) >= 0
+ text: "Quality Preset: Fixed by codec"
+ color: Theme.textSecondary
+ font.pixelSize: Theme.fontSizeSmall
+ }
+
AppCheckBox {
label: "Preserve 10-bit HDR"
checked: appBridge ? appBridge.fiHdrMode : false
@@ -158,21 +166,6 @@ Item {
onToggled: (c) => { if (appBridge) appBridge.fiHdrMode = c }
}
- AppSegmentedControl {
- width: parent.width
- label: "Rename Mode"
- model: appBridge ? appBridge.renameModeChoices : []
- currentValue: appBridge ? appBridge.fiRenameMode : "Auto"
- onActivated: (v) => { if (appBridge) appBridge.fiRenameMode = v }
- }
-
- AppTextField {
- visible: appBridge && appBridge.fiRenameMode === "Custom"
- width: parent.width
- label: "Custom Suffix"
- text: appBridge ? appBridge.fiCustomSuffix : "_Frame_Interpolation"
- onTextEdited: (t) => { if (appBridge) appBridge.fiCustomSuffix = t }
- }
}
}
}
@@ -182,7 +175,7 @@ Item {
Rectangle {
id: actionBar
width: parent.width
- height: 54
+ height: 88
color: Theme.bgSurface
border.color: Theme.borderSubtle
border.width: 1
@@ -190,7 +183,7 @@ Item {
Column {
anchors.fill: parent
anchors.margins: 8
- spacing: 4
+ spacing: 6
Row {
width: parent.width
@@ -198,49 +191,51 @@ Item {
AppButton {
text: "Preview"
- width: 90
- buttonHeight: 34
+ iconName: "preview"
+ width: Math.max(100, parent.width - 156)
+ buttonHeight: 30
enabled: appBridge ? appBridge.canPreview : false
onClicked: { if (appBridge) appBridge.renderPreviewAt(viewport.playheadMs) }
}
AppComboBox {
- width: 60
- comboHeight: 34
+ width: 72
+ comboHeight: 30
dropUp: true
model: appBridge ? appBridge.fiPreviewLengthChoices : []
currentValue: appBridge ? appBridge.fiPreviewLength : "3"
onActivated: (v) => { if (appBridge) appBridge.fiPreviewLength = v }
}
- AppButton {
- text: appBridge && appBridge.canStop ? "Stop" : "Interpolate Video(s)"
- variant: appBridge && appBridge.canStop ? "danger" : "primary"
- width: parent.width - 362
- buttonHeight: 34
- enabled: appBridge ? (appBridge.canStop || appBridge.canRender) : false
- onClicked: {
- if (appBridge) {
- if (appBridge.canStop) appBridge.stopActiveBatch()
- else if (appBridge.canRender) appBridge.startActiveBatch()
- }
- }
- }
-
- AppButton {
- text: "Reset"
- width: 90
- buttonHeight: 34
+ AppIconButton {
+ iconName: "reset"
+ buttonSize: 30
+ tooltipText: "Reset interpolation settings"
onClicked: { if (appBridge) appBridge.resetTabSettings("frame-interpolation") }
}
- AppButton {
- text: "Outputs"
- width: 90
- buttonHeight: 34
+ AppIconButton {
+ iconName: "outputs_folder"
+ buttonSize: 30
+ tooltipText: "Open outputs folder"
onClicked: { if (appBridge) appBridge.openFolder("") }
}
}
+
+ AppButton {
+ text: appBridge && appBridge.canStop ? "Stop" : "Interpolate Video(s)"
+ iconName: appBridge && appBridge.canStop ? "stop" : "start_render"
+ variant: appBridge && appBridge.canStop ? "danger" : "primary"
+ width: parent.width
+ buttonHeight: 34
+ enabled: appBridge ? (appBridge.canStop || (appBridge.operationState === "Idle" && appBridge.runtimeState === "Ready" && !appBridge.isLiveRunning)) : false
+ onClicked: {
+ if (appBridge) {
+ if (appBridge.canStop) appBridge.stopActiveBatch()
+ else appBridge.requestActiveBatchExport()
+ }
+ }
+ }
}
}
}
diff --git a/src/desktop/qml/views/LiveView.qml b/src/desktop/qml/views/LiveView.qml
index 9c4b9d5..ec5a805 100644
--- a/src/desktop/qml/views/LiveView.qml
+++ b/src/desktop/qml/views/LiveView.qml
@@ -172,23 +172,25 @@ Item {
spacing: 8
AppButton {
- width: 88
+ width: 96
buttonHeight: 32
text: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.paused ? "Resume" : "Pause"
+ iconName: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.paused ? "play" : "pause"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { if (appBridge && appBridge.mpvEmbed) appBridge.mpvEmbed.togglePause() }
}
AppButton {
- width: 88
+ width: 96
buttonHeight: 32
text: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.muted ? "Unmute" : "Mute"
+ iconName: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.muted ? "volume_up" : "mute"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { if (appBridge && appBridge.mpvEmbed) appBridge.mpvEmbed.toggleMute() }
}
- AppButton {
- width: 52
- buttonHeight: 32
- text: "Vol-"
+ AppIconButton {
+ buttonSize: 32
+ iconName: "volume_down"
+ tooltipText: "Volume down"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { if (appBridge && appBridge.mpvEmbed) appBridge.mpvEmbed.volumeDown() }
}
@@ -202,10 +204,10 @@ Item {
anchors.verticalCenter: parent.verticalCenter
horizontalAlignment: Text.AlignHCenter
}
- AppButton {
- width: 52
- buttonHeight: 32
- text: "Vol+"
+ AppIconButton {
+ buttonSize: 32
+ iconName: "volume_up"
+ tooltipText: "Volume up"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { if (appBridge && appBridge.mpvEmbed) appBridge.mpvEmbed.volumeUp() }
}
@@ -213,20 +215,22 @@ Item {
// (plain Row cannot right-anchor children). Clamped so
// narrow windows degrade to left-packed, never overlap.
Item {
- width: Math.max(0, parent.width - 600)
+ width: Math.max(0, parent.width - 596)
height: 1
}
AppButton {
width: 104
buttonHeight: 32
text: root.videoExpanded ? "Restore" : "Expand"
+ iconName: root.videoExpanded ? "collapse" : "expand"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { root.videoExpanded = !root.videoExpanded; Qt.callLater(root.syncLiveVideo) }
}
AppButton {
- width: 104
+ width: 124
buttonHeight: 32
text: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.fullscreen ? "Exit Full" : "Full Screen"
+ iconName: appBridge && appBridge.mpvEmbed && appBridge.mpvEmbed.fullscreen ? "exit_fullscreen" : "fullscreen"
enabled: appBridge && appBridge.isLiveRunning
onClicked: { if (appBridge && appBridge.mpvEmbed) appBridge.mpvEmbed.toggleFullscreen() }
}
@@ -545,6 +549,7 @@ Item {
width: parent.width - 98
buttonHeight: 36
text: appBridge && appBridge.operationState === "LiveStarting" ? "Cancel Live Startup" : (appBridge && appBridge.isLiveRunning ? "Stop Live Session" : (appBridge && appBridge.operationState === "LiveStopping" ? "Stopping Live..." : "Start Live Session"))
+ iconName: appBridge && appBridge.canStop ? "stop" : "start_render"
variant: appBridge && appBridge.canStop ? "danger" : "primary"
enabled: appBridge ? (appBridge.canStartLive || appBridge.canStop) : false
onClicked: {
@@ -568,6 +573,7 @@ Item {
AppButton {
text: "Reset"
+ iconName: "reset"
width: 90
buttonHeight: 36
onClicked: {
diff --git a/src/desktop/qml/views/NeuralRenderingView.qml b/src/desktop/qml/views/NeuralRenderingView.qml
index 463ebd6..ff49f6e 100644
--- a/src/desktop/qml/views/NeuralRenderingView.qml
+++ b/src/desktop/qml/views/NeuralRenderingView.qml
@@ -251,21 +251,6 @@ model: appBridge ? appBridge.nrScaleChoices : []
onValueModified: (v) => { if (appBridge) appBridge.imageQuality = Math.round(v) }
}
- AppSegmentedControl {
- width: parent.width
- label: "Rename Mode"
- model: appBridge ? appBridge.renameModeChoices : []
- currentValue: appBridge ? appBridge.imageRenameMode : "Auto"
- onActivated: (v) => { if (appBridge) appBridge.imageRenameMode = v }
- }
-
- AppTextField {
- visible: appBridge && appBridge.imageRenameMode === "Custom"
- width: parent.width
- label: "Custom Suffix"
- text: appBridge ? appBridge.imageCustomSuffix : "_Neural_Rendering"
- onTextEdited: (t) => { if (appBridge) appBridge.imageCustomSuffix = t }
- }
}
// VIDEO SPECIFIC
@@ -293,32 +278,25 @@ model: appBridge ? appBridge.nrScaleChoices : []
AppComboBox {
width: parent.width
label: "Encoding Quality"
+ visible: !appBridge || appBridge.fixedQualityCodecs.indexOf(appBridge.videoCodec) < 0
model: appBridge ? appBridge.encodingQualityChoices : []
currentValue: appBridge ? appBridge.videoQuality : "Auto (Default)"
onActivated: (v) => { if (appBridge) appBridge.videoQuality = v }
}
+ Text {
+ visible: appBridge && appBridge.fixedQualityCodecs.indexOf(appBridge.videoCodec) >= 0
+ text: "Encoding Quality: Fixed by codec"
+ color: Theme.textSecondary
+ font.pixelSize: Theme.fontSizeSmall
+ }
+
AppCheckBox {
label: "10-bit HDR Mode"
checked: appBridge ? appBridge.videoHdrMode : false
onToggled: (c) => { if (appBridge) appBridge.videoHdrMode = c }
}
- AppSegmentedControl {
- width: parent.width
- label: "Rename Mode"
- model: appBridge ? appBridge.renameModeChoices : []
- currentValue: appBridge ? appBridge.videoRenameMode : "Auto"
- onActivated: (v) => { if (appBridge) appBridge.videoRenameMode = v }
- }
-
- AppTextField {
- visible: appBridge && appBridge.videoRenameMode === "Custom"
- width: parent.width
- label: "Custom Suffix"
- text: appBridge ? appBridge.videoCustomSuffix : "_Neural_Rendering"
- onTextEdited: (t) => { if (appBridge) appBridge.videoCustomSuffix = t }
- }
}
}
}
@@ -329,7 +307,7 @@ model: appBridge ? appBridge.nrScaleChoices : []
Rectangle {
id: actionBar
width: parent.width
- height: 54
+ height: 88
color: Theme.bgSurface
border.color: Theme.borderSubtle
border.width: 1
@@ -337,7 +315,7 @@ model: appBridge ? appBridge.nrScaleChoices : []
Column {
anchors.fill: parent
anchors.margins: 8
- spacing: 4
+ spacing: 6
Row {
width: parent.width
@@ -345,45 +323,49 @@ model: appBridge ? appBridge.nrScaleChoices : []
AppButton {
text: "Preview"
- width: 90
- buttonHeight: 34
+ iconName: "preview"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
enabled: appBridge ? appBridge.canPreview : false
onClicked: {
if (appBridge) appBridge.renderPreviewAt(viewport.playheadMs)
}
}
- AppButton {
- text: appBridge && appBridge.canStop ? "Stop" : (root.isImage ? "Render Image(s)" : "Render Video(s)")
- variant: appBridge && appBridge.canStop ? "danger" : "primary"
- width: parent.width - 294
- buttonHeight: 34
- enabled: appBridge ? (appBridge.canStop || appBridge.canRender) : false
- onClicked: {
- if (appBridge) {
- if (appBridge.canStop) {
- appBridge.stopActiveBatch()
- } else if (appBridge.canRender) {
- appBridge.startActiveBatch()
- }
- }
- }
- }
-
AppButton {
text: "Reset"
- width: 90
- buttonHeight: 34
+ iconName: "reset"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
onClicked: { if (appBridge) appBridge.resetTabSettings("neural-rendering") }
}
AppButton {
text: "Outputs"
- width: 90
- buttonHeight: 34
+ iconName: "outputs_folder"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
onClicked: { if (appBridge) appBridge.openFolder("") }
}
}
+
+ AppButton {
+ text: appBridge && appBridge.canStop ? "Stop" : (root.isImage ? "Render Image(s)" : "Render Video(s)")
+ iconName: appBridge && appBridge.canStop ? "stop" : "start_render"
+ variant: appBridge && appBridge.canStop ? "danger" : "primary"
+ width: parent.width
+ buttonHeight: 34
+ enabled: appBridge ? (appBridge.canStop || (appBridge.operationState === "Idle" && appBridge.runtimeState === "Ready" && !appBridge.isLiveRunning)) : false
+ onClicked: {
+ if (appBridge) {
+ if (appBridge.canStop) {
+ appBridge.stopActiveBatch()
+ } else {
+ appBridge.requestActiveBatchExport()
+ }
+ }
+ }
+ }
}
}
}
diff --git a/src/desktop/qml/views/SettingsView.qml b/src/desktop/qml/views/SettingsView.qml
index 43adfd9..0d511da 100644
--- a/src/desktop/qml/views/SettingsView.qml
+++ b/src/desktop/qml/views/SettingsView.qml
@@ -28,34 +28,30 @@ Rectangle {
Text { width: parent.width; text: "Configure hardware assignment, preview behavior, native layout, and portable settings presets."; wrapMode: Text.Wrap; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel; color: Theme.textSecondary }
}
- Flow {
- id: cardFlow
+ Column {
+ id: cardColumn
width: parent.width; spacing: 14
- property real cardWidth: width >= 920 ? (width - spacing) / 2 : width
AppCard {
- width: cardFlow.cardWidth; title: "Hardware & GPU Acceleration"; collapsible: false
+ width: cardColumn.width; title: "Hardware & GPU Acceleration"; collapsible: false
Column {
width: parent.width; spacing: 16
AppComboBox { width: parent.width; label: "AI Processing GPU (Tensor Cores / NGX)"; model: appBridge ? appBridge.aiGpuChoices : []; currentValue: appBridge ? appBridge.aiGpuUuid : "auto"; onActivated: (v) => { if (appBridge) appBridge.aiGpuUuid = v } }
AppComboBox { width: parent.width; label: "Video Processing GPU (NVENC / NVDEC)"; model: appBridge ? appBridge.videoGpuChoices : []; currentValue: appBridge ? appBridge.videoGpuUuid : "auto"; onActivated: (v) => { if (appBridge) appBridge.videoGpuUuid = v } }
- Text { width: parent.width; wrapMode: Text.Wrap; text: appBridge && appBridge.runtimeState === "Failed" ? appBridge.runtimeError : ("Runtime: " + (appBridge ? appBridge.runtimeState : "Initializing")); font.family: Theme.monoFontFamily; font.pixelSize: Theme.fontSizeSmall; color: appBridge && appBridge.runtimeState === "Failed" ? Theme.danger : Theme.textMuted }
}
}
AppCard {
- width: cardFlow.cardWidth; title: "Preview & Rendering Engine"; collapsible: false
+ width: cardColumn.width; title: "Preview & Rendering Engine"; collapsible: false
Column {
width: parent.width; spacing: 16
AppSegmentedControl { width: parent.width; label: "Preview Encoding Strategy"; model: appBridge ? appBridge.previewEncodingChoices : []; currentValue: appBridge ? appBridge.previewEncoding : "Auto"; onActivated: (v) => { if (appBridge) appBridge.previewEncoding = v } }
AppSwitch { width: parent.width; label: "Realtime Preview"; checked: appBridge ? appBridge.autoPreviewEnabled : true; enabled: appBridge ? appBridge.runtimeState === "Ready" : false; onToggled: (v) => { if (appBridge) appBridge.autoPreviewEnabled = v } }
- AppCheckBox { label: "Full-size high-fidelity image previews"; checked: appBridge ? appBridge.fullSizeImagePreviews : false; onToggled: (c) => { if (appBridge) appBridge.fullSizeImagePreviews = c } }
- Text { width: parent.width; wrapMode: Text.Wrap; text: "Full-size previews preserve source detail but can use substantially more RAM on large RAW/8K images."; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeSmall; color: Theme.textMuted }
}
}
AppCard {
- width: cardFlow.cardWidth; title: "Settings Presets"; collapsible: false
+ width: cardColumn.width; title: "Settings Presets"; collapsible: false
Column {
width: parent.width; spacing: 12
AppTextField { width: parent.width; placeholderText: "Preset name (e.g. 4K Master)..."; text: root.presetName; onTextEdited: (t) => root.presetName = t }
@@ -63,26 +59,27 @@ Rectangle {
spacing: 8
AppButton {
text: "Export Preset..."
+ iconName: "export"
onClicked: {
if (root.presetName.trim().length === 0) { if (appBridge) appBridge.exportPreset(""); return }
presetSaveDialog.open()
}
}
- AppButton { text: "Import..."; onClicked: presetImportDialog.open() }
+ AppButton { text: "Import..."; iconName: "import"; onClicked: presetImportDialog.open() }
}
Text { visible: appBridge && appBridge.presetStatus !== ""; width: parent.width; wrapMode: Text.Wrap; text: appBridge ? appBridge.presetStatus : ""; font.family: Theme.monoFontFamily; font.pixelSize: Theme.fontSizeSmall; color: Theme.accent }
}
}
AppCard {
- width: cardFlow.cardWidth; title: "Maintenance & Defaults"; collapsible: false
+ width: cardColumn.width; title: "Maintenance & Defaults"; collapsible: false
Column {
width: parent.width; spacing: 12
Text { width: parent.width; wrapMode: Text.Wrap; text: "Factory reset restores all DLSS, upscale, interpolation, GPU, mask, and encoding settings. Window geometry remains a desktop preference."; font.family: Theme.fontFamily; font.pixelSize: Theme.fontSizeLabel; color: Theme.textSecondary }
Row {
width: parent.width; spacing: 8
- AppButton { text: "Open Logs"; onClicked: { if (appBridge) appBridge.openFolder(appBridge.currentLogPath) } }
- AppButton { text: "Reset All Settings to Defaults"; variant: "danger"; onClicked: resetDialog.open() }
+ AppButton { text: "Open Logs"; iconName: "logs_folder"; onClicked: { if (appBridge) appBridge.openFolder(appBridge.currentLogPath) } }
+ AppButton { text: "Reset All Settings to Defaults"; iconName: "reset"; variant: "danger"; onClicked: resetDialog.open() }
}
}
}
diff --git a/src/desktop/qml/views/UpscaleView.qml b/src/desktop/qml/views/UpscaleView.qml
index 30222e4..65f6397 100644
--- a/src/desktop/qml/views/UpscaleView.qml
+++ b/src/desktop/qml/views/UpscaleView.qml
@@ -338,20 +338,6 @@ model: appBridge ? appBridge.vsrQualityChoices : []
onToggled: (c) => { if (appBridge) appBridge.upscaleImagePreserveMetadata = c }
}
- AppSegmentedControl {
- width: parent.width
- label: "Rename Mode"
- model: appBridge ? appBridge.renameModeChoices : []
- currentValue: appBridge ? appBridge.upscaleImageRenameMode : "Auto"
- onActivated: (v) => { if (appBridge) appBridge.upscaleImageRenameMode = v }
- }
- AppTextField {
- visible: appBridge && appBridge.upscaleImageRenameMode === "Custom"
- width: parent.width
- label: "Custom Suffix"
- text: appBridge ? appBridge.upscaleImageCustomSuffix : "_Upscale"
- onTextEdited: (t) => { if (appBridge) appBridge.upscaleImageCustomSuffix = t }
- }
}
Column {
@@ -370,25 +356,19 @@ model: appBridge ? appBridge.vsrQualityChoices : []
AppComboBox {
width: parent.width
label: "Quality"
+ visible: !appBridge || appBridge.fixedQualityCodecs.indexOf(appBridge.upscaleCodec) < 0
model: appBridge ? appBridge.encodingQualityChoices : []
currentValue: appBridge ? appBridge.upscaleQuality : "Auto (Default)"
onActivated: (v) => { if (appBridge) appBridge.upscaleQuality = v }
}
- AppSegmentedControl {
- width: parent.width
- label: "Rename Mode"
- model: appBridge ? appBridge.renameModeChoices : []
- currentValue: appBridge ? appBridge.upscaleRenameMode : "Auto"
- onActivated: (v) => { if (appBridge) appBridge.upscaleRenameMode = v }
- }
- AppTextField {
- visible: appBridge && appBridge.upscaleRenameMode === "Custom"
- width: parent.width
- label: "Custom Suffix"
- text: appBridge ? appBridge.upscaleCustomSuffix : "_Upscale"
- onTextEdited: (t) => { if (appBridge) appBridge.upscaleCustomSuffix = t }
+ Text {
+ visible: appBridge && appBridge.fixedQualityCodecs.indexOf(appBridge.upscaleCodec) >= 0
+ text: "Quality: Fixed by codec"
+ color: Theme.textSecondary
+ font.pixelSize: Theme.fontSizeSmall
}
+
}
}
}
@@ -399,7 +379,7 @@ model: appBridge ? appBridge.vsrQualityChoices : []
Rectangle {
id: actionBar
width: parent.width
- height: 54
+ height: 88
color: Theme.bgSurface
border.color: Theme.borderSubtle
border.width: 1
@@ -407,50 +387,93 @@ model: appBridge ? appBridge.vsrQualityChoices : []
Column {
anchors.fill: parent
anchors.margins: 8
- spacing: 4
+ spacing: 6
Row {
width: parent.width
spacing: 8
+ visible: root.isImage
AppButton {
text: "Preview"
- width: 90
- buttonHeight: 34
+ iconName: "preview"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
enabled: appBridge ? appBridge.canPreview : false
onClicked: {
if (appBridge) appBridge.renderPreviewAt(viewport.playheadMs)
}
}
- AppButton {
- text: appBridge && appBridge.canStop ? "Stop" : "Upscale Batch"
- variant: appBridge && appBridge.canStop ? "danger" : "primary"
- width: parent.width - 294
- buttonHeight: 34
- enabled: appBridge ? (appBridge.canStop || appBridge.canRender) : false
- onClicked: {
- if (appBridge) {
- if (appBridge.canStop) appBridge.stopActiveBatch()
- else if (appBridge.canRender) appBridge.startActiveBatch()
- }
- }
- }
-
AppButton {
text: "Reset"
- width: 90
- buttonHeight: 34
+ iconName: "reset"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
onClicked: { if (appBridge) appBridge.resetTabSettings("upscale") }
}
AppButton {
text: "Outputs"
- width: 90
- buttonHeight: 34
+ iconName: "outputs_folder"
+ width: (parent.width - 16) / 3
+ buttonHeight: 30
+ onClicked: { if (appBridge) appBridge.openFolder("") }
+ }
+ }
+
+ Row {
+ width: parent.width
+ spacing: 8
+ visible: !root.isImage
+
+ AppButton {
+ text: "Preview"
+ iconName: "preview"
+ width: Math.max(100, parent.width - 156)
+ buttonHeight: 30
+ enabled: appBridge ? appBridge.canPreview : false
+ onClicked: { if (appBridge) appBridge.renderPreviewAt(viewport.playheadMs) }
+ }
+
+ AppComboBox {
+ width: 72
+ comboHeight: 30
+ dropUp: true
+ model: appBridge ? appBridge.upscalePreviewLengthChoices : []
+ currentValue: appBridge ? appBridge.upscalePreviewLength : "3"
+ onActivated: (value) => { if (appBridge) appBridge.upscalePreviewLength = value }
+ }
+
+ AppIconButton {
+ iconName: "reset"
+ buttonSize: 30
+ tooltipText: "Reset upscale settings"
+ onClicked: { if (appBridge) appBridge.resetTabSettings("upscale") }
+ }
+
+ AppIconButton {
+ iconName: "outputs_folder"
+ buttonSize: 30
+ tooltipText: "Open outputs folder"
onClicked: { if (appBridge) appBridge.openFolder("") }
}
}
+
+ AppButton {
+ text: appBridge && appBridge.canStop ? "Stop" : (root.isImage ? "Upscale Image(s)" : "Upscale Video(s)")
+ iconName: appBridge && appBridge.canStop ? "stop" : "start_render"
+ variant: appBridge && appBridge.canStop ? "danger" : "primary"
+ width: parent.width
+ buttonHeight: 34
+ enabled: appBridge ? (appBridge.canStop || (appBridge.operationState === "Idle" && appBridge.runtimeState === "Ready" && !appBridge.isLiveRunning)) : false
+ onClicked: {
+ if (appBridge) {
+ if (appBridge.canStop) appBridge.stopActiveBatch()
+ else appBridge.requestActiveBatchExport()
+ }
+ }
+ }
}
}
}
diff --git a/src/desktop/state.py b/src/desktop/state.py
index 80aef86..2df241f 100644
--- a/src/desktop/state.py
+++ b/src/desktop/state.py
@@ -64,7 +64,7 @@ class PreviewState:
# rendering. Empty = stale (first visit, cleared queue, cancelled
# render). Tab/mode switches skip the GPU re-render while this matches.
last_auto_fingerprint: tuple = ()
- # Frame Interpolation pre-rendered timeline ranges, newest last. Each
+ # Video preview clips rendered for FI or Upscale, newest last. Each
# entry is {"start": seconds, "end": seconds, "url": clip file URL}.
# Overlapping ranges are kept as separate entries (they merge visually
# by overdraw); playback picks the newest range containing the playhead
diff --git a/src/desktop/win_frameless.py b/src/desktop/win_frameless.py
index 9f2946f..871b5b6 100644
--- a/src/desktop/win_frameless.py
+++ b/src/desktop/win_frameless.py
@@ -597,3 +597,19 @@ def install_win_chrome(window) -> bool:
except Exception as exc:
log_native_chrome(f"install failed: {exc!r}")
return False
+
+
+def remove_win_chrome(window) -> None:
+ """Release the Python native filter while Qt and its window still exist."""
+ filt = getattr(window, "_win_frameless_filter", None)
+ if filt is None:
+ return
+ try:
+ app = QCoreApplication.instance()
+ if app is not None:
+ app.removeNativeEventFilter(filt)
+ finally:
+ # The filter references the window, and the window keeps the filter
+ # alive. Break that cycle even if unregistering raises.
+ window._win_frameless_filter = None # type: ignore[attr-defined]
+ filt._window = None
diff --git a/src/frame_interpolation/batch.py b/src/frame_interpolation/batch.py
index f4c0aa3..cbece39 100644
--- a/src/frame_interpolation/batch.py
+++ b/src/frame_interpolation/batch.py
@@ -20,6 +20,7 @@ def interpolate_videos(
*, output_dir: str | os.PathLike[str] | None = None,
controller: JobController | None = None,
on_item_update: Callable[[BatchItemUpdate], None] | None = None,
+ same_as_input: bool = False,
) -> FrameInterpolationBatchResult:
options = replace(options) if options else FrameInterpolationOptions()
paths = [Path(path).resolve() for path in input_paths]
@@ -29,7 +30,7 @@ def interpolate_videos(
reporter = BatchProgress(paths, on_item_update, progress)
successes, failures = [], []
try:
- destination = prepare_output_dir(output_dir, default=processor.OUTPUTS)
+ destination = None if same_as_input else prepare_output_dir(output_dir, default=processor.OUTPUTS)
with active_job(controller):
processor._BATCH_CONTEXT.controller = controller
try:
@@ -40,7 +41,7 @@ def interpolate_videos(
try:
result = processor.interpolate_video(
path, options, lambda value, message, i=index: reporter.advance(i, value, message),
- output_dir=destination,
+ output_dir=prepare_output_dir(path.parent) if same_as_input else destination,
)
except Exception as exc:
cancelled = isinstance(exc, Cancelled) or controller.cancel.is_set()
diff --git a/src/frame_interpolation/native.py b/src/frame_interpolation/native.py
index 77e511f..ebf0d9b 100644
--- a/src/frame_interpolation/native.py
+++ b/src/frame_interpolation/native.py
@@ -18,9 +18,9 @@ from ..core.paths import RUNTIME
RUNTIME_DIR = RUNTIME / "dlssg"
BRIDGE = RUNTIME_DIR / "neuroframe_engine_frame_interpolation.dll"
-BRIDGE_ABI_VERSION = 1
+BRIDGE_ABI_VERSION = 3
MEMORY_HOST, MEMORY_CUDA = 1, 2
-FORMAT_RGBA8, FORMAT_NV12, FORMAT_P010 = 1, 4, 5
+FORMAT_RGBA8, FORMAT_RGBA16F, FORMAT_NV12, FORMAT_P010 = 1, 2, 4, 5
FLAG_FORCE_RESET, FLAG_DETECT_CUT = 1, 2
MAX_GENERATED = 4
@@ -168,6 +168,8 @@ class _BridgeManager:
library.fi_process_frame_v1.restype = ctypes.c_int
library.fi_surface_frame_desc.argtypes = [ctypes.c_void_p, ctypes.POINTER(FrameDescriptorV1)]
library.fi_surface_frame_desc.restype = ctypes.c_int
+ library.fi_session_copy_input_rgb.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_int]
+ library.fi_session_copy_input_rgb.restype = ctypes.c_void_p
library.fi_surface_retain.argtypes = [ctypes.c_void_p]
library.fi_surface_release.argtypes = [ctypes.c_void_p]
library.fi_surface_copy_to_host.argtypes = [
@@ -175,6 +177,27 @@ class _BridgeManager:
ctypes.c_uint32, ctypes.c_void_p, ctypes.c_int,
]
library.fi_surface_copy_to_host.restype = ctypes.c_int
+ library.fi_surface_copy_rgb_to_host.argtypes = [
+ ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint32,
+ ctypes.c_void_p, ctypes.c_int,
+ ]
+ library.fi_surface_copy_rgb_to_host.restype = ctypes.c_int
+ library.fi_surface_convert.argtypes = [
+ ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint32,
+ ctypes.c_void_p, ctypes.c_int,
+ ]
+ library.fi_surface_convert.restype = ctypes.c_void_p
+ library.fi_session_copy_motion.argtypes = [
+ ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint32,
+ ctypes.c_void_p, ctypes.c_int,
+ ]
+ library.fi_session_copy_motion.restype = ctypes.c_int
+ library.fi_session_copy_nvof_flow.argtypes = [
+ ctypes.c_void_p, ctypes.c_uint32, ctypes.c_void_p, ctypes.c_uint32,
+ ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32),
+ ctypes.c_void_p, ctypes.c_int,
+ ]
+ library.fi_session_copy_nvof_flow.restype = ctypes.c_int
library.fi_session_diagnostics.argtypes = [ctypes.c_void_p,
ctypes.POINTER(ctypes.c_uint64), ctypes.c_uint32]
library.fi_session_diagnostics.restype = ctypes.c_int
@@ -251,6 +274,12 @@ class _BridgeManager:
_MANAGER = _BridgeManager()
+def preload_bridge() -> None:
+ """Load the bridge before showing the UI without fixing the GPU choice."""
+ with NGX_RUNTIME_LOCK:
+ _MANAGER._load()
+
+
def initialize_bridge(ordinal: int) -> dict[str, Any]:
return _MANAGER.initialize(ordinal)
@@ -271,7 +300,16 @@ class DLSSGCudaSurface:
self.release()
self.closed = True
+ def __del__(self) -> None:
+ if not self.closed:
+ self.close()
+
+ def _require_yuv(self) -> None:
+ if self.descriptor.pixel_format not in {FORMAT_NV12, FORMAT_P010}:
+ raise DLSSGBridgeError("An RGB surface must be converted before YUV encoding.")
+
def to_av_frame(self) -> av.VideoFrame:
+ self._require_yuv()
descriptor = self.descriptor
bits = 16 if descriptor.pixel_format == FORMAT_P010 else 8
item_size = bits // 8
@@ -296,6 +334,7 @@ class DLSSGCudaSurface:
return frame
def to_host_frame(self) -> av.VideoFrame:
+ self._require_yuv()
pixel_format = "p010le" if self.descriptor.pixel_format == FORMAT_P010 else "nv12"
frame = av.VideoFrame(int(self.descriptor.width), int(self.descriptor.height), pixel_format)
error = ctypes.create_string_buffer(2048)
@@ -307,6 +346,32 @@ class DLSSGCudaSurface:
self.close()
return frame
+ def to_host_rgb(self) -> np.ndarray:
+ if self.descriptor.pixel_format not in {FORMAT_RGBA8, FORMAT_RGBA16F}:
+ raise DLSSGBridgeError("The surface does not contain RGB pixels.")
+ dtype = np.float16 if self.descriptor.pixel_format == FORMAT_RGBA16F else np.uint8
+ pixels = np.empty((int(self.descriptor.height), int(self.descriptor.width), 4), dtype=dtype)
+ error = ctypes.create_string_buffer(2048)
+ if not self.library.fi_surface_copy_rgb_to_host(
+ ctypes.c_void_p(self.handle), ctypes.c_void_p(int(pixels.ctypes.data)),
+ int(pixels.strides[0]), error, len(error)):
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "RGB download failed")
+ return pixels
+
+ def to_yuv_surface(self, *, color_matrix: int, color_range: int,
+ p010: bool) -> "DLSSGCudaSurface":
+ error = ctypes.create_string_buffer(2048)
+ handle = self.library.fi_surface_convert(
+ ctypes.c_void_p(self.handle), FORMAT_P010 if p010 else FORMAT_NV12,
+ int(color_matrix), int(color_range), error, len(error))
+ if not handle:
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "RGB conversion failed")
+ descriptor = FrameDescriptorV1.empty()
+ if not self.library.fi_surface_frame_desc(ctypes.c_void_p(handle), ctypes.byref(descriptor)):
+ self.library.fi_surface_release(ctypes.c_void_p(handle))
+ raise DLSSGBridgeError("RGB conversion returned an invalid CUDA surface.")
+ return DLSSGCudaSurface(self.library, int(handle), descriptor, self.ordinal)
+
class DirectDLSSGSession:
"""One persistent interpolation history; all frame pixels stay in-process."""
@@ -323,7 +388,7 @@ class DirectDLSSGSession:
descriptor.struct_size, descriptor.abi_version = ctypes.sizeof(descriptor), BRIDGE_ABI_VERSION
descriptor.width, descriptor.height = self.width, self.height
descriptor.generated_count, descriptor.hdr = self.generated_count, int(self.hdr)
- descriptor.surface_pool_size = 8
+ descriptor.surface_pool_size = 16
error = ctypes.create_string_buffer(4096)
handle = _MANAGER.call(
"create", lambda: self.library.fi_session_create(ctypes.byref(descriptor), error, len(error)),
@@ -343,6 +408,18 @@ class DirectDLSSGSession:
descriptor.color_matrix, descriptor.color_range = int(color_matrix), int(color_range)
descriptor.color_primaries, descriptor.color_transfer = int(color_primaries), int(color_transfer)
descriptor.rotation = int(rotation) % 360
+ if isinstance(frame, DLSSGCudaSurface):
+ if frame.closed:
+ raise DLSSGBridgeError("A released RGB surface cannot be interpolated.")
+ if frame.ordinal != self.ordinal:
+ raise DLSSGBridgeError("RGB surface belongs to a different CUDA device.")
+ descriptor.memory_type = MEMORY_CUDA
+ descriptor.pixel_format = frame.descriptor.pixel_format
+ descriptor.width, descriptor.height = frame.descriptor.width, frame.descriptor.height
+ descriptor.planes[:] = frame.descriptor.planes[:]
+ descriptor.strides[:] = frame.descriptor.strides[:]
+ descriptor.rotation = 0
+ return descriptor, (frame,)
if isinstance(frame, np.ndarray):
pixels = np.ascontiguousarray(frame, dtype=np.uint8)
if pixels.shape != (self.height, self.width, 4):
@@ -379,9 +456,10 @@ class DirectDLSSGSession:
def process_frame(self, frame: Any, *, force_reset: bool = False,
detect_scene_cut: bool = True, output_cuda: bool = True,
- output_p010: bool = False, color_matrix: int = 1,
+ output_p010: bool = False, output_rgb: bool = False,
+ color_matrix: int = 1,
color_range: int = 0, color_primaries: int = 1,
- color_transfer: int = 0, rotation: int = 0) -> tuple[list[av.VideoFrame], dict[str, Any]]:
+ color_transfer: int = 0, rotation: int = 0) -> tuple[list[Any], dict[str, Any]]:
if self.closed:
raise DLSSGBridgeError("DLSSG session is closed.")
if self.controller.cancel.is_set():
@@ -392,7 +470,8 @@ class DirectDLSSGSession:
result = FrameResultV1.empty()
error = ctypes.create_string_buffer(4096)
flags = int(force_reset) * FLAG_FORCE_RESET | int(detect_scene_cut) * FLAG_DETECT_CUT
- output_format = FORMAT_P010 if output_p010 else FORMAT_NV12
+ output_format = (FORMAT_RGBA16F if self.hdr else FORMAT_RGBA8) if output_rgb else (
+ FORMAT_P010 if output_p010 else FORMAT_NV12)
ok = _MANAGER.call(
"process", lambda: self.library.fi_process_frame_v1(
ctypes.c_void_p(self.handle), ctypes.byref(source), output_format, flags,
@@ -403,7 +482,7 @@ class DirectDLSSGSession:
if "access violation" in detail.casefold() or "poison" in detail.casefold():
_MANAGER.poisoned_reason = detail
raise DLSSGBridgeError(f"DLSSG evaluation failed: {detail}")
- frames: list[av.VideoFrame] = []
+ frames: list[Any] = []
try:
for index in range(int(result.generated_count)):
handle = int(result.surface_handles[index])
@@ -412,7 +491,8 @@ class DirectDLSSGSession:
ctypes.c_void_p(handle), ctypes.byref(descriptor)):
raise DLSSGBridgeError("DLSSG returned an invalid output surface.")
surface = DLSSGCudaSurface(self.library, handle, descriptor, self.ordinal)
- frames.append(surface.to_av_frame() if output_cuda else surface.to_host_frame())
+ frames.append(surface if output_rgb else (
+ surface.to_av_frame() if output_cuda else surface.to_host_frame()))
except BaseException:
for index in range(len(frames), int(result.generated_count)):
handle = int(result.surface_handles[index])
@@ -440,6 +520,27 @@ class DirectDLSSGSession:
self.stage_timings[key] += detail[key]
return frames, detail
+ def copy_current_input_rgb(self) -> DLSSGCudaSurface:
+ """Retain the RGB input last supplied to this DLSSG session."""
+ if self.closed or not self.completed_frames:
+ raise DLSSGBridgeError("No current DLSSG RGB input is available.")
+ error = ctypes.create_string_buffer(2048)
+ handle = _MANAGER.call(
+ "copy input RGB", lambda: self.library.fi_session_copy_input_rgb(
+ ctypes.c_void_p(self.handle), error, len(error)),
+ (self, error), self.timeout)
+ if not handle:
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "Input RGB copy failed")
+ descriptor = FrameDescriptorV1.empty()
+ if not self.library.fi_surface_frame_desc(ctypes.c_void_p(handle), ctypes.byref(descriptor)):
+ self.library.fi_surface_release(ctypes.c_void_p(handle))
+ raise DLSSGBridgeError("Input RGB copy returned an invalid surface.")
+ expected = FORMAT_RGBA16F if self.hdr else FORMAT_RGBA8
+ if descriptor.pixel_format != expected:
+ self.library.fi_surface_release(ctypes.c_void_p(handle))
+ raise DLSSGBridgeError("Input RGB copy returned an unexpected format.")
+ return DLSSGCudaSurface(self.library, int(handle), descriptor, self.ordinal)
+
def diagnostics(self) -> dict[str, Any]:
values = (ctypes.c_uint64 * 8)()
if self.closed or not self.library.fi_session_diagnostics(
@@ -453,6 +554,41 @@ class DirectDLSSGSession:
"nvof_mode": "SLOW", "timings_ms": dict(self.stage_timings),
}
+ def motion_diagnostics(self) -> np.ndarray:
+ """Download the final current-to-previous pixel vectors for diagnostics."""
+ if self.closed:
+ raise DLSSGBridgeError("DLSSG session is closed.")
+ values = np.empty((self.height, self.width, 2), dtype=np.float16)
+ error = ctypes.create_string_buffer(2048)
+ ok = _MANAGER.call(
+ "motion diagnostics", lambda: self.library.fi_session_copy_motion(
+ ctypes.c_void_p(self.handle), ctypes.c_void_p(int(values.ctypes.data)),
+ int(values.strides[0]), error, len(error)),
+ (self, values, error), self.timeout)
+ if not ok:
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "Motion readback failed")
+ return values.astype(np.float32)
+
+ def nvof_flow_diagnostics(self, *, backward: bool = False) -> np.ndarray:
+ """Download raw NVOF grid vectors in pixel units for motion validation."""
+ if self.closed:
+ raise DLSSGBridgeError("DLSSG session is closed.")
+ width, height = ctypes.c_uint32(), ctypes.c_uint32()
+ error = ctypes.create_string_buffer(2048)
+ args = (ctypes.c_void_p(self.handle), int(backward))
+ if not self.library.fi_session_copy_nvof_flow(
+ *args, None, 0, ctypes.byref(width), ctypes.byref(height), error, len(error)):
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "NVOF dimensions failed")
+ values = np.empty((height.value, width.value, 2), dtype=np.int16)
+ ok = _MANAGER.call(
+ "NVOF flow diagnostics", lambda: self.library.fi_session_copy_nvof_flow(
+ *args, ctypes.c_void_p(int(values.ctypes.data)), int(values.strides[0]),
+ ctypes.byref(width), ctypes.byref(height), error, len(error)),
+ (self, values, error), self.timeout)
+ if not ok:
+ raise DLSSGBridgeError(error.value.decode("utf-8", "replace") or "NVOF flow readback failed")
+ return values.astype(np.float32) / 32.0
+
def close(self, *, abort: bool = False) -> None:
if self.closed:
return
diff --git a/src/frame_interpolation/processor.py b/src/frame_interpolation/processor.py
index baa3ef7..ed34c3f 100644
--- a/src/frame_interpolation/processor.py
+++ b/src/frame_interpolation/processor.py
@@ -16,18 +16,19 @@ from typing import Any, Callable
import av
import numpy as np
from av.codec.hwaccel import HWAccel
+from av.video.reformatter import Colorspace
from ..core import app_log, ffmpeg
from ..core.disk_paths import OutputFile, prepare_output_dir
from ..core.gpu_selection import resolve_runtime_ai_gpu
from ..core.jobs import Cancelled, active_job
-from ..core.naming import output_filename, validate_rename
+from ..core.naming import output_filename, unique_output_path, validate_rename
from ..core.paths import JOBS, OUTPUTS
from ..core.runtime import prepare_runtime, rotate_frame
from ..upscale.video.cuda_transfer import CudaTransferPool
from .capabilities import probe_frame_interpolation_capabilities
from .models import FrameInterpolationOptions, FrameInterpolationResult
-from .native import DirectDLSSGSession
+from .native import DLSSGCudaSurface, DirectDLSSGSession
from .scheduler import choose_interpolation_plan, output_frame_count
_BATCH_CONTEXT = threading.local()
@@ -42,7 +43,7 @@ _NVENC = {
@dataclass(slots=True)
class TimedFrame:
bridge_frame: Any
- encode_frame: av.VideoFrame
+ encode_frame: Any
timestamp: Fraction
segment: int
provenance: str
@@ -109,19 +110,36 @@ def _encoder(options: FrameInterpolationOptions, codec: str, width: int, height:
return _Encoder(name, name, "yuv420p10le" if hdr else "yuv420p", False, values, bitrate)
if normalized == "ProRes Proxy":
values = {"profile": "0"}
- if quality.get("bits_per_mb") is not None:
- values["bits_per_mb"] = str(int(quality["bits_per_mb"]))
+ bits_per_mb = quality.get("bits_per_mb")
+ if bits_per_mb is None and options.quality == "Auto (Default)":
+ bits_per_mb = 300
+ if bits_per_mb is not None:
+ values["bits_per_mb"] = str(int(bits_per_mb))
return _Encoder("prores_ks", "prores_ks (Proxy)", "yuv422p10le", False, values, 0)
+ if normalized == "ProRes HQ":
+ return _Encoder("prores_ks", "prores_ks (HQ)", "yuv422p10le", False,
+ {"profile": "3"}, 0)
+ if normalized == "FFV1 Lossless RGB 10-bit":
+ return _Encoder("ffv1", "ffv1 (Lossless RGB 10-bit)", "gbrp10le", False,
+ {"level": "3", "slicecrc": "1"}, 0)
raise ValueError(f"Unsupported in-process codec: {codec}.")
-def _matrix_code(metadata: dict[str, Any]) -> int:
+def _matrix_code(metadata: dict[str, Any], *, hdr: bool = False) -> int:
value = str(metadata.get("color_space") or "").casefold()
if value in {"bt2020nc", "bt2020c"}:
return 2
- if value in {"bt470bg", "smpte170m", "smpte240m", "fcc"}:
+ if value in {"bt470bg", "smpte170m"}:
return 0
- return 1
+ if value == "bt709":
+ return 1
+ if value == "fcc":
+ return 3
+ if value == "smpte240m":
+ return 4
+ # FFmpeg decodes untagged SDR YUV to RGB with its BT.601 default. Match
+ # that interpretation when the RGB pixels return to an encoded YUV frame.
+ return 2 if hdr else 0
def _range_code(metadata: dict[str, Any]) -> int:
@@ -130,7 +148,7 @@ def _range_code(metadata: dict[str, Any]) -> int:
def _primaries_code(metadata: dict[str, Any]) -> int:
value = str(metadata.get("color_primaries") or "").casefold()
- return 2 if value == "bt2020" else 0 if value in {"bt470bg", "bt470m"} else 1
+ return 2 if value == "bt2020" else 0 if value in {"bt470bg", "bt470m", "smpte170m"} else 1
def _transfer_code(metadata: dict[str, Any]) -> int:
@@ -143,11 +161,15 @@ def _set_color_properties(context: Any, metadata: dict[str, Any], hdr: bool) ->
primaries = str(metadata.get("color_primaries") or "").casefold()
transfer = str(metadata.get("color_transfer") or "").casefold()
matrix = str(metadata.get("color_space") or "").casefold()
- context.color_primaries = {"bt2020": 9, "smpte432": 12}.get(primaries, 1)
- context.color_trc = {"smpte2084": 16, "arib-std-b67": 18, "iec61966-2-1": 13}.get(
- transfer, 1)
- context.colorspace = {"bt2020nc": 9, "bt2020c": 10, "smpte170m": 6,
- "bt470bg": 5}.get(matrix, 1)
+ context.color_primaries = {"bt709": 1, "bt470m": 4, "bt470bg": 5,
+ "smpte170m": 6, "smpte240m": 7, "bt2020": 9,
+ "smpte432": 12}.get(primaries, 2)
+ context.color_trc = {"bt709": 1, "bt470m": 4, "bt470bg": 5,
+ "smpte170m": 6, "smpte240m": 7, "linear": 8, "iec61966-2-1": 13,
+ "smpte2084": 16, "arib-std-b67": 18}.get(transfer, 2)
+ context.colorspace = {"bt709": 1, "fcc": 4, "bt470bg": 5,
+ "smpte170m": 6, "smpte240m": 7, "bt2020nc": 9,
+ "bt2020c": 10}.get(matrix, 9 if hdr else 6)
context.color_range = 2 if _range_code(metadata) else 1
if hdr and primaries in {"", "unknown"}:
context.color_primaries, context.color_trc, context.colorspace = 9, 16, 9
@@ -195,10 +217,11 @@ def _validate_decoded_frame(frame: Any) -> Any:
class DLSSGStage:
def __init__(self, session: DirectDLSSGSession, generated_count: int, *,
detect_source_cuts: bool, cuda_output: bool, output_p010: bool,
- colors: dict[str, int]) -> None:
+ colors: dict[str, int], preserve_source_rgb: bool = False) -> None:
self.session, self.generated_count = session, int(generated_count)
self.detect_source_cuts, self.cuda_output = detect_source_cuts, cuda_output
self.output_p010, self.colors = output_p010, colors
+ self.preserve_source_rgb = preserve_source_rgb
self.previous: TimedFrame | None = None
self.scene_cuts = self.duplicates = 0
@@ -212,7 +235,10 @@ class DLSSGStage:
generated, detail = self.session.process_frame(
bridge_frame, force_reset=force_reset,
detect_scene_cut=self.detect_source_cuts, output_cuda=self.cuda_output,
- output_p010=self.output_p010, **self.colors)
+ output_p010=self.output_p010, output_rgb=True, **self.colors)
+ if self.preserve_source_rgb:
+ source_rgb = self.session.copy_current_input_rgb()
+ frame = replace(frame, bridge_frame=source_rgb, encode_frame=source_rgb)
if previous is not None and detail["scene_cut"] and self.detect_source_cuts:
frame = replace(frame, segment=previous.segment + 1)
self.scene_cuts += 1
@@ -278,7 +304,7 @@ class NearestTimestampWriter:
def _duration_fraction(metadata: dict, source_rate: Fraction, frames: int, *, cfr: bool) -> Fraction:
if cfr and frames > 0:
return Fraction(frames, 1) / source_rate
- return Fraction(str(metadata["duration"]))
+ return Fraction(str(metadata.get("video_stream_duration") or metadata["duration"]))
def _validate(options: FrameInterpolationOptions) -> None:
@@ -408,9 +434,9 @@ def interpolate_video(
destination = prepare_output_dir(output_dir, default=OUTPUTS)
stamp = time.strftime("%Y%m%d-%H%M%S") + f"-{time.time_ns()%1_000_000:06d}"
extension = {"MP4": ".mp4", "MKV": ".mkv", "MOV": ".mov"}[options.container]
- output = destination / output_filename(
+ output = unique_output_path(destination / output_filename(
source, extension, options.rename_mode, options.custom_suffix,
- f"{source.stem}_{'DLSSFG_PREVIEW' if preview else 'DLSSFG'}_{stamp}")
+ f"{source.stem}_{'DLSSFG_PREVIEW' if preview else 'DLSSFG'}_{stamp}"))
output_file = OutputFile(output)
JOBS.mkdir(exist_ok=True)
job = tempfile.TemporaryDirectory(prefix="dlssg-bridge-", dir=JOBS)
@@ -432,7 +458,15 @@ def interpolate_video(
output_stream.codec_context.time_base = output_tb
output_stream.codec_context.options = encoder.options
output_stream.codec_context.bit_rate = encoder.bitrate
+ if encoder.display == "prores_ks (Proxy)" and options.quality == "Auto (Default)":
+ # Proxy's default quantizer remains visibly softer even with
+ # the higher macroblock budget. Match its high-quality range.
+ output_stream.codec_context.qscale = True
+ output_stream.codec_context.global_quality = 3
_set_color_properties(output_stream.codec_context, metadata, effective_hdr)
+ if encoder.name == "ffv1":
+ output_stream.codec_context.colorspace = 0 # RGB, no YUV matrix.
+ output_stream.codec_context.color_range = 2 # Full range.
output_stream.codec_context.open()
generated_count = plan.generated_per_interval if plan.path == "Native DLSSG" else 1
@@ -443,17 +477,25 @@ def interpolate_video(
int(metadata["width"]), int(metadata["height"]), generated_count,
controller, ai_ordinal, hdr=effective_hdr))
timings["session_initialization_seconds"] = time.perf_counter() - initialization_start
- colors = {"color_matrix": _matrix_code(metadata), "color_range": _range_code(metadata),
+ colors = {"color_matrix": _matrix_code(metadata, hdr=effective_hdr),
+ "color_range": _range_code(metadata),
"color_primaries": _primaries_code(metadata),
"color_transfer": _transfer_code(metadata),
"rotation": int(metadata["rotation"])}
stages = [DLSSGStage(
session, generated_count, detect_source_cuts=index == 0,
- cuda_output=cuda_route, output_p010=output_p010, colors=colors)
+ cuda_output=cuda_route, output_p010=output_p010, colors=colors,
+ preserve_source_rgb=index == 0)
for index, session in enumerate(sessions)]
if cuda_route and encode_ordinal != ai_ordinal:
transfer_pool = CudaTransferPool(ai_ordinal, encode_ordinal, controller)
+ rgb_colorspace = {
+ 0: Colorspace.ITU601, 1: Colorspace.ITU709,
+ 2: Colorspace.BT2020, 3: Colorspace.FCC,
+ 4: Colorspace.SMPTE240M,
+ }[colors["color_matrix"]]
+
decode_queue: queue.Queue = queue.Queue(maxsize=4)
encode_queue: queue.Queue = queue.Queue(maxsize=4)
@@ -488,7 +530,15 @@ def interpolate_video(
frame, pts = item
encode_start = time.perf_counter()
if not cuda_route and frame.format.name != encoder.pixel_format:
- frame = frame.reformat(format=encoder.pixel_format)
+ frame = frame.reformat(
+ format=encoder.pixel_format,
+ src_colorspace=rgb_colorspace,
+ dst_colorspace=rgb_colorspace)
+ if encoder.name == "ffv1":
+ frame.color_primaries = output_stream.codec_context.color_primaries
+ frame.color_trc = output_stream.codec_context.color_trc
+ frame.colorspace = 0
+ frame.color_range = 2
frame.pts, frame.time_base, frame.duration = pts, output_tb, 1
for packet in output_stream.encode(frame):
encoded_container.mux(packet)
@@ -516,6 +566,29 @@ def interpolate_video(
def emit(selected: TimedFrame, index: int) -> None:
frame = selected.encode_frame
+ if isinstance(frame, DLSSGCudaSurface):
+ convert_start = time.perf_counter()
+ if encoder.name == "prores_ks" or not cuda_route:
+ pixels = frame.to_host_rgb()
+ if effective_hdr:
+ # DLSSG returns normalized, transfer-encoded half float RGB.
+ # Keep the 10-bit precision until the final 4:2:2 conversion.
+ depth = 10
+ maximum = (1 << depth) - 1
+ rgb = np.rint(np.clip(pixels[..., :3].astype(np.float32),
+ 0.0, 1.0) * maximum).astype(np.uint16)
+ gbr = np.ascontiguousarray(rgb[..., [1, 2, 0]])
+ frame = av.VideoFrame.from_ndarray(gbr, format=f"gbrp{depth}le")
+ else:
+ frame = av.VideoFrame.from_ndarray(pixels, format="rgba")
+ else:
+ yuv = frame.to_yuv_surface(
+ color_matrix=colors["color_matrix"],
+ color_range=colors["color_range"], p010=output_p010)
+ frame = yuv.to_av_frame()
+ timings["final_color_conversion_seconds"] = (
+ timings.get("final_color_conversion_seconds", 0.0) +
+ time.perf_counter() - convert_start)
if transfer_pool is not None:
transfer_start = time.perf_counter()
frame, _detail = transfer_pool.transfer(frame)
@@ -623,10 +696,12 @@ def interpolate_video(
transfer_pool.close(); transfer_pool = None
update(.9, "Muxing original audio, subtitles, chapters, and metadata")
mux_start = time.perf_counter()
+ audio_diagnostics: dict = {}
ffmpeg.final_mux(
temp_video, source, output_file.temporary, options.container, controller,
preserve_supported_subtitles=True,
- source_time_origin=metadata.get("origin", 0))
+ source_time_origin=metadata.get("origin", 0),
+ audio_diagnostics=audio_diagnostics)
timings["mux_seconds"] = time.perf_counter() - mux_start
update(.96, "Verifying exact frame count, rational FPS, dimensions, and HDR")
verify_start = time.perf_counter()
@@ -642,6 +717,13 @@ def interpolate_video(
raise RuntimeError("Output dimensions changed during interpolation.")
if effective_hdr and (not verified.get("hdr") or int(verified.get("depth", 0)) < 10):
raise RuntimeError("Saved interpolation failed HDR/10-bit verification.")
+ expected = {
+ "ProRes HQ": ("prores", "yuv422p10le", 10),
+ "FFV1 Lossless RGB 10-bit": ("ffv1", "gbrp10le", 10),
+ }.get(ffmpeg._normalize_codec(selected_codec))
+ if expected and (verified.get("codec"), verified.get("pixel_format"),
+ int(verified.get("depth") or 0)) != expected:
+ raise RuntimeError(f"Saved interpolation format does not match {selected_codec}.")
timings["verification_seconds"] = time.perf_counter() - verify_start
elapsed = time.perf_counter() - started
timings["total_seconds"] = elapsed
@@ -667,7 +749,8 @@ def interpolate_video(
else:
memory_path = "host_staging_inprocess_dlssg_encoder"
pool_pressure = {
- "capacity": 8,
+ "capacity": max((int(item.get("surface_pool_capacity", 0))
+ for item in session_diagnostics), default=0),
"allocated": max((int(item.get("surface_pool_allocated", 0))
for item in session_diagnostics), default=0),
"waits": sum(int(item.get("surface_pool_waits", 0))
@@ -687,6 +770,7 @@ def interpolate_video(
"encode": video_gpu if _is_nvenc(selected_codec) else "CPU"},
"discontinuities": discontinuities, "duplicate_intervals": duplicate_intervals,
"unselected_source_frames": unselected_source_frames,
+ "audio_streams": audio_diagnostics.get("streams", []),
}
output_file.publish()
app_log.info("frame-interp", f"done src={source.name} out={output.name} "
diff --git a/src/frame_interpolation/scheduler.py b/src/frame_interpolation/scheduler.py
index a5951d0..53778da 100644
--- a/src/frame_interpolation/scheduler.py
+++ b/src/frame_interpolation/scheduler.py
@@ -83,6 +83,11 @@ def choose_interpolation_plan(
stages = 1
elif ratio == 4:
stages = 2
+ elif cfr and ratio == Fraction(5, 2):
+ # The 8x grid lands at 75% of a 24 FPS interval for some 60 FPS
+ # frames. A 16x grid can select 81.25%, closer to the target instant
+ # and to the current DLSSG frame at difficult motion boundaries.
+ stages = 4
else:
stages = 3
grid = 1 << stages
diff --git a/src/live/pipeline.py b/src/live/pipeline.py
index c7f69d6..c8507e1 100644
--- a/src/live/pipeline.py
+++ b/src/live/pipeline.py
@@ -1019,13 +1019,13 @@ def start_live_session(options: LiveOptions) -> LiveSessionInfo:
return session.snapshot()
-def stop_live_session() -> LiveSessionInfo:
+def stop_live_session(timeout: float | None = 3) -> LiveSessionInfo:
with _LOCK:
session = _CURRENT
if session is None or not session.is_alive():
return live_status()
session.stop()
- session.join(timeout=3)
+ session.join(timeout=timeout)
return session.snapshot()
diff --git a/src/neural_rendering/image/batch.py b/src/neural_rendering/image/batch.py
index d1c300d..2de779e 100644
--- a/src/neural_rendering/image/batch.py
+++ b/src/neural_rendering/image/batch.py
@@ -16,7 +16,7 @@ from ...core.disk_paths import OutputFile, prepare_output_dir
from ...core.gpu_selection import resolve_runtime_ai_gpu
from ...core.jobs import Cancelled, JobController, active_job
from ...core.render_metadata import prepare_render_note
-from ...core.naming import output_filename, validate_rename
+from ...core.naming import output_filename, unique_output_path, validate_rename
from ...core.paths import OUTPUTS
from ...core.runtime import (
DLSSFrameSession, prepare_runtime, resize_fit, resolve_native_settings,
@@ -204,6 +204,7 @@ def convert_images(
controller: JobController | None = None,
on_item_update: Callable[[BatchItemUpdate], None] | None = None,
generate_previews: bool = True, create_zip: bool = True,
+ same_as_input: bool = False,
) -> ImageBatchResult:
options = _validate_options(replace(options) if options else ImageConversionOptions())
paths = [Path(path).resolve() for path in input_paths]
@@ -216,13 +217,14 @@ def convert_images(
session: DLSSFrameSession | None = None
stamp = time.strftime("%Y%m%d-%H%M%S") + f"-{time.time_ns() % 1_000_000:06d}"
archive: IncrementalImageArchive | None = None
- pending: tuple[int, Path, Future[ImageConversionResult]] | None = None
+ pending: tuple[int, Path, Path, Future[ImageConversionResult]] | None = None
+ reserved_outputs: set[Path] = set()
def collect_pending() -> None:
nonlocal pending
if pending is None:
return
- index, path, future = pending
+ index, path, output, future = pending
pending = None
try:
result = future.result()
@@ -236,9 +238,11 @@ def convert_images(
# Output tasks are submitted in input order and only one may be
# outstanding, so appending here preserves stable result ordering.
successes.append(result)
+ finally:
+ reserved_outputs.discard(output)
try:
- destination = prepare_output_dir(output_dir, default=OUTPUTS)
+ destination = prepare_output_dir(output_dir, default=OUTPUTS) if not same_as_input or create_zip else None
if create_zip:
archive = IncrementalImageArchive(
destination / f"DLSS5_IMAGE_BATCH_{stamp}.zip", controller,
@@ -263,10 +267,11 @@ def convert_images(
if controller.cancel.is_set():
break
reporter.advance(index, 0.0, "Decoding image")
- output = _output_path(
+ item_destination = prepare_output_dir(path.parent) if same_as_input else destination
+ output = unique_output_path(_output_path(
path, options.output_format, stamp, index,
- options.rename_mode, options.custom_suffix, output_dir=destination,
- )
+ options.rename_mode, options.custom_suffix, output_dir=item_destination,
+ ), reserved_outputs)
decoded = None
render_rgba = None
processed = None
@@ -413,11 +418,13 @@ def convert_images(
pending = (
index,
path,
+ output,
output_worker.submit(
_finalize_output, task, options, reporter, controller,
generate_previews, archive,
),
)
+ reserved_outputs.add(output)
# Ownership of the full output moves to the worker.
processed = None
except Exception as exc:
diff --git a/src/neural_rendering/image/decoder.py b/src/neural_rendering/image/decoder.py
index d79f77a..9f0aa33 100644
--- a/src/neural_rendering/image/decoder.py
+++ b/src/neural_rendering/image/decoder.py
@@ -1,9 +1,7 @@
from __future__ import annotations
-import hashlib
import io
import os
-import tempfile
from dataclasses import dataclass
from functools import lru_cache
from pathlib import Path
@@ -14,18 +12,11 @@ import rawpy
import resvg_py
from PIL import Image, ImageCms, ImageOps
-from ...core.paths import APP_TEMP
from .models import RAW_EXTENSIONS
pillow_heif.register_heif_opener()
Image.MAX_IMAGE_PIXELS = 100_000_000
-# Formats the native Qt image provider can display without a
-# conversion. Animated raster inputs are still converted below so the preview
-# matches the processing pipeline's first-frame/page semantics.
-_BROWSER_IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".webp", ".avif", ".bmp"}
-
-
@dataclass(slots=True)
class _DecodedImage:
rgba: np.ndarray
@@ -168,14 +159,8 @@ def decode_image(path: str | os.PathLike[str]) -> _DecodedImage:
opened_image.close()
-def decode_image_preview(
- path: str | os.PathLike[str], max_size: tuple[int, int] | None = (1200, 900)
-) -> Image.Image:
- """Decode a UI preview without constructing the full render-time NumPy payload.
-
- ``max_size=None`` preserves the decoded source dimensions. This is used only
- by the opt-in full-size native preview path.
- """
+def decode_image_preview(path: str | os.PathLike[str]) -> Image.Image:
+ """Decode a full-resolution UI image without the render-time NumPy payload."""
source = Path(path).resolve()
suffix = source.suffix.lower()
if suffix in RAW_EXTENSIONS:
@@ -184,26 +169,21 @@ def decode_image_preview(
use_camera_wb=True,
output_color=rawpy.ColorSpace.sRGB,
output_bps=8,
- half_size=max_size is not None,
+ half_size=False,
)
image = Image.fromarray(array, mode="RGB")
- if max_size is not None:
- image.thumbnail(max_size, Image.Resampling.BILINEAR)
- return image.convert("RGBA")
+ try:
+ return image.convert("RGBA")
+ finally:
+ image.close()
image, _decoder = _open_pillow_source(source)
opened_image = image
try:
if int(getattr(image, "n_frames", 1) or 1) > 1:
image.seek(0)
- if max_size is not None:
- # JPEG can ask its decoder for a reduced-resolution IDCT before loading.
- with __import__("contextlib").suppress(Exception):
- image.draft("RGB", max_size)
info = dict(image.info)
image = ImageOps.exif_transpose(image)
- if max_size is not None:
- image.thumbnail(max_size, Image.Resampling.BILINEAR)
icc_profile = info.get("icc_profile")
if isinstance(icc_profile, bytes) and icc_profile:
has_alpha = _has_alpha(image, info)
@@ -227,54 +207,3 @@ def decode_image_preview(
image.close()
if opened_image is not image:
opened_image.close()
-
-
-def _direct_browser_image(source: Path) -> bool:
- suffix = source.suffix.lower()
- if suffix == ".svg":
- return True
- if suffix not in _BROWSER_IMAGE_EXTENSIONS:
- return False
- try:
- with Image.open(source) as image:
- return int(getattr(image, "n_frames", 1) or 1) <= 1
- except Exception:
- return False
-
-
-def full_size_image_preview_path(path: str | os.PathLike[str]) -> str:
- """Return a displayable full-resolution path for an image.
-
- Native single-frame formats are served directly so no pixels are
- copied or re-encoded. RAW/HEIF/TIFF/animated/other Pillow-readable sources
- are converted once to a lossless full-resolution PNG in the app-local
- temp directory.
- """
- source = Path(path).resolve()
- if not source.is_file():
- raise FileNotFoundError(source)
- if _direct_browser_image(source):
- return str(source)
-
- stat = source.stat()
- identity = f"{source}|{stat.st_dev}|{stat.st_ino}|{stat.st_size}|{stat.st_mtime_ns}"
- digest = hashlib.sha256(identity.encode("utf-8", "surrogatepass")).hexdigest()[:24]
- APP_TEMP.mkdir(parents=True, exist_ok=True)
- destination = APP_TEMP / f"dlss5-fullsize-source-{digest}.png"
- if destination.is_file():
- return str(destination.resolve())
-
- image = decode_image_preview(source, None)
- handle, raw_temp = tempfile.mkstemp(
- prefix="dlss5-fullsize-source-write-", suffix=".png", dir=APP_TEMP
- )
- os.close(handle)
- temporary = Path(raw_temp)
- try:
- image.save(temporary, format="PNG", optimize=False, compress_level=1)
- os.replace(temporary, destination)
- finally:
- image.close()
- temporary.unlink(missing_ok=True)
- return str(destination.resolve())
-
diff --git a/src/neural_rendering/image/preview.py b/src/neural_rendering/image/preview.py
index a5d80a5..2cdebcf 100644
--- a/src/neural_rendering/image/preview.py
+++ b/src/neural_rendering/image/preview.py
@@ -23,7 +23,7 @@ from ...core.runtime import (
)
from .batch import _validate_options
from .decoder import decode_image
-from .encoder import make_image_preview, save_full_size_image_preview
+from .encoder import save_full_size_image_preview
from .models import ImageConversionOptions
@@ -41,7 +41,6 @@ def render_image_preview(
progress: Callable[[float, str], None] | None = None,
*,
controller: JobController | None = None,
- full_size_preview: bool = False,
) -> tuple[Image.Image | str, str]:
"""Run the real single-image feature-18 path without publishing any files."""
options = _validate_options(replace(options) if options else ImageConversionOptions())
@@ -122,14 +121,9 @@ def render_image_preview(
session = None
_update(controller, progress, .94, "Preparing preview")
- if full_size_preview:
- preview = save_full_size_image_preview(
- processed, options.output_format, decoded.alpha is not None,
- )
- else:
- preview = make_image_preview(
- processed, options.output_format, decoded.alpha is not None,
- )
+ preview = save_full_size_image_preview(
+ processed, options.output_format, decoded.alpha is not None,
+ )
elapsed = time.monotonic() - started
status = (
f"Preview complete: {source.name} | {width}×{height} → "
diff --git a/src/neural_rendering/video/batch.py b/src/neural_rendering/video/batch.py
index be7df50..738cb4b 100644
--- a/src/neural_rendering/video/batch.py
+++ b/src/neural_rendering/video/batch.py
@@ -22,7 +22,7 @@ def convert_videos(
*, output_dir: str | os.PathLike[str] | None = None,
controller: JobController | None = None,
on_item_update: Callable[[BatchItemUpdate], None] | None = None,
- create_archive: bool = False,
+ create_archive: bool = False, same_as_input: bool = False,
) -> VideoBatchResult:
"""Render in input order, publishing a completed row before starting the next file."""
options = replace(options) if options else ConversionOptions()
@@ -37,7 +37,7 @@ def convert_videos(
archive_error = ""
stamp = time.strftime("%Y%m%d-%H%M%S") + f"-{time.time_ns() % 1_000_000:06d}"
try:
- destination = prepare_output_dir(output_dir, default=processor.OUTPUTS)
+ destination = prepare_output_dir(output_dir, default=processor.OUTPUTS) if not same_as_input or create_archive else None
if create_archive and len(paths) > 1:
archive = StreamingMediaArchive(
destination, "DLSS5_VIDEO_BATCH", controller=controller
@@ -56,7 +56,7 @@ def convert_videos(
try:
result = processor.convert_video(
path, options, lambda value, message, i=index: reporter.advance(i, value, message),
- output_dir=destination,
+ output_dir=prepare_output_dir(path.parent) if same_as_input else destination,
)
except Exception as exc:
cancelled = isinstance(exc, Cancelled) or controller.cancel.is_set()
@@ -91,7 +91,7 @@ def convert_videos(
diagnostics["archive_error"] = archive_error
manifest = _write_video_batch_manifest(
stamp, options, successes, failures, cancelled,
- batch_diagnostics=diagnostics, output_dir=str(destination)
+ batch_diagnostics=diagnostics, output_dir=str(destination) if destination else None
)
reporter.finish(cancelled=cancelled, manifest_path=manifest)
return VideoBatchResult(
diff --git a/src/neural_rendering/video/cuda_pipeline.py b/src/neural_rendering/video/cuda_pipeline.py
index de7f58f..1116b78 100644
--- a/src/neural_rendering/video/cuda_pipeline.py
+++ b/src/neural_rendering/video/cuda_pipeline.py
@@ -388,6 +388,7 @@ def convert_video_cuda_nvenc(
gc.collect()
mux_started = time.perf_counter()
+ audio_diagnostics: dict = {}
if preview_frames is not None:
shutil.copyfile(temp_video, output_file.temporary)
metadata_diagnostics.update(status="skipped", reason="preview_fast_path")
@@ -401,6 +402,7 @@ def convert_video_cuda_nvenc(
controller,
render_note=render_note,
metadata_diagnostics=metadata_diagnostics,
+ audio_diagnostics=audio_diagnostics,
)
timings["final_mux_seconds"] = time.perf_counter() - mux_started
_check_cancel(controller)
@@ -421,6 +423,7 @@ def convert_video_cuda_nvenc(
decode_backend = "+".join(sorted(decode_backends)) or "unknown"
status["decode_backend"] = decode_backend
status["encode_backend"] = codec_name
+ status["audio_streams"] = audio_diagnostics.get("streams", [])
resize_method = "none" if factor == 1.0 else "lanczos"
elapsed = time.perf_counter() - started
report_path = app_log.session_path()
diff --git a/src/neural_rendering/video/processor.py b/src/neural_rendering/video/processor.py
index 109dff9..7326982 100644
--- a/src/neural_rendering/video/processor.py
+++ b/src/neural_rendering/video/processor.py
@@ -19,7 +19,7 @@ import numpy as np
from ...core import app_log, ffmpeg
from ...core.gpu_selection import resolve_runtime_ai_gpu
from ...core.jobs import Cancelled, active_job
-from ...core.naming import output_filename, validate_rename
+from ...core.naming import output_filename, unique_output_path, validate_rename
from ...core.disk_paths import OutputFile, prepare_output_dir
from ...core.render_metadata import prepare_render_note
from ...core.paths import JOBS, OUTPUTS
@@ -92,7 +92,7 @@ def convert_video(
hdr_requested = False
if hdr_requested and not ffmpeg.hdr_mode_supported(options.codec):
raise ValueError(
- f"HDR Mode is only available for H.265, H.265 (NVIDIA NVENC), AV1, AV1 (NVIDIA NVENC) and ProRes Proxy; "
+ f"HDR Mode is only available for a 10-bit or higher codec; "
f"current codec is {options.codec!r}."
)
prepared_runtime = getattr(_BATCH_CONTEXT, "prepared_runtime", None)
@@ -222,13 +222,13 @@ def convert_video(
else "DLSS5_PREVIEW"
)
)
- output = destination / output_filename(
+ output = unique_output_path(destination / output_filename(
source,
extension,
options.rename_mode,
options.custom_suffix,
f"{source.stem}_{output_kind}_{stamp}",
- )
+ ))
output_file = OutputFile(output)
temp_video = job_dir / (f"processed-video{extension}" if preview_frames is not None else "processed-video.mkv")
# Host-memory path (CPU codec): stage explicitly, never CUDA.
@@ -241,6 +241,13 @@ def convert_video(
and preview_frames is None
and (preview_seconds is not None or video_duration > 0.0)
)
+ audio_diagnostics: dict = {}
+ direct_audio_plan = (
+ ffmpeg.plan_audio_streams(source, options.container, controller)
+ if direct_mux else None
+ )
+ if direct_audio_plan is not None:
+ audio_diagnostics["streams"] = direct_audio_plan.diagnostics()
direct_comment = (
ffmpeg.prepare_mux_comment(
source, options.container, render_note, metadata_diagnostics, controller
@@ -294,6 +301,7 @@ def convert_video(
comment=direct_comment,
audio_duration=audio_duration if direct_mux else None,
include_source_metadata=not is_preview,
+ audio_plan=direct_audio_plan,
)
)
except BaseException as exc:
@@ -725,6 +733,7 @@ def convert_video(
ffmpeg.final_mux(
temp_video, source, output_file.temporary, options.container, controller,
render_note=render_note, metadata_diagnostics=metadata_diagnostics,
+ audio_diagnostics=audio_diagnostics,
)
timings["final_mux_seconds"] = time.perf_counter() - mux_started
timings["muxing_seconds"] = timings["final_mux_seconds"]
@@ -757,6 +766,21 @@ def convert_video(
f"Output verification found {verified['width']}×{verified['height']} "
f"instead of {output_width}×{output_height}."
)
+ expected = {
+ "ProRes HQ": ("prores", "yuv422p10le", 10),
+ "FFV1 Lossless RGB 10-bit": ("ffv1", "gbrp10le", 10),
+ }.get(ffmpeg._normalize_codec(options.codec))
+ if expected and not compat_preview and (
+ verified.get("codec"), verified.get("pixel_format"),
+ int(verified.get("depth") or 0)
+ ) != expected:
+ raise RuntimeError(f"Saved output does not match {options.codec}.")
+ if expected and effective_hdr and metadata.get("hdr") and (
+ not verified.get("hdr") or verified.get("color_primaries") != "bt2020" or
+ verified.get("color_space") != (
+ "gbr" if expected[0] == "ffv1" else "bt2020nc")
+ ):
+ raise RuntimeError(f"Saved {options.codec} output lost HDR color signaling.")
timings["verification_seconds"] = time.perf_counter() - verify_started
elapsed = time.perf_counter() - started
@@ -780,7 +804,7 @@ def convert_video(
output_height=output_height, upscaling_factor=factor,
neural_dimensions={"width": render_width, "height": render_height},
resize_method=resize_method, memory_path=memory_path,
- bridge_status=session.structured_status(),
+ bridge_status={**session.structured_status(), "audio_streams": audio_diagnostics.get("streams", [])},
)
except Exception as exc:
was_cancelled = controller.cancel.is_set()
diff --git a/src/settings/models.py b/src/settings/models.py
index bf33202..1c525f6 100644
--- a/src/settings/models.py
+++ b/src/settings/models.py
@@ -24,6 +24,7 @@ AUTOMATIC_MASK_CHOICES = ("Off", "On")
PREVIEW_ENCODING_CHOICES = ("Auto", "Always H.264", "Disabled")
UPSCALE_MODE_CHOICES = ("Image", "Video")
+UPSCALE_PREVIEW_LENGTH_CHOICES = PREVIEW_LENGTH_CHOICES
def coerce_hdr_mode(codec: str, enabled: bool) -> bool:
@@ -102,7 +103,6 @@ class UISettings:
frame_interpolation_custom_suffix: str = "_Frame_Interpolation"
frame_interpolation_preview_length: str = "3"
preview_encoding: str = "Auto"
- full_size_image_previews: bool = True
upscale_mode: str = "Image"
upscale_image_vsr_quality: int = 4
upscale_image_size_mode: str = "Scale factor"
@@ -131,6 +131,7 @@ class UISettings:
upscale_codec: str = "H.265 (NVIDIA NVENC)"
upscale_container: str = "MKV"
upscale_quality: str = "Auto (Default)"
+ upscale_preview_length: str = "3"
upscale_rename_mode: str = "Auto"
upscale_custom_suffix: str = "_Upscale"
@@ -221,8 +222,6 @@ def _validate(settings: UISettings) -> UISettings:
raise ValueError("HDR Mode must be a boolean value.")
if not isinstance(settings.frame_interpolation_hdr_mode, bool):
raise ValueError("Frame Interpolation HDR Mode must be a boolean value.")
- if not isinstance(settings.full_size_image_previews, bool):
- raise ValueError("Full size quality preview must be a boolean value.")
# Migrate old codec names before validation
migrated_codec = _migrate_codec(settings.codec)
migrated_fi_codec = _migrate_codec(settings.frame_interpolation_codec)
@@ -269,6 +268,10 @@ def _validate(settings: UISettings) -> UISettings:
settings.frame_interpolation_preview_length,
PREVIEW_LENGTH_CHOICES,
),
+ "Upscale preview length": (
+ settings.upscale_preview_length,
+ UPSCALE_PREVIEW_LENGTH_CHOICES,
+ ),
"Preview encoding": (
settings.preview_encoding,
PREVIEW_ENCODING_CHOICES,
diff --git a/src/settings/storage.py b/src/settings/storage.py
index c392a26..2399152 100644
--- a/src/settings/storage.py
+++ b/src/settings/storage.py
@@ -15,7 +15,8 @@ from ..frame_interpolation.models import ENGINE_CHOICES, FPS_CHOICES, PREVIEW_LE
from .migration import _migrate_codec
from .models import (
CODEC_CHOICES, CONFIG_SECTION, CONTAINER_CHOICES, DEFAULT_SETTINGS, IMAGE_FORMAT_CHOICES,
- PREVIEW_ENCODING_CHOICES, QUALITY_CHOICES, UPSCALE_MODE_CHOICES, UISettings, _validate,
+ PREVIEW_ENCODING_CHOICES, QUALITY_CHOICES, UPSCALE_MODE_CHOICES,
+ UPSCALE_PREVIEW_LENGTH_CHOICES, UISettings, _validate,
)
from ..upscale.video.models import SETTING_FIELDS, options_from_settings
from ..upscale.image.models import SETTING_FIELDS as IMAGE_UPSCALE_FIELDS, options_from_settings as image_upscale_options
@@ -226,14 +227,16 @@ def load_settings(path: str | os.PathLike[str]) -> UISettings:
PREVIEW_ENCODING_CHOICES,
DEFAULT_SETTINGS.preview_encoding,
),
- full_size_image_previews=boolean(
- "full_size_image_previews", DEFAULT_SETTINGS.full_size_image_previews
- ),
upscale_mode=choice(
"upscale_mode",
UPSCALE_MODE_CHOICES,
DEFAULT_SETTINGS.upscale_mode,
),
+ upscale_preview_length=choice(
+ "upscale_preview_length",
+ UPSCALE_PREVIEW_LENGTH_CHOICES,
+ DEFAULT_SETTINGS.upscale_preview_length,
+ ),
)
# First-run migration: Live mirrors default to the loaded shared NR
# values so previous Live tunings survive the split. Factory defaults
@@ -324,6 +327,7 @@ def save_settings(path: str | os.PathLike[str], settings: UISettings) -> None:
**{"upscale_image_" + name: str(getattr(settings, "upscale_image_" + name)) for name in IMAGE_UPSCALE_FIELDS},
**{"upscale_" + name: str(getattr(settings, "upscale_" + name)) for name in SETTING_FIELDS},
"upscale_mode": settings.upscale_mode,
+ "upscale_preview_length": settings.upscale_preview_length,
"ai_gpu_uuid": settings.ai_gpu_uuid,
"video_gpu_uuid": settings.video_gpu_uuid,
"nr_style": settings.nr_style,
@@ -374,7 +378,6 @@ def save_settings(path: str | os.PathLike[str], settings: UISettings) -> None:
"frame_interpolation_rename_mode": settings.frame_interpolation_rename_mode,
"frame_interpolation_custom_suffix": settings.frame_interpolation_custom_suffix,
"preview_encoding": settings.preview_encoding,
- "full_size_image_previews": str(settings.full_size_image_previews).lower(),
}
temporary = config_path.with_name(f".{config_path.name}.tmp")
@@ -409,9 +412,3 @@ def current_preview_encoding() -> str:
settings = SETTINGS_STATE.current or load_settings(CONFIG_PATH)
return normalize_preview_encoding(settings.preview_encoding)
-
-def full_size_image_previews_enabled() -> bool:
- """Return the saved image-preview quality mode for one operation snapshot."""
- with SETTINGS_STATE.lock:
- settings = SETTINGS_STATE.current or load_settings(CONFIG_PATH)
- return bool(settings.full_size_image_previews)
diff --git a/src/upscale/image/batch.py b/src/upscale/image/batch.py
index f3976bd..a135937 100644
--- a/src/upscale/image/batch.py
+++ b/src/upscale/image/batch.py
@@ -12,8 +12,8 @@ from .models import ImageUpscaleOptions, ImageUpscaleBatchResult, ImageUpscaleFa
from .processor import upscale_image
-def upscale_images(input_paths, options=None, progress=None, *, output_dir=None, controller=None,
- on_item_update=None, generate_previews=True):
+def upscale_images(input_paths, options=None, progress=None, *, output_dir=None, controller=None,
+ on_item_update=None, generate_previews=True, same_as_input=False):
options = replace(options) if options else ImageUpscaleOptions()
options.validate()
paths = [Path(p).resolve() for p in input_paths]
@@ -24,7 +24,7 @@ def upscale_images(input_paths, options=None, progress=None, *, output_dir=None,
successes, failures = [], []
session_cache = {}
try:
- destination = prepare_output_dir(output_dir)
+ destination = None if same_as_input else prepare_output_dir(output_dir)
with active_job(controller):
if controller.cancel.is_set():
raise Cancelled("Stopped before rendering.")
@@ -35,7 +35,8 @@ def upscale_images(input_paths, options=None, progress=None, *, output_dir=None,
reporter.advance(i)
try:
result = upscale_image(path, options, lambda v, m, i=i: reporter.advance(i, v, m),
- output_dir=destination, controller=controller, _owns_slot=True,
+ output_dir=prepare_output_dir(path.parent) if same_as_input else destination,
+ controller=controller, _owns_slot=True,
_capabilities=caps, generate_previews=generate_previews,
_session_cache=session_cache)
except Exception as exc:
diff --git a/src/upscale/image/processor.py b/src/upscale/image/processor.py
index 8cab2d8..6db71ee 100644
--- a/src/upscale/image/processor.py
+++ b/src/upscale/image/processor.py
@@ -13,10 +13,10 @@ from ..video.native import RTXVideoSession, probe_capabilities
from ...core import app_log
from ...core.disk_paths import OutputFile, prepare_output_dir
from ...core.jobs import Cancelled, active_job
-from ...core.naming import output_filename
+from ...core.naming import output_filename, unique_output_path
from ...neural_rendering.image.decoder import decode_image
from ...neural_rendering.image.encoder import (
- _encode_image, make_image_preview, save_full_size_image_preview,
+ _encode_image, save_full_size_image_preview,
)
from ...neural_rendering.image.models import ImageConversionOptions
from .models import IMAGE_EXTENSIONS, ImageUpscaleOptions, ImageUpscaleResult, output_size
@@ -46,7 +46,7 @@ def worker_to_srgb(data, width, height, alpha):
return rgba
-def preview_upscale_image(input_path, options=None, progress=None, *, controller=None, full_size_preview=False):
+def preview_upscale_image(input_path, options=None, progress=None, *, controller=None):
"""Run the real RTX VSR still-image path without publishing output/report files."""
options = replace(options) if options else ImageUpscaleOptions()
options.validate()
@@ -82,14 +82,9 @@ def preview_upscale_image(input_path, options=None, progress=None, *, controller
last_results = tuple(session.last_results)
update(.88, "Preparing preview")
- if full_size_preview:
- preview = save_full_size_image_preview(
- processed, options.output_format, decoded.alpha is not None
- )
- else:
- preview = make_image_preview(
- processed, options.output_format, decoded.alpha is not None
- )
+ preview = save_full_size_image_preview(
+ processed, options.output_format, decoded.alpha is not None
+ )
elapsed = time.monotonic() - started
gpu_name = str(caps.gpu.get("name") or caps.gpu.get("display_name") or "NVIDIA GPU")
status = (
@@ -136,9 +131,9 @@ def _process(source, options, progress, output_dir, controller, generate_preview
height, width = decoded.rgba.shape[:2]
ow, oh = output_size(width, height, options)
caps = capabilities or probe_capabilities(options.ai_gpu_uuid, controller=controller)
- output = prepare_output_dir(output_dir) / output_filename(
+ output = unique_output_path(prepare_output_dir(output_dir) / output_filename(
source, IMAGE_EXTENSIONS[options.output_format], options.rename_mode, options.custom_suffix,
- f"{source.stem}_RTXIMAGE_{stamp}")
+ f"{source.stem}_RTXIMAGE_{stamp}"))
destination_file = OutputFile(output)
update(.15, "Processing with RTX VSR")
key = (width, height, ow, oh, int(options.vsr_quality), str(caps.gpu.get("uuid", "")))
diff --git a/src/upscale/video/batch.py b/src/upscale/video/batch.py
index c8ed17e..798888a 100644
--- a/src/upscale/video/batch.py
+++ b/src/upscale/video/batch.py
@@ -12,7 +12,8 @@ from .native import probe_capabilities
from .processor import upscale_video
-def upscale_videos(input_paths, options=None, progress=None, *, output_dir=None, controller=None, on_item_update=None):
+def upscale_videos(input_paths, options=None, progress=None, *, output_dir=None, controller=None,
+ on_item_update=None, same_as_input=False):
options = replace(options) if options else UpscaleOptions()
options.validate()
paths = [Path(p).resolve() for p in input_paths]
@@ -22,7 +23,7 @@ def upscale_videos(input_paths, options=None, progress=None, *, output_dir=None,
reporter = BatchProgress(paths, on_item_update, progress)
successes, failures = [], []
try:
- destination = prepare_output_dir(output_dir)
+ destination = None if same_as_input else prepare_output_dir(output_dir)
with active_job(controller):
if controller.cancel.is_set():
raise Cancelled("Stopped before rendering.")
@@ -33,7 +34,8 @@ def upscale_videos(input_paths, options=None, progress=None, *, output_dir=None,
reporter.advance(i)
try:
result = upscale_video(path, options, lambda v, m, i=i: reporter.advance(i, v, m),
- output_dir=destination, controller=controller, _owns_slot=True, _capabilities=caps)
+ output_dir=prepare_output_dir(path.parent) if same_as_input else destination,
+ controller=controller, _owns_slot=True, _capabilities=caps)
except Exception as exc:
cancelled = controller.cancel.is_set() or isinstance(exc, Cancelled)
failures.append(UpscaleFailure(i, str(path), str(exc), cancelled))
diff --git a/src/upscale/video/cuda_pipeline.py b/src/upscale/video/cuda_pipeline.py
index 7d84e92..5d0c469 100644
--- a/src/upscale/video/cuda_pipeline.py
+++ b/src/upscale/video/cuda_pipeline.py
@@ -24,7 +24,7 @@ from ...core.disk_paths import OutputFile, prepare_output_dir
from ...core.gpu_detection import detect_gpus
from ...core.gpu_selection import resolve_ai_gpu
from ...core.jobs import Cancelled
-from ...core.naming import output_filename
+from ...core.naming import output_filename, unique_output_path
from ...core.paths import JOBS
from .media import inspect_video, packed_bytes
from .models import UpscaleCapabilities, UpscaleOptions, UpscaleResult, output_size
@@ -253,10 +253,10 @@ def convert_video_cuda_nvenc(
extension = {"MP4": ".mp4", "MKV": ".mkv", "MOV": ".mov"}[options.container]
destination = prepare_output_dir(output_dir)
kind = "RTXVIDEO_PREVIEW" if preview else "RTXVIDEO"
- output = destination / output_filename(
+ output = unique_output_path(destination / output_filename(
source, extension, "Auto" if preview else options.rename_mode,
options.custom_suffix, f"{source.stem}_{kind}_{stamp}",
- )
+ ))
destination_file = OutputFile(output)
JOBS.mkdir(exist_ok=True)
session: RTXVideoSession | None = None
@@ -524,9 +524,11 @@ def convert_video_cuda_nvenc(
raise RuntimeError(f"Source has {exact['frames']} frames but only {delivered} were processed.")
update(0.90, "Muxing original audio, subtitles, chapters, and metadata")
mux_started = time.perf_counter()
+ audio_diagnostics: dict = {}
ffmpeg.final_mux(
temp_video, source, destination_file.temporary, options.container, controller,
preserve_supported_subtitles=True, source_time_origin=metadata["origin"],
+ audio_diagnostics=audio_diagnostics,
)
timings["final_mux_seconds"] = time.perf_counter() - mux_started
update(0.96, "Verifying output frames, resolution, and HDR signaling")
@@ -563,6 +565,7 @@ def convert_video_cuda_nvenc(
)
session_status["timings"] = dict(timings)
session_status["adapters"] = {"ai": ai_gpu, "decode": ai_gpu, "encode": video_gpu}
+ session_status["audio_streams"] = audio_diagnostics.get("streams", [])
if transfer_diagnostics:
session_status["cross_gpu_transfer"] = transfer_diagnostics
session_status["memory_path"] = transfer_diagnostics["memory_path"]
diff --git a/src/upscale/video/host_pipeline.py b/src/upscale/video/host_pipeline.py
index 76589cf..46c96be 100644
--- a/src/upscale/video/host_pipeline.py
+++ b/src/upscale/video/host_pipeline.py
@@ -23,7 +23,7 @@ from av.codec.hwaccel import HWAccel
from ...core import app_log, ffmpeg
from ...core.disk_paths import OutputFile, prepare_output_dir
from ...core.jobs import Cancelled
-from ...core.naming import output_filename
+from ...core.naming import output_filename, unique_output_path
from ...core.paths import JOBS
from ...core.ffmpeg.codecs import _x265_hdr_params
from .cuda_pipeline import (
@@ -113,6 +113,14 @@ def _encoder_settings(options: UpscaleOptions, width: int, height: int,
return _EncoderSettings(
"prores_ks", "prores_ks (Proxy)", "yuv422p10le",
FORMAT_YUV422P10, values, 0, quality)
+ if codec == "ProRes HQ":
+ return _EncoderSettings(
+ "prores_ks", "prores_ks (HQ)", "yuv422p10le",
+ FORMAT_YUV422P10, {"profile": "3"}, 0, quality)
+ if codec == "FFV1 Lossless RGB 10-bit":
+ return _EncoderSettings(
+ "ffv1", "ffv1 (Lossless RGB 10-bit)", "gbrp10le", FORMAT_YUV422P10,
+ {"level": "3", "slicecrc": "1"}, 0, quality)
raise ValueError(f"The in-process host pipeline does not support codec {options.codec!r}.")
@@ -284,16 +292,18 @@ def convert_video_inprocess_host(
ten_bit = bool(
options.hdr_enabled or
(input_format == 2 and ffmpeg.hdr_mode_supported(options.codec)) or
- ffmpeg._normalize_codec(options.codec) == "ProRes Proxy")
+ ffmpeg._normalize_codec(options.codec) in {
+ "ProRes Proxy", "ProRes HQ", "FFV1 Lossless RGB 10-bit"
+ })
encoder = _encoder_settings(options, output_width, output_height, metadata["rate"], ten_bit)
preview = options.preview_frames is not None or options.preview_seconds is not None
stamp = time.strftime("%Y%m%d-%H%M%S") + "-" + uuid.uuid4().hex[:8]
extension = {"MP4": ".mp4", "MKV": ".mkv", "MOV": ".mov"}[options.container]
destination = prepare_output_dir(output_dir)
kind = "RTXVIDEO_PREVIEW" if preview else "RTXVIDEO"
- output = destination / output_filename(
+ output = unique_output_path(destination / output_filename(
source, extension, "Auto" if preview else options.rename_mode,
- options.custom_suffix, f"{source.stem}_{kind}_{stamp}")
+ options.custom_suffix, f"{source.stem}_{kind}_{stamp}"))
destination_file = OutputFile(output)
decoded_container: Any | None = None
encoded_container: Any | None = None
@@ -336,7 +346,10 @@ def convert_video_inprocess_host(
job = tempfile.TemporaryDirectory(prefix="rtx-video-host-", dir=JOBS)
try:
job_dir = Path(job.name)
- temp_video = job_dir / ("encoded.mov" if encoder.codec == "prores_ks" else "encoded.mp4")
+ temp_video = job_dir / (
+ "encoded.mkv" if encoder.codec == "ffv1" else
+ "encoded.mov" if encoder.codec == "prores_ks" else "encoded.mp4"
+ )
decode_device = HWAccel(
"cuda", device=str(ordinal), allow_software_fallback=True,
options={"primary_ctx": "1"}, is_hw_owned=True)
@@ -361,6 +374,9 @@ def convert_video_inprocess_host(
output_stream.codec_context.options = encoder.options
output_stream.codec_context.bit_rate = encoder.bit_rate
_set_color_properties(output_stream.codec_context, bool(options.hdr_enabled))
+ if encoder.codec == "ffv1":
+ output_stream.codec_context.colorspace = 0
+ output_stream.codec_context.color_range = 2
output_stream.codec_context.open()
session = RTXVideoSession(
@@ -422,6 +438,11 @@ def convert_video_inprocess_host(
copy_tick = time.perf_counter()
frame = frame.reformat(format=encoder.pixel_format)
timings["host_copy_seconds"] += time.perf_counter() - copy_tick
+ if encoder.codec == "ffv1":
+ frame.color_primaries = 9 if options.hdr_enabled else 1
+ frame.color_trc = 16 if options.hdr_enabled else 1
+ frame.colorspace = 0
+ frame.color_range = 2
for packet in output_stream.encode(frame):
encoded_container.mux(packet)
timings["encode_seconds"] += time.perf_counter() - encode_tick
@@ -562,9 +583,11 @@ def convert_video_inprocess_host(
f"Source has {exact['frames']} frames but only {delivered} were processed.")
update(0.90, "Muxing original audio, subtitles, chapters, and metadata")
mux_tick = time.perf_counter()
+ audio_diagnostics: dict = {}
ffmpeg.final_mux(
temp_video, source, destination_file.temporary, options.container, controller,
- preserve_supported_subtitles=True, source_time_origin=metadata["origin"])
+ preserve_supported_subtitles=True, source_time_origin=metadata["origin"],
+ audio_diagnostics=audio_diagnostics)
timings["final_mux_seconds"] = time.perf_counter() - mux_tick
update(0.96, "Verifying output frames, resolution, chroma, and HDR signaling")
verified = ffmpeg.probe_video(destination_file.temporary, count_mode="packets",
@@ -580,10 +603,18 @@ def convert_video_inprocess_host(
saved = inspect_video(destination_file.temporary, controller)
if encoder.codec == "prores_ks" and saved["stream"].get("pix_fmt") != "yuv422p10le":
raise RuntimeError("ProRes output did not preserve direct 10-bit 4:2:2 chroma.")
+ expected = {
+ "ProRes HQ": ("prores", "yuv422p10le", 10),
+ "FFV1 Lossless RGB 10-bit": ("ffv1", "gbrp10le", 10),
+ }.get(ffmpeg._normalize_codec(options.codec))
+ if expected and (saved["stream"].get("codec_name"), saved["stream"].get("pix_fmt"),
+ int(saved["depth"])) != expected:
+ raise RuntimeError(f"Saved output does not match {options.codec}.")
if options.hdr_enabled and (
saved["depth"] < 10 or not saved["hdr"] or
saved["stream"].get("color_primaries") != "bt2020" or
- saved["stream"].get("color_space") != "bt2020nc"):
+ saved["stream"].get("color_space") != (
+ "gbr" if encoder.codec == "ffv1" else "bt2020nc")):
raise RuntimeError("Saved file failed HDR color and bit-depth verification.")
if not options.hdr_enabled and saved["hdr"]:
raise RuntimeError("SDR output unexpectedly contains HDR signaling.")
@@ -614,6 +645,7 @@ def convert_video_inprocess_host(
session_status["memory_path"] = memory_path
session_status["pinned_pool"] = pool_status
session_status["adapters"] = {"ai": ai_gpu, "decode": ai_gpu, "encode": "CPU"}
+ session_status["audio_streams"] = audio_diagnostics.get("streams", [])
destination_file.publish()
app_log.info(
"upscale-host", f"done src={source.name} out={output.name} frames={delivered} "
diff --git a/src/upscale/video/models.py b/src/upscale/video/models.py
index 3ea1b2d..6e2d0f3 100644
--- a/src/upscale/video/models.py
+++ b/src/upscale/video/models.py
@@ -66,7 +66,7 @@ class UpscaleOptions:
if for_render and not (self.vsr_enabled or self.hdr_enabled):
raise ValueError("Enable RTX Video Super Resolution or RTX Video HDR.")
if self.hdr_enabled and not hdr_mode_supported(self.codec):
- raise ValueError("RTX Video HDR requires H.265, AV1, or ProRes. H.264 cannot store this HDR output.")
+ raise ValueError("RTX Video HDR requires a 10-bit or higher video codec.")
if self.preview_frames is not None and (isinstance(self.preview_frames, bool) or
not isinstance(self.preview_frames, (int, float)) or
not math.isfinite(self.preview_frames) or
diff --git a/src/upscale/video/native.py b/src/upscale/video/native.py
index af1242f..8b60281 100644
--- a/src/upscale/video/native.py
+++ b/src/upscale/video/native.py
@@ -302,6 +302,12 @@ class _BridgeManager:
_MANAGER = _BridgeManager()
+def preload_bridge() -> None:
+ """Load the bridge before showing the UI without fixing the GPU choice."""
+ with NGX_RUNTIME_LOCK:
+ _MANAGER._load()
+
+
def _feature_record(status: dict[str, Any], prefix: str) -> dict[str, Any]:
version = str(status.get(f"{prefix}_min_driver") or "0.0").split(".", 1)
return {
diff --git a/src/upscale/video/preview.py b/src/upscale/video/preview.py
index 7059305..75f1630 100644
--- a/src/upscale/video/preview.py
+++ b/src/upscale/video/preview.py
@@ -1,5 +1,6 @@
from __future__ import annotations
+import math
from dataclasses import replace
from pathlib import Path
@@ -45,6 +46,7 @@ def preview_upscale_native(
preview_encoding: str = "Auto",
start_seconds: float | None = None,
frame_index: int | None = None,
+ preview_seconds: float | None = None,
):
if not path or not Path(path).is_file():
raise ValueError("Select one valid video to preview.")
@@ -56,27 +58,31 @@ def preview_upscale_native(
frame_no = max(1, int(frame_index or 1)) if frame_index else 1
except (TypeError, ValueError):
frame_no = 1
+ length_seconds = 3.0 if preview_seconds is None else float(preview_seconds)
+ if not math.isfinite(length_seconds) or length_seconds <= 0:
+ raise ValueError("Preview duration must be positive and finite.")
effective_path = str(path)
temp_clip: str | None = None
- # Explicit Preview must enhance the timeline playhead, not frame 0.
- # Extract a seek-accurate 1-frame subclip first; the RTX pipeline then
- # processes that frame unchanged (no pipeline timing changes required).
- if one_frame and start > 0.05:
+ # Both preview modes start at the parked timeline frame. Extract only
+ # when seeking: processing the original directly avoids an extra encode
+ # at the beginning of the source.
+ if start > 0.05:
from ...core.ffmpeg.preview import extract_preview_subclip
if progress:
try:
- progress(0.02, "Seeking to timeline frame…")
+ progress(0.02, "Seeking to timeline frame…" if one_frame else "Seeking to preview clip…")
except TypeError:
pass
temp_clip = extract_preview_subclip(
path, dest_dir=output_dir, start_seconds=start,
- single_frame=True, controller=controller,
+ length_seconds=None if one_frame else length_seconds,
+ single_frame=one_frame, controller=controller,
)
effective_path = temp_clip
opts = replace(
options,
preview_frames=1 if one_frame else None,
- preview_seconds=None if one_frame else 3.0,
+ preview_seconds=None if one_frame else length_seconds,
)
try:
result = upscale_video(
@@ -95,7 +101,8 @@ def preview_upscale_native(
controller=controller,
output_dir=output_dir,
)
- stamp = f" f{frame_no} @ {start:.2f}s" if (one_frame and start > 0.05) else ""
+ stamp = (f" f{frame_no} @ {start:.2f}s" if one_frame and start > 0.05 else
+ f" {length_seconds:g}s @ {start:.2f}s" if not one_frame else "")
return display, (
f"Preview complete{stamp}: {result.output_width}×{result.output_height}, {result.frames} frames.\n"
f"{detail}\nOriginal preview file: {result.output_path}\nReport: {result.report_path}"