# sasa97a/videofy architecture

> Architecture diagram of the GitHub repository sasa97a/videofy, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-07-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sasa97a/videofy
- Repository: https://github.com/sasa97a/videofy

## Overview

1. **Overall shape**
   - This is a cross-platform **Avalonia .NET 8 desktop app** built around an **MVVM** layout.
   - The application is a **GUI front-end for FFmpeg/FFprobe**, not a codec implementation itself. All actual media processing happens in external binaries.

2. **Startup and composition**
   - `Program.cs` and `App.axaml(.cs)` boot the Avalonia host.
   - `DependencyService` is the central composition point for app services and viewmodels.
   - `ViewLocator` maps viewmodels to their corresponding views, which is the main navigation/binding boundary in the UI layer.

3. **UI layer**
   - The `Views/` folder contains the main windows and feature screens:
     - `MainWindow`
     - `CompressionView`
     - `ConversionView`
     - `SplitView`
     - `SettingsWindow`
     - `RenameWindow`
     - `LogWindow`
     - `FileSettingsControl`
   - These views represent the user-facing workflow for selecting videos, configuring output, reviewing logs, and running batch operations.

4. **ViewModel layer**
   - `MainWindowViewModel` is the likely orchestration hub for the main workflow.
   - `SettingsViewModel`, `RenameViewModel`, and `TimeCodeViewModel` model the settings, naming, and trim/time-entry parts of the UI.
   - `ViewModelBase` provides shared notification/binding behavior typical of MVVM.
   - The ViewModels are the main bridge between user actions and the backend services.

5. **Domain models**
   - `Models/VideoFile.cs` is the core domain object representing an input video and its processing state.
   - The partial model files `VideoFile.Progress.cs` and `VideoFile.Trimming.cs` suggest the file model is split into concerns for encode progress and trim segments.
   - `Models/AppSettings.cs` stores persisted configuration for the application.
   - These models are the data contracts shared between UI, settings, and processing services.

6. **Processing pipeline**
   - `FfmpegService` is the encoder/processor wrapper that builds and runs FFmpeg commands for compression/conversion.
   - `FfprobeService` is responsible for reading source metadata such as stream info, duration, and resolution.
   - `CompressionView`, `ConversionView`, and `SplitView` likely feed into this pipeline with different processing modes or output behaviors.
   - The architecture is: **user selects files → metadata is probed → settings are applied → FFmpeg runs → progress is surfaced back to the UI**.

7. **File and system boundaries**
   - `FileService` handles filesystem interactions such as path handling, file discovery, and likely output/file-name operations.
   - `AppPathService` centralizes application-specific directories, including the internal FFmpeg location mentioned in the README.
   - `SystemUtilityService` likely encapsulates OS-specific checks and environment/path logic, which is important for the cross-platform boundary.

8. **Settings, messaging, and logging**
   - `SettingsService` persists and reloads `AppSettings`.
   - `MessageService` abstracts user notifications/dialog prompts so ViewModels do not talk directly to window code.
   - `LogService` captures operational output and error reporting, feeding the `LogWindow` and helping diagnose FFmpeg setup or encode failures.
   - These services keep UI concerns separate from state persistence and diagnostics.

9. **Dependency and runtime guard**
   - The README indicates a **startup dependency guard** for FFmpeg/FFprobe binaries.
   - That guard is part of the app’s architecture because the app cannot function without user-supplied FFmpeg tools.
   - This makes the external binary directory an important deployment/runtime boundary distinct from the managed .NET application.

10. **Custom controls and converters**
    - `Controls/TimeSegmentControl.cs` is a reusable UI component for time-based trimming or segment selection.
    - `Converters/BoolConverters.cs` and `TimeSpanToSecondsConverter.cs` support binding transformations in the Avalonia UI.
    - These pieces reduce logic in the views and keep formatting/state conversion local to the presentation layer.

