

- #Licecap better quality how to
- #Licecap better quality mp4
- #Licecap better quality full
- #Licecap better quality zip
- #Licecap better quality windows
+map generate a single optimised colour palette for the full gif, otherwise it tries to generate one per frame, which costs in file size.This brought a 1.8mb gif that was mostly white wireframes on black down to 1.4mb. -layers OptimizeTransparency use transparency to try and get some savings.-level 0,60% a levels command, map the blackpoint to 0, and white point to 60%.+repage actually do a crop (without this, it just masks out the rest of the image, which isn't very helpful).define a crop window of 256x210, starting 80 from the left and 80 from the top.Here's another one with a few more tricks:Ĭonvert -loop 0 -delay 4 flipbook/cubesmarch.*.jpg +repage -level 0,60% -layers OptimizeTransparency +map cubesmarch.gif The delay of 2 means 2 miliseconds, ie 50fps.Ĭonvert -loop 0 -delay 2 flipbook/hexagon.*.jpg -crop +0-40 hex2.gif This command takes a sequence, resizes to 256x256 as its loading, then does a post-crop that lops off the lower 40 pixels. Had a go with convert (part of imagemagick) instead, and it lets you do 50fps in all its cpu melting glory. Seems ffmpeg can't go any higher than that, despite specifying the framerate. To my horror, I realised that my sweet 50fps mograph computationl art tumblr porn gifs were actually running at 24fps. scale=20:-1 the horizontal width is 20, the vertical will resize to suit.įutzing with the fps and width can scrape most gifs under 8k.Ie, if the previous command was mod(n,10), it would get every 10 frames, but without the setpts call each of those would be held for 10 frames, rather than only playing for 1 frame.įor maximum pidgin victory (where there's an 8k limit):įfmpeg -i input.gif -lavfi "fps=15,scale=20:-1:flags=lanczos" -y output.gif setpts=N/(25*TB) - magic command I don't quite understand, but I know that it stops it holding frames.select=mod(n\,2) - every second frame, n is current frame, the \ is there to escape the comma.the scale command here will scale horizontally to 400 pixels, and keep the correct aspect ratio in y (because the y-axis is told to scale to -1, which is interpreted as 'keep the aspect ratio correct)įfmpeg -i "pyro.%04d.jpg" -lavfi "select=mod(n\,2),setpts=N/(25*TB),crop=in_w:in_h-85:0:0,scale=300:-1:flags=lanczos" -y out.gif.crop will use default width (in_h), and default height minus 85 pixels ( in_h-85), calculated from the top left corner (0,0).The following examples don't do the palette trick, but show off how baroque you can get with ffmpeg to do all sorts of resizing and manipulation. Here's the important bits from that site in 2 lines:įfmpeg -i invideo.mp4 -vf "palettegen" -y out_palette.pngįfmpeg -i invideo.mp4 -i out_palette.png -lavfi "paletteuse" -y out.gif
#Licecap better quality how to
Good guide to how to avoid dithering here, which involves running ffmpeg twice once to generate a palette, the second to generate a gif using that palette. I don't need 99% of its features, and I'm also a grumpy old man locked in my ways.
#Licecap better quality windows
Others have used ShareX on windows and love it. Licecap isn't as fully featured as gifcam, but it runs on windows and osx, and importantly for me, Linux via Wine.

You don't get pure green output, gifcam stays happy. A lazy trick i found is to colour correct the display and turn the brightness down a little. It uses pure green internally to key the transparent bits (thus keeping size down), but if you record pure green, like the y-axis handle in houdini, it acts like a flood fill, ruining the resultant gif. One quirk with it though, be careful with bright green. My new favourite gif tool for windows (thanks Farmfield for the headsup):
#Licecap better quality mp4
There's a new contender for the gif making throne! On windows at least ScreenToGif has the good clean capture UI of Licecap, better edit tools that Gifcam, and can write out to mp4 via ffmpeg as well as gif.
#Licecap better quality zip

2.11 Controlling mp4 file size with CRF.2.8 ffmpeg resize to power of two dimensions.2.5 ffmpeg cropping to a window on linux.2.3 ffmpeg hold first frame and last frame.2.2 ffmpeg to generate mp4 from image sequence.1.3 ffmpeg to generate super small gifs.
