@vestra-player/sdk - v1.11.3
    Preparing search index...

    Type Alias MotionReasonCode

    MotionReasonCode:
        | "engine"
        | "platform"
        | "no-gpu"
        | "runtime"
        | "filter"
        | "rendering"
        | "upscaling"
        | "doubling"
        | "other-engine"
        | "failed"
        | "overload"
        | "rate"
        | "format"
        | "size"
        | string & {}

    Why a motion smoothing mode does not work, as a stable kebab-case code. A newer player may add codes: compare with the ones you handle and show MotionReason.message for the rest. The codes, in the order the player checks them (the first that holds is reported):

    Code Meaning
    engine The player has no converter of this engine on this system (nvidia on a player before it).
    platform The player has no frame-rate converter on this system (macOS, Linux).
    no-gpu No GPU with this engine's converter (Windows: no AMD Radeon GPU; no NVIDIA GeForce RTX 30 or newer GPU).
    runtime The GPU's runtime is missing or too old (Windows: AMD's AMF runtime, installed with the AMD driver; an NVIDIA driver before 573.38), or the converter cannot start on this system (AMD: it failed to start the same way on two videos in this run, an older GPU AMF does not serve; NVIDIA: no Vulkan device or optical flow from the driver, at the first try).
    filter The player's video library has no frame-rate converter (a player built without it).
    rendering Match Display only: the player renders in software, or GPU rendering is still starting (Rendering).
    upscaling AI upscaling is on (VideoUpscaling); the two cannot run together.
    doubling A plugin's video filter already raises the frame rate (a frameBlend node, such as Frame Doubling); the two cannot run together.
    other-engine The other engine's converter is on for another plugin (the message names it); one converter runs at a time, so this waits until that one is off.
    failed The converter stopped on this video; the message has its error. The next video tries again.
    overload The output could not keep up with this video: the GPU, even with the faster motion search, or, with software rendering, the CPU drawing the doubled frames (the message says which, and that GPU Rendering helps then). The next video tries again.
    rate The converter's input rate (MotionState.sourceFps: 25i deinterlaced by field reads 50) does not fit: outside 10–30 fps (the rates measured), doubled above the display's refresh rate, or (software rendering, Double) twice it is not the display's rate.
    format The video's format was not measured: 10-bit or deeper, or HDR.
    size The video is too large for this mode on this renderer: its width × height × the doubled rate is more than the player measured it keeps up with (on the reference laptop: software rendering up to 1080p at 30 fps, GPU rendering's Double up to 4K at 24 fps, Match Display up to 1080p on a 60 Hz display, counted at the display's refresh rate). The next video may fit.

    engine, platform, no-gpu, runtime, filter and rendering (once GPU rendering is not just starting) hold until the player restarts, and VideoMotion.set rejects a mode they stand in the way of; the others can pass during the run, so set keeps the request and the player applies it as soon as they do.

    The plugin shows its own advice for the reasons the user can act on and the player's message for the rest.

    const { double } = await plugin.video.motion("amd").state();
    // Advice for the codes this plugin knows; any other code shows the message.
    const advice: Partial<Record<MotionReasonCode, string>> = {
    upscaling: "Turn off AI Upscaling to smooth motion.",
    runtime: "Install or update the AMD graphics driver.",
    };
    if (double) console.log(advice[double.code] ?? double.message);

    0.8.1

    1.7.19