Composite Baseband Video Signal Modules

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

I/O: signal/video

Supports HDR: no

Parameters:

  • Output width (w): Determines what width to rescale the demodulated video output to. Can be any positive, non-zero, even integer.
  • Output height (h): Determines what height to rescale the demodulated video output to. Can be any positive, non-zero, even integer.
  • 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 9.0 dbV

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.