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

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

PREVIOUS NEXT
Code Example
Shell :: Bash/Shell comment multiple lines 
Shell :: install deb linux ubuntu uninstall 
Shell :: ubuntu cmd firewall give access to port 
Shell :: node install ubuntu 
Shell :: ubuntu install java 16 
Shell :: tbomb github 
Shell :: install eclipse in ubuntu 
Shell :: windows find node path 
Shell :: node-pre-gyp install failed with error: error: command failed: node-pre-gyp install --fallback-to-build 
Shell :: docker compose current directory 
Shell :: how to install hashcat 
Shell :: get element by index bash 
Shell :: commit to a new branch 
Shell :: optimize mp4 ffmpeg 
Shell :: gradle threw an error while downloading artifacts from the network. retrying to download 
Shell :: git cherry pick resolve conflict 
Shell :: npm bootstrap 
Shell :: bash cd or make dir if not exists 
Shell :: install oh my zsh M1 
Shell :: ubuntu not showing currently open application icons 
Shell :: docker compose up specific yml 
Shell :: bash hide file 
Shell :: echo with color from bash 
Shell :: docker command not available in ubuntu wsl 
Shell :: how to remove untracked files in git 
Shell :: open jupyter notebook with anaconda in powershell 
Shell :: unzip a tar.gz file in linux 
Shell :: How to import a particular version of uuid 
Shell :: How to install LAMP in Ubuntu 18.04? 
Shell :: pip install pygame 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =