GitHub Repository | Issue Tracker
VideoWatchdog is a lightweight Python-based automation tool designed to monitor specified directories for video files and automatically invoke FFmpeg for processing once file writing is complete. It is ideal for scenarios requiring automated video transcoding, compression, or format conversion (e.g., integrated with NAS, downloaders, or other automated workflows).
See GitHub Repo
If you need to use a GPU for hardware-accelerated video transcoding, please map the corresponding hardware devices upon startup.
Add the devices mapping in your docker-compose.yml:
devices:
- /dev/dri:/dev/dri
Or add --device /dev/dri:/dev/dri to your docker run command.
Ensure the NVIDIA Container Toolkit is installed on the host machine.
Add the deploy configuration in your docker-compose.yml:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu, video, compute, utility]
Or add --gpus all to your docker run command.
GitHub Repository | Issue Tracker
VideoWatchdog 是一个基于 Python 的轻量级自动化工具,用于监控指定目录中的视频文件,并在文件写入完成后自动调用 FFmpeg 进行处理。它非常适合需要自动化视频转码、压缩或格式转换的场景(例如配合 NAS、下载器等自动化工作流使用)。
如果你需要使用 GPU 进行视频转码加速,请在启动时映射相应的硬件设备。
在 docker-compose.yml 中添加 devices 映射:
devices:
- /dev/dri:/dev/dri
或者在 docker run 命令中添加 --device /dev/dri:/dev/dri。
确保宿主机已安装 NVIDIA Container Toolkit。
在 docker-compose.yml 中添加 deploy 配置:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu, video, compute, utility]
或者在 docker run 命令中添加 --gpus all。
Content type
Image
Digest
sha256:caf120c66…
Size
231.8 MB
Last updated
8 months ago
docker pull hexstan/video-watchdog