Since last year the NVIDIA Linux binary graphics driver has exposed the NVENC API for GPU-based video encode support. FFmpeg has supported NVENC for offloading the encode job to newer NVIDIA graphics processors and now they've extended that code to support H.265 encoding on the GPU...
March 25, 2015
FFmpeg Enables H.265 Encoding For New NVIDIA GPUs
Read more at Phoronix