-
Notifications
You must be signed in to change notification settings - Fork 93
ld chroma decoder
This application takes the PAL or NTSC TBC input video and performs chroma decoding (i.e colourises it). Output is a sequence of RGB 16-16-16 video frames suitable for pipelining to an external application such as ffmpeg.
Syntax:
ld-chroma-decoder <options> <input TBC file name> (<output RGB file name>)
The output RGB file name is optional. If omitted the output will be sent to stdout (for pipe-lining).
Most of the options here correspond to settings in ld-analyse's 'Chroma decoder configuration' window, so you can experiment with them interactively using ld-analyse. For more information on what the settings mean, see the ld-analyse User Guide.
The mono
filter isn't available in ld-analyse. It treats the whole signal as being luma, so it's the best choice when you know that the input video doesn't contain any colour information (e.g. black-and-white films).
Options:
-h, --help Displays this help.
-v, --version Displays version information.
-d, --debug Show debug
-q, --quiet Suppress info and warning messages
--input-json <filename> Specify the input JSON file (default
input.json)
-s, --start <number> Specify the start frame number
-l, --length <number> Specify the length (number of frames to
process)
-r, --reverse Reverse the field order to second/first
(default first/second)
--chroma-gain <number> Gain factor applied to chroma components
(default 1.0)
-b, --blackandwhite Output in black and white
-f, --decoder <decoder> Decoder to use (pal2d, transform2d,
transform3d, ntsc1d, ntsc2d, ntsc3d,
ntsc3dnoadapt, mono; default automatic)
-t, --threads <number> Specify the number of concurrent threads
(default number of logical CPUs)
-o, --oftest NTSC: Overlay the adaptive filter map (only
used for testing)
-w, --white NTSC: Use 75% white-point (default 100%)
--chroma-nr <number> NTSC: Chroma noise reduction level in dB
(default 0.0)
--luma-nr <number> NTSC: Luma noise reduction level in dB
(default 1.0)
--simple-pal Transform: Use 1D UV filter (default 2D)
--transform-mode <mode> Transform: Filter mode to use (level,
threshold; default threshold)
--transform-threshold <number> Transform: Uniform similarity threshold in
'threshold' mode (default 0.4)
--transform-thresholds <file> Transform: File containing per-bin similarity
thresholds in 'threshold' mode
--show-ffts Transform: Overlay the input and output FFTs
Arguments:
input Specify input TBC file (- for piped input)
output Specify output RGB file (omit or - for piped
output)
- Basic usage
- TBC Video Export
- PAL decode guide
- NTSC decode guide
- Working with multiple discs
- Working with subtitles
- Disc images to download
- ld-decode
- ld-analyse
- ld-chroma-decoder
- ld-process-vbi
- ld-export-metadata
- ld-dropout-correct
- ld-process-efm
- ld-discmap
- ld-disc-stacker
- ld-process-vits
- ld-lds-converter
- ld-chroma-encoder