ffplay custom command to seek 5 instead of 10 seconds

Viewed 919

In ffplay the left/right arrows can be used to skip forward/back 10 seconds. Can I somehow create a custom shortcut (or replace the existing one) to skip only 5 or 3 seconds?

1 Answers

An option has now been added to ffplay to allow custom seek interval.

Usage:

ffplay file.mp4 -seek_interval 15.6

Now the left and right keys will seek to 15.6 seconds (or to the latest keyframe before the seek target) backward and forward.

Related