On Sun, Jul 23, 2017 at 3:47 PM, Anmol Mishra <[email protected]> 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
video.

But for your specific request, use

ffplay in.mp4 -vf "select='lt(mod(t,60),6)',setpts=N/FRAME_RATE/TB" -af
"aselect='lt(mod(t,60),6)',asetpts=N/SR/TB"
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to