The file path.
The kind of the media (video or audio).
Which entries to show.
Apply filters.
Optional
frameProcess: ((_frame: Record<string, string>) => Record<string, string> | FFProbeProcess)A function to process the frame. The function return value could be:
FFProbeProcess.Skip
to skip the frame from the outputFFProbeProcess.Stop
to stop processing and immediately return the collected frames.
It runs the ffprobe command to extract the video/video frames.