Composite Baseband Video Signal Modules

ntsc.demod

I/O: video/video

Supports HDR: no

Parameters:

  • Chroma gain (chromagain): The amount of gain to apply to the chromaticity signal after separating it from the rest of the video signal. Defaults to 0.0 dbV
  • Luma gain (lumagain): The amount of gain to apply to the luminance signal after separating it from the rest of the video signal. Defaults to 0.0 dbV
  • Chroma synch (synch): An integer sample offset to apply to the chromaticity carrier clock used to demodulate the color signal. Defaults to 0 samples. Recommended values include anything in the range of 0 thru 720, inclusive

Notes:

  • Input flowing to this module should always come from a signal "pre-scanned" by the ntsc.scan module.

ntsc.mod

I/O: video/signal

Supports HDR: no

Parameters: none

Notes:

  • Will automatically rescale input frames to 720x242 1:1 SAR.
  • Assumes video input is at exactly 59.94 (60000/1001) frames per second.
  • Each frame of video input is regarded by the module as a field (interlaced half-frame).
  • Because of this, for realistic results, progressive input frames should be pre-processed to separate the even and odd fields and sequence them as progressive half-frames.
  • Fields arrive in time-order sequence. NTSC traditionally transmits even lines first, beginning numbering at 1. Equivalent to FFmpeg's bottom-field first.
  • Output signal clock is exactly 13.5 MHz.

ntsc.scan

I/O: signal/video

Supports HDR: no

Parameters: none

Notes:

  • Expected input for ntsc.mod is equivalent to expected output for this module.

  • Video output consists of rescaled progressive half-frames at 59.94 (60000/1001) frames per second.

  • Output frames arrive in time-order sequence (bottom-field first).

  • Expected input signal clock is exactly 13.5 MHz, incongruent input signals will be resampled to this rate before demodulation.