Code
- Node.js
- Python
- cURL
How the FFmpeg command works
split=2[first][second]— duplicate the video stream so we can select frames at two different timesselect='gte(t,10)'[thumb1]— pick the first frame at or after 10 sselect='gte(t,20)'[thumb2]— pick the first frame at or after 20 s-map [thumb1] -frames:v 1 {{out_1}}— write one frame tothumbnail1.jpg-map [thumb2] -frames:v 1 {{out_2}}— write one frame tothumbnail2.jpg
select + -map pair per output.