forked from ports/contrib
ffmpeg: add support for nvidia hardware encoding via ffnvcodec-headers port
This commit is contained in:
parent
8ca7d230fc
commit
636154be3b
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32Z2KSFg8RclS2MLNhl61NIBI8Ly2VyCpezh2LAgSEGC3v2Z1EnFgO3IoiPNtRpWmhKnnSCmOSasY8zfIQzwWQk=
|
||||
SHA256 (Pkgfile) = 3740bc31aa6f25fa78b2f67bc5ea79db0d302479de025e7dbc8d49d3aefb6d2b
|
||||
RWSagIOpLGJF36ZVfIczIISzJaowoZchX9obfHiP78pr+MFwBXsMv9OAW9NEPQtus04DaqoX/4iIrbVfiV8gt0KG0uhXBjj7Dw4=
|
||||
SHA256 (Pkgfile) = ccb84b4c4b645840d0a39becf0a0ba114d53e8e69b7cee26378d7fde3e3a1871
|
||||
SHA256 (.footprint) = fbb9d65e4628c14776dbe54f9861c5458a5af52e65d079e3a7653c5c5749c03d
|
||||
SHA256 (ffmpeg-4.1.1.tar.bz2) = 0cb40e3b8acaccd0ecb38aa863f66f0c6e02406246556c2992f67bf650fab058
|
||||
SHA256 (ffmpeg-x264-10bit.sh) = dde9627c41800235fbcfe0f74d2181be96239a82cd2d0d277715dddb57eb9cb3
|
||||
|
@ -2,11 +2,11 @@
|
||||
# URL: http://ffmpeg.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: yasm
|
||||
# Optional: alsa-lib fdk-aac gnutls lame libass libsdl2 libtheora libva libvdpau libvorbis libvpx libwebp opus x264 x265 pulseaudio
|
||||
# Optional: alsa-lib fdk-aac ffnvcodec-headers gnutls lame libass libsdl2 libtheora libva libvdpau libvorbis libvpx libwebp opus x264 x265 pulseaudio
|
||||
|
||||
name=ffmpeg
|
||||
version=4.1.1
|
||||
release=1
|
||||
release=2
|
||||
source=(https://ffmpeg.org/releases/$name-$version.tar.bz2
|
||||
ffmpeg-x264-10bit.sh
|
||||
CVE-2018-6621.patch)
|
||||
@ -17,6 +17,7 @@ build() {
|
||||
#https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6621
|
||||
patch -p1 -i $SRC/CVE-2018-6621.patch
|
||||
|
||||
[ -e '/usr/lib/pkgconfig/ffnvcodec.pc' ] && PKGMK_FFMPEG+=' --enable-nvdec --enable-nvenc'
|
||||
[ -e '/usr/lib/pkgconfig/libwebp.pc' ] && PKGMK_FFMPEG+=' --enable-libwebp'
|
||||
[ -e '/usr/lib/pkgconfig/vdpau.pc' ] && PKGMK_FFMPEG+=' --enable-vdpau'
|
||||
[ -e '/usr/lib/pkgconfig/freetype2.pc' ] && PKGMK_FFMPEG+=' --enable-libfreetype'
|
||||
|
Loading…
x
Reference in New Issue
Block a user