[FFmpeg-user] Is libplacebo only for GPUs?

Ferdi Scholten ferdi at sttc-nlp.nl
Fri May 16 01:48:21 EEST 2025


> пт, 16 мая 2025 г., 00:12 Mark Filipak<markfilipak.imdb at gmail.com>:
>
>> On 15/05/2025 16.44, Carl Zwanzig wrote:
>>> On 5/15/2025 1:33 PM, Mark Filipak wrote:
>>>> What if I don't have a GPU?
>>> Then you have a 25+ year old video card?
>> Laptop
>>
>>> AFAIK all video chips for the last few decades have had
>>> some form of GPU, although it may not be that useful or not accessible
>> for offload processing.
>>
>> FFmpeg says, "using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX"
>> I guess "AVX" is a GPU? I have no idea.
>>
> no, just another cpu SIMD extension ....
>
> but llvmpipe/lavapipe (software Vulkan rasterizer) probably can use it.
>
>
>
>>> A better question might be "What if I don't have a supported GPU?"
>> It's not a _better_ question, Carl, it's the _next_ question.
>>
>>
Does anyone ever care to read documentation?
"

libplacebo currently supports Vulkan (including MoltenVK), OpenGL, and 
Direct3D 11. It currently has the following minimum hardware requirements:

  * *Vulkan*: Core version 1.2
  * *OpenGL*: GLSL version >= 130 (GL >= 3.0, GL ES >= 3.0)
  * *Direct3D*: Feature level >= 9_1


"
Otherwise, if you have a laptop that was produced after 2010 its 
hardware almost certainly supports libplacebo in some way as the oldest 
of the hardware requirements being OpenGL 3.0 was supported by almost 
all video devices (either dedicated or built in the processor) of the 
time. OpenGL 3.0 was released in 2008.
The same if you are on Windows, Direct3D Feature level 9_1 was released 
in 2008
Vulkan is much more recent, version 1.2 is from 2020

In other words for Intel based laptops, everything going back to Sandy 
Bridge has hardware support for libplacebo and for AMD based this goes 
back to the K10 series processors.

 From the documentation:
"
In principle, libplacebo has no mandatory dependencies - only optional 
ones. However, to get a useful version of libplacebo. you most likely 
want to build with support for either|opengl|,|vulkan|or|d3d11|.
"

For sure, running FFmpeg with libplacebo on Sandy Bridge hardware won't 
be fast at all. But it will make use of hardware acceleration via OpenGL 
( or DirectX if you use Windows < 10 )


More information about the ffmpeg-user mailing list