FFmpeg Adds AI Upscaling for Intel GPUs in 56 Lines With the Same Build Requirements
FFmpeg merged support for AI super resolution on Intel GPUs on November 28. The 56 added lines let a Quick Sync Video filter call the oneVPL API while retaining the same minimum build dependency.
oneVPL AI upscaling comes to FFmpeg
FFmpeg merged a change submitted by Intel's Anton Kesy into its master development branch.
The vpp_qsv filter gains an ai_sr option. Intel processors and GPUs use Intel Quick Sync Video (QSV) to accelerate video encoding, decoding, and processing in hardware. FFmpeg uses vpp_qsv to access those processing capabilities.
oneVPL, the Intel Video Processing Library, gives applications an API and dispatcher for hardware acceleration. It added an AI super resolution API in 2024. FFmpeg can now call it through vpp_qsv.
ai_sr is off by default and must be enabled explicitly. The documentation shows how to upscale a 960 × 540 NV12 video to 1,920 × 1,080 pixels.
vpp_qsv=ai_sr=1:w=1920:h=1080
The change adds 56 lines and removes one across two files, the documentation and the filter implementation. Despite its size, it involves several design choices.
Conditional compilation with #if QSV_VERSION_ATLEAST(2, 13) keeps FFmpeg's minimum build requirement in place. Only builds with oneVPL 2.13 or newer headers compile the feature. A second check returns an error if the runtime version is below 2.13.
oneVPL refuses to initialize standard VPP scaling and AI super resolution together. When ai_sr is enabled, FFmpeg therefore leaves the normal scaling extension unset. It also ignores scale_mode, which selects the conventional scaling method. Only the default super resolution mode is implemented.
What the feature requires
Using ai_sr requires an FFmpeg build compiled with oneVPL 2.13 or later headers, a runtime that supports API 2.13 or later, and a QSV device that supports AI super resolution.
The ai_sr option at a glance
| Option | ai_sr (vpp_qsv filter) |
| Default | Off |
| Build requirement | oneVPL 2.13 or later headers |
| Runtime requirements | API 2.13+ runtime and a compatible QSV device |
| Conventional scaling | Mutually exclusive (oneVPL rejects simultaneous use) |
| Lines changed | 56 added, 1 removed (2 files) |
| Build dependency | Same minimum (conditional compilation) |
The commit does not list supported GPU generations. The oneVPL GPU runtime supports Intel GPUs from the Iris Xe generation (Tiger Lake) onward, and Rocket Lake and later use oneVPL in place of the older Media SDK. A GPU can run oneVPL without supporting AI super resolution. Support depends on the runtime implementation, as do scaling factors, pixel formats, and compatibility with other video processing filters.
The latest oneVPL release is v2.17.0, well past the API 2.13 minimum needed for the feature.
The change is in FFmpeg's development code. Availability in stable releases and in software that bundles FFmpeg depends on their update cycles. The commit does not include image quality comparisons or measurements of processing speed and power consumption. The 56 lines make the API accessible. How it performs will have to be seen in practice.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
