• It runs the ffprobe command to extract the video/video frames.

    Parameters

    • fpath: string

      The file path.

    • kind: string = 'video'

      The kind of the media (video or audio).

    • entries: string = ''

      Which entries to show.

    • filters: string = ''

      Apply filters.

    • OptionalframeProcess: ((_frame: Record<string, string>) => Record<string, string> | FFProbeProcess)

      A function to process the frame. The function return value could be:

      • the modified frame object
      • FFProbeProcess.Skip to skip the frame from the output
      • FFProbeProcess.Stop to stop processing and immediately return the collected frames.
        • (_frame): Record<string, string> | FFProbeProcess
        • Parameters

          • _frame: Record<string, string>

          Returns Record<string, string> | FFProbeProcess

    Returns Promise<Record<string, string>[]>