Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ffmpeg convert mp4 to gif

ffmpeg -ss 30 -t 3 -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif
Comment

video to gif ffmpeg

ffmpeg -y -i foo.mp4 -i palette.png -filter_complex "fps=30,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" foo.gif
Comment

convert video to gif with ffmpeg

ffmpeg -i input.flv -ss 00:00:00.000 -pix_fmt rgb24 -r 10 -s 320x240 -t 00:00:10.000 output.gif
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell elevate to admin within a function 
Shell :: git force rebase abort 
Shell :: kill all mongodb processes 
Shell :: ls line by line terminal 
Shell :: ffmpeg mkv to mp4 
Shell :: timestamp in bash 
Shell :: git delete all merged branches 
Shell :: wsl System has not been booted with systemd as init system 
Shell :: navigate to drive d cmd 
Shell :: kubernetes service yaml 
Shell :: linux permanent alias 
Shell :: HOW TLONG FOR VS TO INSTALL?!?!? 
Shell :: install cv2 
Shell :: install nomad 
Shell :: docker view container logs 
Shell :: angular cli add ssl certificate 
Shell :: bash temp file 
Shell :: wsl restart 
Shell :: shell foreach line 
Shell :: venv deactivate 
Shell :: Iterate over only folder in bash 
Shell :: install pip dockerfile 
Shell :: ufw difference between deny and reject 
Shell :: delay bash 
Shell :: ping madule for ansible 
Shell :: install safari in ubunut 
Shell :: prettier yarn 
Shell :: windows download torchvision 
Shell :: how to install teamspeak server arch linux 
Shell :: git difftool meld 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =