How to close ffplay when video is over?

Viewed 3848

To get the duration time with ffprobe.

ffprobe test.mp3 2>&1 | awk -F'[ ,]' '/Duration/{print $4}'
00:03:51.05

To set duration time with -t argument.

ffplay  -t '231'  test.mp3

The ffplay command can't stop when test.mp3 is over.
How to close ffplay when video is over?

1 Answers
Related