n8n image with yt-dlp and ffmpeg library
2.6K
ervannur/n8n-automationCustom Docker image of n8nβ pre-installed with
yt-dlpβ andffmpegβ , ideal for workflows involving audio/video downloading and conversion.
n8n (workflow automation platform)ffmpeg (video/audio processing)yt-dlp (YouTube/media downloader, fork of youtube-dl)This image is perfect for workflows that involve:
ffmpegAdd an Execute Command node:
yt-dlp --version && ffmpeg -version
β You should see version output from both tools.
To download audio and convert it:
yt-dlp -f bestaudio --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=dQw4w9WgXcQ
version: '3.8'
volumes:
db_storage:
n8n_storage:
services:
postgres:
image: postgres:16
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=n8n
volumes:
- db_storage:/var/lib/postgresql/data
n8n:
image: ervannur/n8n-automation:1.80.2
restart: always
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=postgres
- DB_POSTGRESDB_PASSWORD=postgres
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=admin
- N8N_BASIC_AUTH_PASSWORD=secret
ports:
- 5678:5678
volumes:
- n8n_storage:/home/node/.n8n
depends_on:
- postgres
FROM n8nio/n8n:1.80.2
USER root
RUN apk update && \
apk add --no-cache ffmpeg curl python3 py3-pip && \
pip3 install --break-system-packages --upgrade yt-dlp
USER node
π§ Based on Alpine, lightweight and fast. Ensures
yt-dlpandffmpegare globally available for use in workflows.
Content type
Image
Digest
sha256:45067b9d8β¦
Size
734.3 MB
Last updated
about 1 year ago
docker pull ervannur/n8n-automation