Defining function 'duration' which performs the ffprobe command that used to be
FFPROBE_CMD.
Authored by: nerius 2023-09-10
Parent: [r1001]
Child: [r1003]