Video Command Line Edition with FFMPEG
Published on 29 Jul 2019
- Download executable and put in your PATH.
Exctract MP3
ffmpeg -i __IN__ -vn -ar 44100 -ab 192k -ac 2 -f mp3 __OUT__.mp3
ffmpeg -i __IN__ -vn -ar 44100 -ab 128k -y __OUT__.mp3
ffmpeg -i __IN__.ogg -acodec libmp3lame __OUT__.mp3
Create gif from Video, image magic
ffmpeg -i video%05d.png video.avi
convert video.gif video%05d.png
Create video from images
ffmpeg -f image2 -i image%d.jpg video.mpg
convert 'images.gif[0]' image.png
Remove audio
ffmpeg -i %in% -vcodec copy -an %out%
Join video and audio
ffmpeg -i video.mp4 -i audio.m4a -c:v copy -c:a aac output.mp4
all tags
IDE architecture" cli crontab crypto csv database docker editor error exceptions fastapi ffmpeg filename git go history http iteration javascript linux logging me mysql numpy orm pdo pentaho php postgres python random rename rsync rust selenium server solana sql sqlite ssh typescript user w3m wordpress