I am trying to use ffmpeg to take a few clips from a video and combine them together, similar to this.
Except that the clips come from timestamps that overlap. My command looks like this:
"C:Program Filesffmpegbinffmpeg.exe" -y -i "C:temp5min.mp4" ^
-vf "select='between(t,4,6.5)+between(t,5,6)', setpts=N/FRAME_RATE/TB" ^
-af "aselect='between(t,4,6.5)+between(t,5,6)', asetpts=N/SR/TB" "C:temp5min-clip.mp4"
The video that gets output only contains the first clip. I am on the latest version of ffmpeg.
How do I accomplish this?