/

FFmpeg-An audio/video conversion tool.

https://sspai.com/post/60772
clivideoaudio
On this page
  • Basic conversion
  • Combine multiple videos into one

FFmpeg is a free and open-source software project consisting of a large suite of libraries and programs for handling video, audio, and other multimedia files and streams.

  • FFmpeg cheat sheet

Basic conversion

sh
ffmpeg -i in.mov out.mp4

Combine multiple videos into one

First, make a text file, touch list.txt.

txt
file 'in1.mp4'
file 'in2.mp4'
file 'in3.mp4'
file 'in4.mp4'
sh
ffmpeg -f concat -i list.txt -c copy out.mp4
Edit this page
logo
Code-related notes and snippets