/usr/local/bin/ffmpeg -i /var/www/vhosts/slidesrecorder.com/httpdocs/recordings/8/682/2023_06_14-11_03_58-000000000008-682-1167-55fd5f8f40382e0076bc904667a4a208d3e2c6191a0a58c95c26b76547d28a7a/final_file.webm -filter_complex \ "[0:v]trim=duration=2[a]; \ [0:v]trim=start=6:end=12,setpts=PTS-STARTPTS[b]; \ [a][b]concat[c]; \ [0:v]trim=start=80,setpts=PTS-STARTPTS[d]; \ [c][d]concat[out1]" -map [out1]

single recording