Skip to content

Customization

Lucky8boy edited this page Aug 24, 2025 · 1 revision

⚙️ Customization

SubSpectra is designed to work out of the box, but advanced users can adjust certain internal values and behaviors for finer control.


🛠 Adjustable parameters (manual code change)

These values are currently readonly or hardcoded in the codebase, but you can modify them by editing the source and rebuilding the application.

Variable Description Default Suggested range
video_length Number of characters hidden in video center pixels 40 1–60
img_length Number of characters for image hiding 20 8–80
ffmpeg_path Path to FFmpeg executable "ffmpeg" Absolute path or env PATH
maxFrames Number of frames used for statistics 50 20 - 200
cell_width First column width for the Test video 30 25 - 40
Statistics thresolds Cutoffs for Excel coloring >0.9 OK, >0.5 Suspect Adjustable

⚠️ Note: Always rebuild the project after changing these values.


🖼 Image filters

The filters in Panel 5 can be extended. To add your own: Navigate to btn_5_start_Click Duplicate a block and implement your custom transformation

🧪 Statistical thresholds

Thresholds that define “OK”, “Suspect”, or “Unnatural” are set in code:

string status = score > 0.9 ? "OK" : score > 0.5 ? "Suspect" : "Unnatural";

Modify these as needed depending on how strict or lenient your detection should be.

🧩 Other suggestions

  • Add an option in the UI to toggle test layers (bit 0, 1, etc.)
  • Allow user-defined test frame count for long videos
  • Add background color picker for preview panels
  • Export Excel reports with a user-selected filename

Clone this wiki locally