What is FFplay?

Although ffplay is generally meant to be used interactively, it might not be the ideal option to incorporate into automated procedures or scripts. It is more customary to use the ffmpeg command line tool for automation.

Compared to ffplay, which is interactive, ffmpeg offers a wider range of choices for managing diverse multimedia jobs, which makes it more suitable for scripting and automation.

Hope the below articles may help you: