[FFmpeg-user] Is libplacebo only for GPUs?
Andrew Randrianasulu
randrianasulu at gmail.com
Fri May 16 02:43:36 EEST 2025
пт, 16 мая 2025 г., 02:33 Mark Filipak <markfilipak.imdb at gmail.com>:
> On 15/05/2025 18.48, Ferdi Scholten wrote:
> >> пт, 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?
>
> Sure. Here: https://ffmpeg.org/ffmpeg-filters.html#libplacebo
>
> >
> > 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
>
> Where did you find that text? Should I be looking somewhere else for
> documentation?
>
https://github.com/haasn/libplacebo
But *I think* (after looking at ffmpeg codebase) this only covers
libplacebo itself, not its integration as ffmpeg filter :/
> > 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.
>
> I run FFmpeg in Windows.
>
> > The same if you are on Windows, Direct3D Feature level 9_1 was released
> in 2008
>
> Intel Graphic and Media Control Panel makes no mention of Direct3D. I
> believe that Direct3D is from
> Microsoft.
>
> > 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 ...
>
> Build? Come down to Earth, friend. And again, where are you finding your
> documentation?
>
> > 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 )
>
> Windows 7x64 SP1. Yeah, I know... but my Acer gaming laptop with NVIDIA
> died.
>
> Thank you. Then I'll put some time into using libplacebo's 'tonemapping'
> (https://ffmpeg.org/ffmpeg-filters.html#Tone-mapping) in addition to
> 'tonemap'
> (https://ffmpeg.org/ffmpeg-filters.html#tonemap-1). I've been at this for
> two days.
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list