Project

General

Profile

Bug #3922

nvenc not working

Added by Christian Hermansen over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2016-08-07
Due date:
% Done:

0%

Estimated time:
Found in version:
gb536cdb
Affected Versions:

Description

I compiled using latets git "gb536cdb", and when i try to transcode with nvenc_h264 i get following error:
@2016-08-07 12:38:14.097 libav: This encoder is deprecated, use 'h264_nvenc' instead

2016-08-07 12:38:14.098 libav: Failed to create nvenc instance: invalid version (15)

2016-08-07 12:38:14.098 transcode: 0004: Unable to open nvenc_h264 [email protected]

As far as I can tell there was a change in the official branch, regarding this on June 25?
[[https://github.com/FFmpeg/FFmpeg/search?utf8=%E2%9C%93&q=This+encoder+is+deprecated%2C+use+%27h264_nvenc%27+instead]]

Hope someone can guide me further, on how to resolve this.

Best regards

Chris


Files

History

#1

Updated by Christian Hermansen over 3 years ago

It's working now.

I was missing Cuda and nvidia-367. Installed as referred to here in these sources.

https://codeyarns.com/2015/09/25/how-to-install-cuda-7-5-on-ubuntu/

http://www.ubuntugeek.com/install-nvidia-367-27-drivers-in-ubuntu-16-0415-10.html

Still get the "libav: This encoder is deprecated, use 'h264_nvenc' instead", but happy I got picture now.

Best regards

Chris

#2

Updated by spyer spyer over 3 years ago

Hello Chris,

how many streams can your graphics card transcode?

Best wishes

#3

Updated by Christian Hermansen over 3 years ago

spyer spyer wrote:

Hello Chris,

how many streams can your graphics card transcode?

Best wishes

I only have two tuners, and these can be transcoded simultaneously.
I'm running on a Zotac Magnus EN970 with a Geforce GTX 960 and a dual core i5, ssd and 16 gigs of ram.

Thanks for showing interest.

Kind regards

Chris
!!

#4

Updated by Brian Shensky about 3 years ago

how many streams can your graphics card transcode?

I only have two tuners, and these can be transcoded simultaneously.
I'm running on a Zotac Magnus EN970 with a Geforce GTX 960 and a dual core i5, ssd and 16 gigs of ram.

Sadly, that's all you will ever get. The drivers artificially limit the number of concurrent hardware encodes to 2.

https://devtalk.nvidia.com/default/topic/800942/session-count-limitation-for-nvenc-no-maxwell-gpus-with-2-nevenc-sessions-/

Also available in: Atom PDF