GPU Hardware encoding with Nvidia?

General discussion about Universal Media Server (no support or requests)
Post Reply
ira
Posts: 4
Joined: Tue Apr 08, 2014 4:20 pm

GPU Hardware encoding with Nvidia?

Post by ira »

Hey I've just tried out h264 encoding with NVENC (https://developer.nvidia.com/nvidia-video-codec-sdk) and I'm getting some decent results e.g. 1/5th of the time to encode 1080p for the same quality. Has anyone else tried this out?

And is there an linux/opensource encoder out there that does Nvidia encoding?
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: GPU Hardware encoding with Nvidia?

Post by infidel »

Thanks for the link, very interesting. Afaict this isn't supported in ffmpeg or any of our other transcoders yet. Some details if you would:
  • Are you encoding on the commandline with nvEncoder? if so it could be wrapped as a UMS player obviously.
  • Googling nvenc gives a few hints that it's been recently opened to older GeForce, etc chips. If so then it may be worthwhile setting up. Any specific experience with this? EDIT: according to the nvEncodeApp readme:
    NVENC is officially supported on GPU hardware based on Quadro, Tesla, GeForce GRID, or VGX. NVENC on GeForce is not officially supported.
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: GPU Hardware encoding with Nvidia?

Post by DeFlanko »

I think this would be nice to implement just for Server Machines and if you have one of those cards... sad that GeForce isn't supported as thats a vast majority of GFX cards out there...

buuuuut you get what you pay for i guess
ira
Posts: 4
Joined: Tue Apr 08, 2014 4:20 pm

Re: GPU Hardware encoding with Nvidia?

Post by ira »

Actually it will work on a GPU that is Keple based or above and supports CUDA 3.0 or higher. https://developer.nvidia.com/cuda-gpus

Just got it to work with a GTX 650 and a GTX 780M. Pretty damn quick encoding. From Adobe: "This means the hardware can encode up to 240 frames per second of 1920x1080 progressive video."
Post Reply