Extract x seconds from every minute with ffmpeg

Solution 1:

Use

ffmpeg -i in.mp4 -vf "select='lt(mod(t,60),1)',setpts=N/FRAME_RATE/TB" out.mp4

If audio's also present, add

-af "aselect='lt(mod(t,60),1)',asetpts=N/SR/TB"