file videos.txt will contained:
“`
file ‘v1.mp4’
file ‘/path/to/v2.mp4’
file ‘v3.mp4’
file ‘v4.mp4’
“`

cli code as below:
ffmpeg -f concat -safe 0 -i videos.txt -c copy videos.mp4

Tal