add conversion from video to png with ffmpeg

This commit is contained in:
Uwe Steinmann 2024-05-03 10:11:00 +02:00
parent fd92b6c078
commit 82c3349842

View File

@ -143,6 +143,10 @@ video/mp4
convert -resize %wx "%f[12]" "png:%o"
You may as well use ffmpeg right away
ffmpeg -i "%f" -ss 00:00:02 -frames:v 1 -vf scale=%w:-1 -f apng "%o"
audio/mpeg
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"