[FFmpeg-devel] [PATCH] configure: enable ffnvcodec, nvenc, nvdec for FreeBSD

Timo Rothenpieler timo at rothenpieler.org
Sun May 26 14:28:04 EEST 2024


On 26.05.2024 07:22, Brad Smith wrote:
> On 2024-05-19 7:24 a.m., Timo Rothenpieler wrote:
>> On 19.05.2024 02:00, Brad Smith wrote:
>>> configure: enable ffnvcodec, nvenc, nvdec for FreeBSD
>>>
>>> Signed-off-by: Brad Smith <brad at comstyle.com>
>>> ---
>>>   configure | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index b16722d83d..96b181fd21 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -7350,7 +7350,7 @@ fi
>>>     if enabled x86; then
>>>       case $target_os in
>>> -        mingw32*|mingw64*|win32|win64|linux|cygwin*)
>>> +        freebsd|mingw32*|mingw64*|win32|win64|linux|cygwin*)
>>
>> Does this actually work?
>> Everything I find online indicates that the FreeBSD driver is lacking 
>> support for CUDA, nvenc and most of anything compute related.
> 
> 
> According to the commits and bug report requesting support it does 
> appear to work.
> 
> The CUDA bits are not native. They're using Linux emulation for that. 
> The display driver is
> native.

If it actually is confirmed to work, this change LGTM.
I have no way to test or verify that though.


More information about the ffmpeg-devel mailing list