mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(snippets): add conversion commands
This commit is contained in:
8
snippets/convert-between-formats.sh
Normal file
8
snippets/convert-between-formats.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!sh
|
||||
|
||||
# svg to png
|
||||
rsvg-convert -ah '96' 'icon.svg' -o 'icon-96.png'
|
||||
|
||||
# webm to mp4
|
||||
ffmpeg -i 'input.webm' -c 'copy' 'output.mp4'
|
||||
ffmpeg -fflags '+genpts' -r '24' -i 'input.webm' 'output.mp4'
|
||||
Reference in New Issue
Block a user