Files
dropshell-templates/squashthumbnailmaker/start.sh
Your Name 2222a77070
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 48s
docs: Add 24 files
2025-09-22 23:57:38 +12:00

15 lines
741 B
Bash
Executable File

#!/bin/bash
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
echo "This is a utility container that runs on-demand."
echo "To process videos, use:"
echo ""
echo " Single video: docker run --rm -v /path/to/videos:/data ${CONTAINER_NAME}_image:latest /data/video.mp4"
echo " All videos in dir: docker run --rm -v /path/to/videos:/data ${CONTAINER_NAME}_image:latest /data"
echo ""
echo "Environment variables can be passed with -e flag:"
echo " -e ENABLE_SMART_DETECTION=false # Disable YOLO detection"
echo " -e FALLBACK_TIME=5 # Change fallback thumbnail time"
echo " -e THUMBNAIL_WIDTH=1280 # Change thumbnail width"
echo " -e THUMBNAIL_QUALITY=90 # Change JPEG quality"