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

merge gif with mp4 using ffmpeg

ffmpeg -i input.mp4 -i eq.gif -filter_complex "[1]format=rgba,colorchannelmixer=aa=0.5[front];[0][front]overlay=x=(W-w)/2:y=H-h,format=yuv420p" output.mp4
Comment

Convert mpg / mp4 to gif with ffmpeg

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

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 :: ubuntu view disk space ec2 
Shell :: remove large file from git history 
Shell :: install ant design in react 
Shell :: is linux good 
Shell :: hardhat smart contract compile command 
Shell :: k8s get current context 
Shell :: download from gdrive link command line 
Shell :: exit git log 
Shell :: how to activate administrator account in windows 10 command prompt 
Shell :: github desktop brew 
Shell :: linux show copy progress 
Shell :: install docker on Amazon Linux 2 AMI 
Shell :: ip address in variable 
Shell :: how to steal stolen deleted code... from github... 
Shell :: extract ros bag file data to csv 
Shell :: arhlinux python.h 
Shell :: delete old version of snaps 
Shell :: how to check prime number in shell script 
Shell :: install rustup 
Shell :: how to download openssh with cmd 
Shell :: return to bash from zsh 
Shell :: ubuntu screen remove 
Shell :: bash get value sended to pipe 
Shell :: jscore 
Shell :: heroku restart 
Shell :: cordova run ios choose simulator 
Shell :: insufficient permission for adding an object to repository database .git/objects 
Shell :: powershell find in history 
Shell :: batch delete folder 
Shell :: nvm how to install latest node 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =