interface PlayStation5Tweaks {
    esvm?: boolean;
    pass_through?: boolean;
    playmode?: "4K" | "2K";
}

Properties

esvm?: boolean

Enables the Enhanced Security Video Mode. This uses a more secure video render pipeline which is required when content is encrypted with PlayReady SL-3000 or Widevine L1, and/or HDR/10-bit content.

Playback of PlayReady SL-3000, Widevine L1 and/or HDR/10-bit content both require esvm to be set to true. If it is set to false a decoding error will occur. PlayReady SL-2000, Widevine L2 or L3, unprotected, and/or SDR content, can also be played when esvm is true.

When setting esvm, all previous video elements must be destroyed. This cannot change during any form of video playback.

Default is false

Since

8.88.0

pass_through?: boolean

The pass_through option enables and disables audio pass-through.

If enabled, audio is passed through to the AV Receiver to decompress audio. If disabled, the PlayStation® console will decompress audio into LPCM.

Only one audio stream can be passed through to the AV Receiver at a time. Attempting to enable pass_through on a second video element when the first is still active will result in an error.

Default is false

Since

8.88.0

playmode?: "4K" | "2K"

This flag is used to define hardware resources when playing multiple videos at the same time. If playing only a single video, or two videos up with combined resolution up to 4k the playmode can be left as "4K" - which is also capable of playing 2K content.

  • "4K" Informs the underlying video engine that this SourceBuffer will play content above 2K and up to 4K.
  • "2K" Informs the underlying video engine that this SourceBuffer will not play content above 2K. Playback of 4K content in this mode will result in an error.

When setting playmode, all previous video elements must be destroyed. This cannot change during any form of video playback.

Default is "4K"

Since

8.88.0