Post ABXAHHKFNcmi7gY2YC by coyote@lain.sh
 (DIR) More posts by coyote@lain.sh
 (DIR) Post #ABXAHHKFNcmi7gY2YC by coyote@lain.sh
       2021-09-19T22:56:31.190526Z
       
       0 likes, 0 repeats
       
       Did you know ffmpeg can convert gif to apng and apng to gif?? And video to either of them?  **GIF to APNG (`-plays 0` is for looping, 0 means loop and anything higher is the number of repeats)**  `~ $ ffmpeg -i input.gif -plays 0 output.apng`  **APNG to GIF (loops automatically)**  `~ $ ffmpeg -i input.apng output.gif`  **Video to APNG**`~ $ ffmpeg -i input.webm -plays 0 output.apng`  **Video to GIF (while reducing the framerate to save filesize)** `~$ ffmpeg -i input.avi -r 24 output.gif`
       
 (DIR) Post #ABXB2MBJ8z3KnFocNM by march@neckbeard.xyz
       2021-09-19T23:05:01.549029Z
       
       3 likes, 2 repeats
       
       @coyote at this point I think ffmpeg can convert anything to anythingBtw this is a great read for increasing the quality of the output when converting to gifs. TLDR gif has a 256 color palette.Ffmpeg uses a default, general-case palette.You need to generate a palette that can accurately represent the colors in your specific input.http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
       
 (DIR) Post #ABXBW9xj8eEraHfrm4 by march@neckbeard.xyz
       2021-09-19T23:10:24.630298Z
       
       2 likes, 0 repeats
       
       Just look at the difference!bbb-trans.gifbbb-nodither.gif
       
 (DIR) Post #ABXBfO5dyuRa0TmGWm by kumicota@weeaboo.space
       2021-09-19T23:12:04.745370Z
       
       1 likes, 0 repeats
       
       @march @coyote gifski is a rust cli program that automatize a lot of this site
       
 (DIR) Post #ABXkoFCKLFVEIUPGKG by r@freesoftwareextremist.com
       2021-09-20T05:45:50.874910Z
       
       0 likes, 0 repeats
       
       @march pleroma:emoji_reaction
       
 (DIR) Post #ABXlGTfa84itHzYKsy by march@neckbeard.xyz
       2021-09-20T05:50:55.673971Z
       
       2 likes, 0 repeats
       
       @kumicota @coyote it's just 2 ffmpeg commands, not worth installing another thing for it
       
 (DIR) Post #ABXlkEsTgqJ06GmBdY by r@freesoftwareextremist.com
       2021-09-20T05:56:19.883588Z
       
       1 likes, 0 repeats
       
       @march @coyote @kumicota It's a rust program, it's always worth installing them.