2

We have a server with kepler graphics card and Nvidia driver already installed. How can I run NVENC(Hardware for Video encoding), and use its SDK on linux CentOS 6.4?

Also, how can I test if it is working in general aspects? Is there any test program, like a NVENC hello world to test NVENC API? Is it supported completely on Linux?

I know in the docs they said it is supported by linux but I want to know how can I use NVENC on linux and test it's functionality, you know such a command , simple code or script or step by step procedure or tutorial to getting start with NVENC API encoder to use kepler NVENC hardware on linux and in practice is it supported in all aspect in linux ?

do you have any point for running SDK sample on linux , does it need any pre-requirment or config to run ?

2 Answers 2

3

You might be interested in this overview

Also, there are a number of resources here including a programming guide.

The SDK itself includes samples.

Yes, it's supported on Linux.

Please avail yourself of these resources and then pose more specific questions if you still need help.

7
  • Dear @Robert Crovella : I Already have seen both of this slides and even their video and reviewed NVENC AppNote and other docs.I know in the docs they said it is supported by linux but I want to know how can I use NVENC on linux and test it's functionality, you know such a command , simple code or script or step by step procedure or tutorial to getting start with NVENC API encoder to use kepler NVENC hardware on linux Commented Jul 15, 2013 at 4:02
  • Dear @Robert : do these samples in SDK run on linux too , because they are visual studio projects , I will try them by tomorrow, do u have any point for running this samples on linux ? Commented Jul 15, 2013 at 4:14
  • 1
    Take a look inside the zip file that you download from here. You'll note there is a ReadMe.txt file. I suggest you read it. It contains instructions for "Linux Building and running the project". Please follow those instructions. Use the makefile in the Samples/nvEncodeApp folder. Commented Jul 15, 2013 at 5:35
  • Dear @Robert Crovella : when I make this sample on centos6.4 I get this error : /usr/bin/ld: cannot find -lnvidia-encode Commented Jul 16, 2013 at 17:04
  • Dear @Robert : for additional info for my error please visit this : stackoverflow.com/questions/17684297/… Commented Jul 16, 2013 at 19:26
1

change lines in Makefile

from LDFLAGS += -L/usr/lib64 -lnvidia-encode -ldl

to LDFLAGS += -L/usr/lib64/nvidia -lnvidia-encode -ldl

good luck !!!

1
  • While this wasn't the specific change I needed, it does seem that as of now (October 2015) The makefiles for the nvenc samples are not setting LDFLAGS correctly.
    – Yaur
    Commented Oct 19, 2015 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.