@vpalmisano/webrtcperf
    Preparing search index...

    Function ffprobe

    • 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.

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