/usr/local/bin/ffmpeg -i /var/www/vhosts/slidesrecorder.com/httpdocs/recordings/8/682/2023_06_05-18_08_56-000000000008-682-932-132d2bd6322c16fd54cbafba39cb94a774375fde7300e39da5515cfdf4f10e1e/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