{
  "reference": "The EIS video timing formats. Raster totals, porches, video sync widths, and sample clocks agree with the cited SMPTE and ITU publications and with a hardware-verified timing contract; tests/fixtures/video_timings_contract.yaml carries the contract's figures and tests/video_timings_contract.py fails when this file and the contract disagree.",
  "formats": [
    {
      "id": "525i59.94",
      "contract_name": "480i59.94",
      "lines": 525,
      "interlaced": true,
      "active_lines": 486,
      "v_front_porch": 6,
      "v_sync": 6,
      "vertical_rate_hz": 59.94,
      "samples_per_line": 1716,
      "active_samples": 1440,
      "h_front_porch": 32,
      "h_sync": 126,
      "h_back_porch": 118,
      "sample_clock": "27.000 MHz",
      "sample_clock_hz": {
        "num": 27000000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-170",
      "clause": "7.3",
      "sd": true,
      "placement": "ITU-BT601"
    },
    {
      "id": "625i50",
      "contract_name": "576i50",
      "lines": 625,
      "interlaced": true,
      "active_lines": 576,
      "v_front_porch": 5,
      "v_sync": 5,
      "vertical_rate_hz": 50.0,
      "samples_per_line": 1728,
      "active_samples": 1440,
      "h_front_porch": 24,
      "h_sync": 126,
      "h_back_porch": 138,
      "sample_clock": "27.000 MHz",
      "sample_clock_hz": {
        "num": 27000000,
        "den": 1
      },
      "kind": "quoted",
      "source": "ITU-BT470",
      "clause": "7.3",
      "sd": true,
      "placement": "ITU-BT601"
    },
    {
      "id": "480p59.94",
      "contract_name": "480p59.94",
      "lines": 525,
      "interlaced": false,
      "active_lines": 480,
      "v_front_porch": 9,
      "v_sync": 6,
      "vertical_rate_hz": 59.94,
      "samples_per_line": 858,
      "active_samples": 720,
      "h_front_porch": 16,
      "h_sync": 62,
      "h_back_porch": 60,
      "sample_clock": "27.000 MHz",
      "sample_clock_hz": {
        "num": 27000000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-293",
      "clause": "7.3",
      "sd": true
    },
    {
      "id": "576p50",
      "contract_name": "576p50",
      "lines": 625,
      "interlaced": false,
      "active_lines": 576,
      "v_front_porch": 5,
      "v_sync": 5,
      "vertical_rate_hz": 50.0,
      "samples_per_line": 864,
      "active_samples": 720,
      "h_front_porch": 12,
      "h_sync": 64,
      "h_back_porch": 68,
      "sample_clock": "27.000 MHz",
      "sample_clock_hz": {
        "num": 27000000,
        "den": 1
      },
      "kind": "quoted",
      "source": "ITU-BT1358",
      "clause": "7.3",
      "sd": true
    },
    {
      "id": "720p50",
      "contract_name": "720p50",
      "lines": 750,
      "interlaced": false,
      "active_lines": 720,
      "v_front_porch": 5,
      "v_sync": 5,
      "vertical_rate_hz": 50.0,
      "samples_per_line": 1980,
      "active_samples": 1280,
      "h_front_porch": 440,
      "h_sync": 40,
      "h_back_porch": 220,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-296",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "720p59.94",
      "contract_name": "720p59.94",
      "lines": 750,
      "interlaced": false,
      "active_lines": 720,
      "v_front_porch": 5,
      "v_sync": 5,
      "vertical_rate_hz": 59.94,
      "samples_per_line": 1650,
      "active_samples": 1280,
      "h_front_porch": 110,
      "h_sync": 40,
      "h_back_porch": 220,
      "sample_clock": "74.25/1.001 MHz",
      "sample_clock_hz": {
        "num": 74250000000,
        "den": 1001
      },
      "kind": "quoted",
      "source": "SMPTE-296",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "720p60",
      "contract_name": "720p60",
      "lines": 750,
      "interlaced": false,
      "active_lines": 720,
      "v_front_porch": 5,
      "v_sync": 5,
      "vertical_rate_hz": 60.0,
      "samples_per_line": 1650,
      "active_samples": 1280,
      "h_front_porch": 110,
      "h_sync": 40,
      "h_back_porch": 220,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-296",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080i50",
      "contract_name": "1080i50",
      "lines": 1125,
      "interlaced": true,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 10,
      "vertical_rate_hz": 50.0,
      "samples_per_line": 2640,
      "active_samples": 1920,
      "h_front_porch": 528,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080i59.94",
      "contract_name": "1080i59.94",
      "lines": 1125,
      "interlaced": true,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 10,
      "vertical_rate_hz": 59.94,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25/1.001 MHz",
      "sample_clock_hz": {
        "num": 74250000000,
        "den": 1001
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080i60",
      "contract_name": "1080i60",
      "lines": 1125,
      "interlaced": true,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 10,
      "vertical_rate_hz": 60.0,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p23.98",
      "contract_name": "1080p23.98",
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 23.98,
      "samples_per_line": 2750,
      "active_samples": 1920,
      "h_front_porch": 638,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25/1.001 MHz",
      "sample_clock_hz": {
        "num": 74250000000,
        "den": 1001
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p24",
      "contract_name": "1080p24",
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 24.0,
      "samples_per_line": 2750,
      "active_samples": 1920,
      "h_front_porch": 638,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p25",
      "contract_name": "1080p25",
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 25.0,
      "samples_per_line": 2640,
      "active_samples": 1920,
      "h_front_porch": 528,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p29.97",
      "contract_name": "1080p29.97",
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 29.97,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25/1.001 MHz",
      "sample_clock_hz": {
        "num": 74250000000,
        "den": 1001
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p30",
      "contract_name": "1080p30",
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 30.0,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "74.25 MHz",
      "sample_clock_hz": {
        "num": 74250000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p50",
      "contract_name": null,
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 50.0,
      "samples_per_line": 2640,
      "active_samples": 1920,
      "h_front_porch": 528,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "148.5 MHz",
      "sample_clock_hz": {
        "num": 148500000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p59.94",
      "contract_name": null,
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 59.94,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "148.5/1.001 MHz",
      "sample_clock_hz": {
        "num": 148500000000,
        "den": 1001
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    },
    {
      "id": "1080p60",
      "contract_name": null,
      "lines": 1125,
      "interlaced": false,
      "active_lines": 1080,
      "v_front_porch": 4,
      "v_sync": 5,
      "vertical_rate_hz": 60.0,
      "samples_per_line": 2200,
      "active_samples": 1920,
      "h_front_porch": 88,
      "h_sync": 44,
      "h_back_porch": 148,
      "sample_clock": "148.5 MHz",
      "sample_clock_hz": {
        "num": 148500000,
        "den": 1
      },
      "kind": "quoted",
      "source": "SMPTE-274",
      "clause": "7.3",
      "sd": false
    }
  ],
  "columns": {
    "samples_per_line": "Total samples per line at sample_clock (h_total)",
    "active_samples": "Active picture samples per line at sample_clock",
    "h_front_porch": "Samples from the end of active picture to the leading edge of horizontal video sync; for the interlaced SD formats, the ITU-R BT.601 placement of the digital active line",
    "h_sync": "Horizontal video sync pulse width in samples (the tri-level pulse pair at HD)",
    "h_back_porch": "Samples from the trailing edge of horizontal video sync to the start of active picture",
    "lines": "Total lines per frame (v_total)",
    "active_lines": "Active picture lines per frame as published for the format",
    "v_front_porch": "Lines from the end of active picture to vertical video sync, counted per frame (both fields of an interlaced format together)",
    "v_sync": "Vertical video sync (broad pulse) lines, counted per frame (both fields of an interlaced format together)",
    "vertical_rate_hz": "Field rate for interlaced formats, frame rate for progressive formats",
    "sample_clock": "Exact sample clock; the SD formats are stated at 27.000 MHz (two samples per 13.5 MHz luma sample)"
  }
}
