Package Details: nvenc 7.74-1

Git Clone URL: https://aur.archlinux.org/nvenc.git (read-only, click to copy)
Package Base: nvenc
Description: NVIDIA Video Codec based command line encoder
Upstream URL: https://github.com/rigaya/NVEnc
Licenses: MIT
Submitter: npreining
Maintainer: npreining
Last Packager: npreining
Votes: 5
Popularity: 0.001029
First Submitted: 2022-02-15 01:30 (UTC)
Last Updated: 2024-11-12 13:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

npreining commented on 2022-11-14 15:40 (UTC)

@logothete I pushed a new version where which is not used but type -p instead. That should fix the build on your side.

npreining commented on 2022-11-14 15:31 (UTC)

Hi logothete,

Can you please install "which" package and see whether that fixes it?

logothete commented on 2022-11-14 15:25 (UTC)

Latest build gets me an error:


...
checking for g++...checking for g++...OK
egrep: warning: egrep is obsolescent; using grep -E
checking for cuda (CUDA_PATH=/opt/cuda)..../configure: line 325: which: command not found
nvcc=
checking for cuda..../configure: line 333: --version: command not found
./configure: line 334: --version: command not found
./configure: line 335: [: -le: unary operator expected
./configure: line 339: [: -le: unary operator expected
./configure: line 345: [: -ge: unary operator expected
./configure: line 345: [: -ge: unary operator expected
OK, CUDA .
g++ not found

I can confirm that the CUDA path is correct, so I'm not sure whether the bug is on my end or the package build.

SentakuHM commented on 2022-11-01 13:18 (UTC)

before, i was install nvenc from github by downloading the DEB file for ubuntu and install it with debtap, thank you for bringing this package to AUR.

npreining commented on 2022-07-12 07:21 (UTC) (edited on 2022-07-12 07:21 (UTC) by npreining)

Hi @teawrecks strange, I just build here and the output starts with:

... makepkg preparation...
==> Starting build()...
checking for g++...checking for g++...OK
checking for cuda (CUDA_PATH=/opt/cuda)...nvcc=/opt/cuda/bin/nvcc
checking for cuda...OK, CUDA 11.7
...

Do you have /opt/cuda/bin in the PATH? (it should be afais)

teawrecks commented on 2022-07-12 06:05 (UTC)

It seems the build script doesn't look for cuda in the right place. The cuda package installs to /opt/cuda, but this package looks in /usr/local/cuda. I reinstalled cuda, but this still fails to build. Creating a symlink seemed to fix the issue, but shouldn't be necessary.

Thanks

npreining commented on 2022-02-28 04:30 (UTC)

Hi carlosal1015 thanks a lot for the comments, much appreciated!

  • concerning the commit, that was an error from my side since I missed the tag and used the commit instead, and took the wrong. Will be fixed. I will use tag=...

  • `${variable,,}{ .... cool, thanks!

  • I changed the install commands to drop the directory creating and use install -D... to install the files

Only problem is now to get it work with ffmpeg5 being in the archive and nvenc does not compile with it.

carlosal1015 commented on 2022-02-25 15:51 (UTC) (edited on 2022-02-25 16:09 (UTC) by carlosal1015)

Hi @npreining, welcome to Arch world and this is my feedback related to the PKGBUILD:

  • Is this commit remarkable c187b1a5a432bad65a598dd8c47a072be8155f3b, since is not the latest commit from https://github.com/rigaya/NVEnc/commits/5.43, optionally, for example, we could use in general like source=(git+$url.git#tag=v${pkgver}). Optionally, we could explicit set .git?#branch=<master | main | trunk | develop | etc> name.

  • If we have a variable=AAAA, we can later use ${variable,,} to have lower case.

  • For create a new directory specifying the permissions or install files inside, we could use the install comand, some examples here and here.

  • More nice tips there.