11. **Feature-level flow**
    - The core workflow appears to be:
      1. load one or more video files,
      2. inspect them with FFprobe,
      3. let the user choose compression/resolution/trimming settings,
      4. invoke FFmpeg,
      5. track progress and log output,
      6. optionally rename or split outputs.
    - Batch processing is a key architectural concern, so the app is organized around processing multiple `VideoFile` items rather than a single file.

12. **External dependencies and constraints**
    - The app depends on a **user-provided GPL FFmpeg build** with `ffmpeg` and `ffprobe` binaries placed in a specific internal directory.
    - The README notes that the app supports Windows and Linux, with macOS code support but no official builds.
    - Those constraints strongly influence startup validation, path management, and process execution design.

13. **What to draw in an architecture diagram**
    - Draw three major layers:
      - **Presentation:** Avalonia views, controls, converters
      - **Application/State:** ViewModels, models, settings, logging/message abstractions
      - **Infrastructure:** file/path/system services plus FFmpeg/FFprobe process wrappers
    - Show FFmpeg/FFprobe as an **external executable dependency** outside the app boundary.
    - Show settings persistence and log output as cross-cutting services connected to the ViewModels and UI.

Main entry points: [`Video Size Optimizer/ViewModels/MainWindowViewModel.cs`](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/MainWindowViewModel.cs) (Main VM), [`Video Size Optimizer/ViewLocator.cs`](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewLocator.cs) (View locator), [`Video Size Optimizer/Services/DependencyService.cs`](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/DependencyService.cs) (DI service), [`Video Size Optimizer/ViewModels/TimeCodeViewModel.cs`](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/TimeCodeViewModel.cs) (Timecode VM)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Presentation"]
  node_program["Program<br/>startup<br/>[Program.cs]"]
  node_app["App<br/>[App.axaml]"]
  node_app_code["App code<br/>app bootstrap<br/>[App.axaml.cs]"]
  node_view_locator["View locator<br/>view resolution<br/>[ViewLocator.cs]"]
  node_main_window["Main window<br/>main view<br/>[MainWindow.axaml]"]
  node_compression_view["Compress UI<br/>workflow view"]
  node_conversion_view["Convert UI<br/>workflow view"]
  node_split_view["Split UI<br/>workflow view<br/>[SplitView.axaml]"]
  node_settings_window["Settings UI<br/>settings view"]
  node_rename_window["Rename UI<br/>rename view<br/>[RenameWindow.axaml]"]
  node_log_window["Log UI<br/>log view<br/>[LogWindow.axaml]"]
  node_file_settings["File settings<br/>custom control"]
  node_time_segment["Time segment<br/>custom control"]
  node_converters["Converters<br/>binding helpers<br/>[BoolConverters.cs]"]
end

subgraph group_appstate["Application / State"]
  node_main_vm["Main VM<br/>orchestrator vm"]
  node_settings_vm["Settings VM"]
  node_rename_vm["Rename VM<br/>[RenameViewModel.cs]"]
  node_timecode_vm["Timecode VM<br/>time entry vm"]
  node_viewmodel_base["VM base<br/>[ViewModelBase.cs]"]
  node_video_file["Video file<br/>domain model<br/>[VideoFile.cs]"]
  node_app_settings["App settings<br/>config model<br/>[AppSettings.cs]"]
end

subgraph group_infrastructure["Infrastructure"]
  node_dependency_service["DI service<br/>composition root"]
  node_ffmpeg_service["FFmpeg service<br/>process wrapper<br/>[FfmpegService.cs]"]
  node_ffprobe_service["FFprobe service<br/>metadata probe<br/>[FfprobeService.cs]"]
  node_file_service["File service<br/>filesystem<br/>[FileService.cs]"]
  node_app_path_service["App paths<br/>path policy<br/>[AppPathService.cs]"]
  node_system_utility["System utility<br/>platform checks"]
  node_settings_service["Settings service<br/>persistence<br/>[SettingsService.cs]"]
  node_message_service["Message service<br/>dialog abstraction<br/>[MessageService.cs]"]
  node_log_service["Log service<br/>logging<br/>[LogService.cs]"]
end

