[FFmpeg-user] Using ffmpeg to preview feature films

Gyan gyandoshi at gmail.com
Sun Jul 23 14:03:38 EEST 2017

On Sun, Jul 23, 2017 at 3:47 PM, Anmol Mishra <amish153 at hotmail.com> wrote:

> How can I play the file for 6 seconds, then skip for a minute play 6 secs
> and so on, till the file ends ?

You can just seek through the file by right-clicking in the video window.
The video width represents the entire duration of the file, so
right-clicking horizontally in the middle seeks to the halfway point of the

But for your specific request, use

ffplay in.mp4 -vf "select='lt(mod(t,60),6)',setpts=N/FRAME_RATE/TB" -af

More information about the ffmpeg-user mailing list