Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[12 / 3 / ?]

No.1002818 View ViewReplyOriginalReport
I've been trying to teach myself how to use this for making gifs and webms. For gifs I've found and used this line:
>ffmpeg -ss 61.0 -t 2.5 -i StickAround.mp4 -filter_complex "[0:v] fps=12,scale=w=480:h=-1,split [a];[a] palettegen=stats_mode=single [p];[p] paletteuse=new=1" StickAroundPerFrame.gif
And simply adjusting things like time, scale, and fps to my liking (I admittedly don't know the palette stuff works, but it's been giving me good quality gifs. For webms, my line looks like:
>ffmpeg -i input.mkv -ss 00:00:10.000 -to 00:00:20.000 -c:v libvpx -c:a libvorbis -crf 35 -b:v 700K -vf scale=-1:360 -threads 4 -an output.webm
I know I can use -an to remove the audio if it isn't necessary. But I'm not entirely sure what -crf, b:v, and threads do. Or how the scale works.
Could someone recommend me a better command line and possibly explain it?