-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for NVENC/NVDEC via libc6-shim
Add multimedia/ffnvcodec port of the FFmpeg version of headers needed by various ports to support NVENC/NVDEC. Patch ffmpeg and handbrake to make use of NVENC/NVDEC.
- Loading branch information
Showing
10 changed files
with
94 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- configure.orig 2020-12-29 02:11:00.799439000 +0000 | ||
+++ configure 2020-12-29 02:11:51.884632000 +0000 | ||
@@ -6679,7 +6679,7 @@ | ||
|
||
if enabled x86; then | ||
case $target_os in | ||
- mingw32*|mingw64*|win32|win64|linux|cygwin*) | ||
+ freebsd|mingw32*|mingw64*|win32|win64|linux|cygwin*) | ||
;; | ||
*) | ||
disable ffnvcodec cuvid nvdec nvenc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# $FreeBSD$ | ||
|
||
PORTNAME= ffnvcodec | ||
DISTVERSIONPREFIX= n | ||
DISTVERSION= 11.0.10.0 | ||
CATEGORIES= multimedia | ||
|
||
MAINTAINER= multimedia@FreeBSD.org | ||
COMMENT= FFmpeg headers to interface with NVIDIA video encoder (NVENC) | ||
|
||
LICENSE= MIT | ||
|
||
USES= gmake pkgconfig | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= FFmpeg | ||
GH_PROJECT= nv-codec-headers | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1610395724 | ||
SHA256 (FFmpeg-nv-codec-headers-n11.0.10.0_GH0.tar.gz) = 96db8f4a5cda18cd757fc0e74bc27f372441fdbf814ec7f0f1ee6caa73780310 | ||
SIZE (FFmpeg-nv-codec-headers-n11.0.10.0_GH0.tar.gz) = 68583 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FFmpeg version of headers required to interface with NVIDIA's codec APIs. | ||
|
||
WWW: https://github.com/FFmpeg/nv-codec-headers/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include/ffnvcodec/dynlink_cuda.h | ||
include/ffnvcodec/dynlink_cuviddec.h | ||
include/ffnvcodec/dynlink_loader.h | ||
include/ffnvcodec/dynlink_nvcuvid.h | ||
include/ffnvcodec/nvEncodeAPI.h | ||
libdata/pkgconfig/ffnvcodec.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- configure.orig 2020-05-21 15:55:40.000000000 +0000 | ||
+++ configure 2020-12-29 00:25:23.411264000 +0000 | ||
@@ -6569,7 +6575,7 @@ | ||
|
||
if enabled x86; then | ||
case $target_os in | ||
- mingw32*|mingw64*|win32|win64|linux|cygwin*) | ||
+ freebsd|mingw32*|mingw64*|win32|win64|linux|cygwin*) | ||
;; | ||
*) | ||
disable ffnvcodec cuvid nvdec nvenc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters