Difference between revisions of "Tiny-tools"

From Habitat: Giardino
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
* https://halftone.xoihazard.com/
* https://photomosh.com/
* Glitchy 3bit dither demo: https://jkirchartz.com/Glitchy3bitdither/
* Glitchy 3bit dither demo: https://jkirchartz.com/Glitchy3bitdither/
* https://glitch.xoihazard.com/
* https://constraint.systems/
* https://constraint.systems/
<hr>


= [https://everything.curl.dev/get/macos curl] =
= [https://everything.curl.dev/get/macos curl] =
Line 15: Line 20:


= [http://ffmpeg.org/ Ffmpeg] =
= [http://ffmpeg.org/ Ffmpeg] =
FFmpeg provides simple usage to convert video such as .mkv, .mp3, .mp4, .mov to .gif.
Install Ffmpeg on Mac OS  
Install Ffmpeg on Mac OS  


   brew install ffmpeg
   brew install ffmpeg
== .mov to .gif ==
  ffmpeg -i <input.video> out.gif
The file size of out.gif is sometimes a bit too big. In such a case, it's better to use -r option to specify frame rate.
  ffmpeg -i my-sample.mov -r 10 out.gif
Scaling the video to a width of 640. FFmpeg calculates the height for us because we entered -1. It will keep the aspect ratio of the original video.
  ffmpeg -i my-sample.mov -r 10 -vf scale=640:-1 out.gif

Latest revision as of 09:04, 6 August 2022


curl

Install Curl on Mac OS

 brew install curl

Imagemagick

Also to compress images for web use.

Install Imagemagick on Mac OS

 brew install imagemagick

Ffmpeg

FFmpeg provides simple usage to convert video such as .mkv, .mp3, .mp4, .mov to .gif.

Install Ffmpeg on Mac OS

 brew install ffmpeg

.mov to .gif

 ffmpeg -i <input.video> out.gif

The file size of out.gif is sometimes a bit too big. In such a case, it's better to use -r option to specify frame rate.

 ffmpeg -i my-sample.mov -r 10 out.gif

Scaling the video to a width of 640. FFmpeg calculates the height for us because we entered -1. It will keep the aspect ratio of the original video.

 ffmpeg -i my-sample.mov -r 10 -vf scale=640:-1 out.gif