mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 00:15:34 +00:00
add conversion from video to png with ffmpeg
This commit is contained in:
parent
fd92b6c078
commit
82c3349842
|
@ -143,6 +143,10 @@ video/mp4
|
||||||
|
|
||||||
convert -resize %wx "%f[12]" "png:%o"
|
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
|
audio/mpeg
|
||||||
|
|
||||||
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"
|
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user