Use FFmpeg to merge video fragments

Firstly, vim merge.txt

file '01.flv'
file '02.flv'
file '03.flv'
file '04.flv'

Then, ffmpeg -f concat -i merge.txt -c copy output.mp4