From 1c5933b06da3dd578f5ad08818131ce5afdae5f7 Mon Sep 17 00:00:00 2001 From: Benjamin Slingo Date: Mon, 8 Sep 2025 12:45:38 -0400 Subject: [PATCH] Add .env.example for sermon converter configuration - Provides template for required environment variables - Sermon-specific paths and FFmpeg settings - File stability and directory configuration --- .env.example | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..3d8edfb --- /dev/null +++ b/.env.example @@ -0,0 +1,26 @@ +# Copy this file to .env and configure with your paths + +# Directory paths +SERMON_WATCH_PATH=/path/to/watch/sermons +SERMON_OUTPUT_PATH=/path/to/output/sermons + +# FFmpeg Configuration +FFMPEG_BINARY=ffmpeg +VIDEO_CODEC=av1_qsv +HW_ACCEL=qsv +HW_DEVICE=qsv=hw +FFMPEG_PRESET=4 +VIDEO_BITRATE=6M +MAX_BITRATE=12M +BUFFER_SIZE=24M +AUDIO_CODEC=libopus +AUDIO_BITRATE=192k + +# File Stability Settings +STABILITY_CHECK_INTERVAL=1 +STABILITY_REQUIRED_CHECKS=30 +MAX_STABILITY_WAIT_HOURS=0.5 + +# Directory Settings +CREATE_YEAR_MONTH_DIRS=true +PRESERVE_ORIGINAL_FILES=false \ No newline at end of file