summaryrefslogtreecommitdiffstats
path: root/roles/prerec/templates/thumbnail.sh
blob: 436979d30a0b5cb85e9fbf27317cd2e8a7a0a74c (plain) (blame)
1
2
3
#!/bin/bash
# {{ ansible_managed }}
ffmpeg -i "$1" -vf "thumbnail,scale=400:225" -frames:v 1 $(echo "$1" | sed s/webm/png/ )