combine mp4 ffmpeg code example
Example 1: ffmpeg add two videos together
$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
Example 2: 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