Q3.How to Identify Whether a Video File is in I-frame or P-frame Format - Decoder Series - kiloview

Q3.How to Identify Whether a Video File is in I-frame or P-frame Format

06/26/2026 / 416

How to identify whether a video file is in I format or P format

Purpose of the Document

This document is designed to help you quickly identify whether your recorded video stream is interlaced (i) or progressive (p) , allowing for proper stream adjustment and verification. Interlaced and progressive scanning primarily affect three aspects: post-production editing , playback , and encoding/compression . Confusing the two may lead to issues such as combing artifacts ​ (interlace artifacts) and stuttering .

**Applicable Products:**All Products

**Applicable Versions:**All Versions

  1. Problem Phenomena and Applicable Scenarios

    Reference this document when encountering the following situations:

When you are unable to confirm whether a recorded video stream is interlaced (i) or progressive (p) .

Solution

If you need to identify the scanning type of a video file, you can use the following three software tools: FFmpeg , PotPlayer , and MediaInfo . The specific steps are as follows:

  • Identify via FFmpeg

**Step 1:**​ Install the FFmpeg ​ software on your computer (you may refer to the open-source community installation guide).

**Step 2:**​ Open the CMD command line ​ on your computer and enter:ffprobe -v quiet -select_streams v:0 -show_entries stream=field_order -of default=noprint_wrappers=1:nokey=1 <path_to_video_file>

226e93f2e731f42196b7f96cea6852ed

Step 3:Check the echoed result. Progressive indicates progressive scan (p), while tt or bb​ indicates interlaced scan (i).

cd65d7b926871f4cfe83ec725d53488a

  • Identify via PotPlayer
    Step 1: Install the PotPlayer software on your computer (refer to the official PotPlayer website for the installation tutorial). Right-click the video file and select PotPlayer to play it.
    Step 2: Press the TAB key on the video playback window to display the parameter information.
    2bc1bb99ab0700d40340a73b418672c6
    Step 3: Check the format parameters. As shown in the figure below, 1080p indicates a progressive scan format, while 1080i indicates an interlaced scan format.
    0f58f14d0c2fc5768a9ff8441b1efd59
  • Identify via MediaInfo
    Step 1: Install the MediaInfo software (refer to the community installation tutorial), run it, and select and open the corresponding video file.

    Step 2: Select "View" -> "Tree", where you can check the detailed parameters of the video file.

    Step 3: Locate "Video" -> "Scan type". As shown in the figure below, it will display "Interlaced/Progressive".

  1. Root Cause Analysis

    When users receive video streams from the main control (or other central control systems), they are often unable to immediately determine whether the stream is interlaced or progressive. This document can be used as a reference to record the video stream and then distinguish between the two types using the tools mentioned above. This allows for the selection and implementation of a more optimal compatibility solution.