docs: Add 24 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 48s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 48s
This commit is contained in:
15
squashthumbnailmaker/start.sh
Executable file
15
squashthumbnailmaker/start.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user