subgraph group_external["External Runtime"]
  node_ffmpeg_bin[("FFmpeg/FFprobe<br/>external executables")]
end

node_program -->|"starts"| node_app
node_app -->|"initializes"| node_app_code
node_app_code -->|"composes"| node_dependency_service
node_dependency_service -->|"creates"| node_main_vm
node_dependency_service -->|"creates"| node_settings_vm
node_dependency_service -->|"creates"| node_rename_vm
node_dependency_service -->|"creates"| node_timecode_vm
node_view_locator -->|"binds"| node_main_window
node_view_locator -->|"binds"| node_compression_view
node_view_locator -->|"binds"| node_conversion_view
node_view_locator -->|"binds"| node_split_view
node_view_locator -->|"binds"| node_settings_window
node_view_locator -->|"binds"| node_rename_window
node_view_locator -->|"binds"| node_log_window
node_main_vm -->|"manages"| node_video_file
node_main_vm -->|"probes"| node_ffprobe_service
node_main_vm -->|"runs"| node_ffmpeg_service
node_main_vm -->|"uses"| node_file_service
node_main_vm -->|"reads/writes"| node_settings_service
node_main_vm -->|"notifies"| node_message_service
node_main_vm -->|"logs"| node_log_service
node_settings_vm -->|"edits"| node_app_settings
node_rename_vm -->|"renames"| node_file_service
node_timecode_vm -->|"annotates"| node_video_file
node_time_segment -->|"binds"| node_timecode_vm
node_file_settings -->|"controls"| node_main_vm
node_converters -->|"supports"| node_main_window
node_app_path_service -->|"locates"| node_ffmpeg_bin
node_system_utility -->|"informs"| node_app_path_service
node_settings_service -->|"persists"| node_app_settings
node_ffprobe_service -->|"executes"| node_ffmpeg_bin
node_ffmpeg_service -->|"executes"| node_ffmpeg_bin
node_log_service -->|"feeds"| node_log_window
node_message_service -->|"supports"| node_main_vm

