You can use the select filter for a set of custom ranges:
ffmpeg -i in.mp4 -vf select='between(t,2,6)+between(t,15,24)' -vsync 0 out%d.png
Related Posts:
- What is the difference between M4A and AAC Audio Files?
- How can I extract audio from video with ffmpeg?
- How to create a video from images with FFmpeg?
- Cutting the videos based on start and end time using ffmpeg
- Can ffmpeg show a progress bar?
- use java-ffmpeg wrapper, or simply use java runtime to execute ffmpeg?
- FFMPEG- Convert video to images
- ffmpeg overwrite output file if exists
- Meaning of ffmpeg output (tbc, tbn, tbr)
- How to concatenate two MP4 files using FFmpeg?
- Download TS files from video stream
- How to add a new audio (not mixing) into a video using ffmpeg?
- how to fix Non-monotonous DTS in output stream 0:1; when using ffmpeg
- What steps are needed to stream RTSP from FFmpeg?
- ffmpeg throwing “Output file #0 does not contain any stream” when trying to make a slideshow out of images
- MovieWriter ffmpeg unavailable; trying to use class ‘matplotlib.animation.PillowWriter’ instead
- ffmpeg converting m4s to mp4
- How do you convert an entire directory with ffmpeg?
- Fastest way to extract frames using ffmpeg?