Skip to content

ffmpeg:dv5_preproc

dolby_encoding:dv5_preproc

Dolby Vision profile 5 pre-processor is a command-line tool that converts Dolby Vision mezzanine input to profile 5 raw video (YUV 420 10-bit) and RPU metadata.

Full documentation: [Dolby Encoding Engine Docs](https://developer.dolby.com/globalassets/professional/product-manuals/dolbyencodingengineusersguide.pdf)

    {
      "tool": "dolby_encoding:dv5_preproc",
      "parameters": {
            "decoder": "jpeg2000=kakadu_dlb:thread_num=4",
            "input_video": "media/video.mxf",
            "input_format": "jpeg2000_mxf",
            "temp_dir": "/tmp",
            "output_rpu": "/tmp/test.rpu"
            "output": "named_pipe://PIPE:buffer_size=256000:timeout=5000",
            "max_scene_frames": "96"
        }
    }
Parameter Properties Default Type Choice Description
input_format required Input format followed by format-specific options.
input_video required Input file or input directory, in case of list-based input.
output required str Output YUV file (10-bit 420 planar).
output_rpu required Output RPU file
concurrent_processing optional 1 int '1', '0', 1, 0 Enable concurrent processing.
show_frames optional none str 'all', 'counters', 'decoder', 'demuxer', 'none', 'resizer', 'transformer.' Show more details about processed video frames.
input_metadata optional Optional input metadata file. If not specified, the application attempts to extract metadata from the input.
metadata_offset optional 0 int Offset added to each frame index, when accessing frame metadata from the source.
start optional 0 int Start frame.
duration optional -1 int Duration (in frames). Value -1 means "up to the last frame".
decoder optional Decoder plugin and decoder options to be used. If not specified, the application attempts to select plugin automatically.
resize_options optional Resize options. Syntax: "option1=value1:option2=value2".
max_scene_frames optional 255 int Maximum number of frames processed as a single scene [1:255].
l11 optional auto str Dolby Vision level 11 metadata.
l5 optional auto str Dolby Vision level 5 metadata.
image_transformer optional Name of image transformer plugin to be used followed by configuration parameters.
temp_dir optional Directory to store temporary files.
keep_temp optional 0 int '1', '0', 1, 0 Keep temporary files after execution.