mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
add converter to png for videos
This commit is contained in:
parent
258914e884
commit
3d170ad18c
|
@ -122,3 +122,7 @@ application/csv
|
|||
application/vnd.wordperfect
|
||||
unoconv -d document -e PageRange=1 -f pdf --stdout -v '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q - | convert -resize %wx png:- 'png:%o'
|
||||
|
||||
video/webm
|
||||
video/mp4
|
||||
This will take 12th frame of a video and converts into a png
|
||||
convert -resize %wx '%f[12]' 'png:%o'
|
||||
|
|
Loading…
Reference in New Issue
Block a user