Conversation
Notices
-
Embed this notice
:blobcatflower: (methyltheobromine@netzsphaere.xyz)'s status on Friday, 21-Feb-2025 22:06:11 JST :blobcatflower:
if you want gifs converted to webp, simple post the file and tag @Suiseiseki - lainy and snacks like this.
-
Embed this notice
lainy (lain@lain.com)'s status on Friday, 21-Feb-2025 22:06:28 JST lainy
@lucy @Suiseiseki #lifehack -
Embed this notice
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 21-Feb-2025 22:07:11 JST 翠星石
@lucy Or
#!/bin/bash
# Copyright © 2025 翠星石
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#need at least 2 argumenets
[ "$#" -gt 0 ] || exit 2
# $animation is each arg after argv[0]
for animation ; do
ffmpeg -i "${animation}" -loop 0 "${animation%.*}.webp"
done