click node_program "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Program.cs"
click node_app "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/App.axaml"
click node_app_code "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/App.axaml.cs"
click node_view_locator "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewLocator.cs"
click node_main_window "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/MainWindow.axaml"
click node_compression_view "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/CompressionView.axaml"
click node_conversion_view "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/ConversionView.axaml"
click node_split_view "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/SplitView.axaml"
click node_settings_window "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/SettingsWindow.axaml"
click node_rename_window "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/RenameWindow.axaml"
click node_log_window "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/LogWindow.axaml"
click node_file_settings "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Views/FileSettingsControl.axaml"
click node_time_segment "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Controls/TimeSegmentControl.cs"
click node_converters "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Converters/BoolConverters.cs"
click node_main_vm "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewModels/MainWindowViewModel.cs"
click node_settings_vm "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewModels/SettingsViewModel.cs"
click node_rename_vm "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewModels/RenameViewModel.cs"
click node_timecode_vm "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewModels/TimeCodeViewModel.cs"
click node_viewmodel_base "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/ViewModels/ViewModelBase.cs"
click node_video_file "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Models/VideoFile.cs"
click node_app_settings "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Models/AppSettings.cs"
click node_dependency_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/DependencyService.cs"
click node_ffmpeg_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/FfmpegService.cs"
click node_ffprobe_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/FfprobeService.cs"
click node_file_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/FileService.cs"
click node_app_path_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/AppPathService.cs"
click node_system_utility "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/SystemUtilityService.cs"
click node_settings_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/SettingsService.cs"
click node_message_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/MessageService.cs"
click node_log_service "https://github.com/sasa97a/videofy/blob/main/Video Size Optimizer/Services/LogService.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_program,node_app,node_app_code,node_view_locator,node_main_window,node_compression_view,node_conversion_view,node_split_view,node_settings_window,node_rename_window,node_log_window,node_file_settings,node_time_segment,node_converters toneBlue
class node_main_vm,node_settings_vm,node_rename_vm,node_timecode_vm,node_viewmodel_base,node_video_file,node_app_settings toneAmber
class node_dependency_service,node_ffmpeg_service,node_ffprobe_service,node_file_service,node_app_path_service,node_system_utility,node_settings_service,node_message_service,node_log_service toneMint
class node_ffmpeg_bin toneRose
```

## Components

### Presentation

Avalonia host, windows, reusable controls, and binding helpers.

- [Program](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Program.cs): startup · Entry point that boots the Avalonia application. · `Video Size Optimizer/Program.cs`
- [App](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/App.axaml): avalonia app · Application host and lifetime wiring. · `Video Size Optimizer/App.axaml`
- [App code](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/App.axaml.cs): app bootstrap · Application initialization and startup behavior. · `Video Size Optimizer/App.axaml.cs`
- [View locator](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewLocator.cs): view resolution · Maps ViewModels to their corresponding Views. · `Video Size Optimizer/ViewLocator.cs`
- [Main window](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/MainWindow.axaml): main view · Primary shell for file selection and batch processing. · `Video Size Optimizer/Views/MainWindow.axaml`
- [Compress UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/CompressionView.axaml): workflow view · Compression workflow screen. · `Video Size Optimizer/Views/CompressionView.axaml`
- [Convert UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/ConversionView.axaml): workflow view · Conversion workflow screen. · `Video Size Optimizer/Views/ConversionView.axaml`
- [Split UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/SplitView.axaml): workflow view · Split and segment workflow screen. · `Video Size Optimizer/Views/SplitView.axaml`
- [Settings UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/SettingsWindow.axaml): settings view · Application settings window. · `Video Size Optimizer/Views/SettingsWindow.axaml`
- [Rename UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/RenameWindow.axaml): rename view · Output naming workflow window. · `Video Size Optimizer/Views/RenameWindow.axaml`
- [Log UI](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/LogWindow.axaml): log view · Operational log window. · `Video Size Optimizer/Views/LogWindow.axaml`
- [File settings](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Views/FileSettingsControl.axaml): custom control · Reusable file configuration control. · `Video Size Optimizer/Views/FileSettingsControl.axaml`
- [Time segment](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Controls/TimeSegmentControl.cs): custom control · Reusable trim/segment selector control. · `Video Size Optimizer/Controls/TimeSegmentControl.cs`
- [Converters](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Converters/BoolConverters.cs): binding helpers · Avalonia value converters for UI binding transformations. · `Video Size Optimizer/Converters/BoolConverters.cs`

### Application / State

ViewModels, domain models, and shared app state.

- [Main VM](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/MainWindowViewModel.cs): orchestrator vm · Coordinates the main workflow across files, settings, and processing. · `Video Size Optimizer/ViewModels/MainWindowViewModel.cs`
- [Settings VM](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/SettingsViewModel.cs): settings vm · Models user-adjustable application settings. · `Video Size Optimizer/ViewModels/SettingsViewModel.cs`
- [Rename VM](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/RenameViewModel.cs): rename vm · Handles output naming and rename behavior. · `Video Size Optimizer/ViewModels/RenameViewModel.cs`
- [Timecode VM](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/TimeCodeViewModel.cs): time entry vm · Supports timecode and trim input logic. · `Video Size Optimizer/ViewModels/TimeCodeViewModel.cs`
- [VM base](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/ViewModels/ViewModelBase.cs): mvvm base · Shared notification and binding behavior for ViewModels. · `Video Size Optimizer/ViewModels/ViewModelBase.cs`
- [Video file](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Models/VideoFile.cs): domain model · Core input/output media item and its processing state. · `Video Size Optimizer/Models/VideoFile.cs`
- [App settings](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Models/AppSettings.cs): config model · Persisted application configuration. · `Video Size Optimizer/Models/AppSettings.cs`

### Infrastructure

Filesystem, settings, logging, messaging, and process-facing services.

- [DI service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/DependencyService.cs): composition root · Central registration point for services and ViewModels. · `Video Size Optimizer/Services/DependencyService.cs`
- [FFmpeg service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/FfmpegService.cs): process wrapper · Builds and runs FFmpeg commands for compression, conversion, and splitting. · `Video Size Optimizer/Services/FfmpegService.cs`
- [FFprobe service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/FfprobeService.cs): metadata probe · Reads source media metadata such as duration and streams. · `Video Size Optimizer/Services/FfprobeService.cs`
- [File service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/FileService.cs): filesystem · Handles path, discovery, and file operations. · `Video Size Optimizer/Services/FileService.cs`
- [App paths](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/AppPathService.cs): path policy · Centralizes app-specific directories and binary locations. · `Video Size Optimizer/Services/AppPathService.cs`
- [System utility](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/SystemUtilityService.cs): platform checks · Encapsulates OS and environment-specific logic. · `Video Size Optimizer/Services/SystemUtilityService.cs`
- [Settings service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/SettingsService.cs): persistence · Loads and saves application settings. · `Video Size Optimizer/Services/SettingsService.cs`
- [Message service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/MessageService.cs): dialog abstraction · Abstracts user prompts and notifications away from window code. · `Video Size Optimizer/Services/MessageService.cs`
- [Log service](https://github.com/sasa97a/videofy/blob/HEAD/Video%20Size%20Optimizer/Services/LogService.cs): logging · Captures operational output and errors for the UI. · `Video Size Optimizer/Services/LogService.cs`

### External Runtime

Required FFmpeg/FFprobe executables outside the managed app boundary.

- **FFmpeg/FFprobe**: external executables · User-provided binaries required at runtime and guarded at startup.

## Connections

- Program → App: starts · Program boots the Avalonia host.
- App → App code: initializes · Application startup and lifetime wiring.
- App code → DI service: composes · Registers services and ViewModels.
- DI service → Main VM: creates · Resolves the main workflow ViewModel.
- DI service → Settings VM: creates · Resolves settings state.
- DI service → Rename VM: creates · Resolves rename workflow state.
- DI service → Timecode VM: creates · Resolves trim/timecode state.
- View locator → Main window: binds · Maps ViewModel to the main window view.
- View locator → Compress UI: binds · Maps ViewModel to compression screen.
- View locator → Convert UI: binds · Maps ViewModel to conversion screen.
- View locator → Split UI: binds · Maps ViewModel to split screen.
- View locator → Settings UI: binds · Maps ViewModel to settings window.
- View locator → Rename UI: binds · Maps ViewModel to rename window.
- View locator → Log UI: binds · Maps ViewModel to log window.
- Main VM → Video file: manages · Orchestrates the file processing state.
- Main VM → FFprobe service: probes · Reads media metadata before processing.
- Main VM → FFmpeg service: runs · Invokes encode/convert/split operations.
- Main VM → File service: uses · Handles file selection and output paths.
- Main VM → Settings service: reads/writes · Consumes persisted configuration.
- Main VM → Message service: notifies · Shows prompts and status to the user.
- Main VM → Log service: logs · Streams operational messages to the log system.
- Settings VM → App settings: edits · Binds the settings UI to persisted app state.
- Rename VM → File service: renames · Builds output naming and path logic.
- Timecode VM → Video file: annotates · Manages trim and segment metadata.
- Time segment → Timecode VM: binds · Reusable trim UI bound to time entry logic.
- File settings → Main VM: controls · Embeds file-specific configuration in the main workflow.
- Converters → Main window: supports · Binding transformations used throughout the presentation layer.
- App paths → FFmpeg/FFprobe: locates · Points to the internal binary directory.
- System utility → App paths: informs · Platform checks influence path and runtime behavior.
- Settings service → App settings: persists · Saves and loads application configuration.
- FFprobe service → FFmpeg/FFprobe: executes · Depends on external ffprobe binary.
- FFmpeg service → FFmpeg/FFprobe: executes · Depends on external ffmpeg binary.
- Log service → Log UI: feeds · Supplies operational output to the log UI.
- Message service → Main VM: supports · Enables user prompts without direct window coupling.
