FFMPEG Common

To create an animated GIF from a video:

ffmpeg -i video.mp4 -vf scale=500:-1 -t 10 -r 10 -loop -1 image.gif

To combine a video track with its audio track:

ffmpeg -i video.mp4 -i audio.m4a “BigHeadTribe – FFMPEG Tips & Tricks.m4v”

To remove chapters from a video:

ffmpeg -i Video.m4v -c:v copy -c:a copy -map_chapters -1 NewVideo.m4v

-sn [remove subtitles]
-map_metadata -1 [remove meta data]

Leave a Reply