April 4-7, 2016 | Silicon Valley
HIGH PERFORMANCE VIDEO
ENCODING WITH NVIDIA GPUS
Abhijit Patait
Eric Young
April 4th, 2016
NVIDIA GPU Video Technologies
Video Hardware Capabilities
Video Software Overview
AGENDA
Common Use Cases for Video
Performance and Quality Tuning
New Directions
SDK Links
2
NVIDIA GPU VIDEO TECHNOLOGIES
3
NVIDIA VIDEO TECHNOLOGIES
• Dedicated hardware for encode & decode
• Linux, Windows, FFMPEG
4
NVIDIA VIDEO TECHNOLOGIES EVOLUTION
Low-latency Streaming
Cloud transcoding
• Social media
GRID
• Live streaming
• Video-on-demand
5
GPU VIDEO ENCODE
• Low power
• Low latency
• High performance and scalability
• Automatic benefit from
Benefits
Time
Frame #4
Frame #4
improvements in hardware
• Linux, Windows, C/C++, FFMPEG
support
Client
Client
Client
Client
6
VIDEO HARDWARE CAPABILITIES
7
NVIDIA GPU VIDEO HARDWARE
NVDEC
• Video decoder
• MPEG-2, VC-1, H.264, HEVC
• Fermi, Kepler, Maxwell, and
future GPUs
NVENC
• Video encoder
• H.264, HEVC
• Kepler, Maxwell, and future
GPUs
8
ENCODE CAPABILITIES
KEPLER
(GK107, GK104)
H.264 only H.264 only H.264 and HEVC/H.265
Standard 4:2:0,
Planar 4:4:4 & proprietary 4:4:4
~240 fps 2-pass encoding @
720p
GRID K340/K520, K1/K2,
Quadro K5000, Tesla K10/K20,
GeForce GTX 680
NV Encode SDK 1.0-5.0 NV Encode SDK 4.0+ NV Encode SDK 5.0
Standard 4:2:0, 4:4:4 and
H.264 lossless encoding
~500 fps 2-pass encoding @
720p
Maxwell-based GRID &
Quadro products
MAXWELL GEN 1
(GM107)
MAXWELL GEN 2
(GM200, GM204, GM206)
Standard 4:2:0, 4:4:4 and
H.264 lossless encoding
~900 fps 2-pass encoding @
720p
Tesla M4, M40, M6, M60,
Quadro M4000, M5000, M6000,
GeForce GTX 960, 980, Titan X
Video Codec SDK 6.0+
9
DECODE CAPABILITIES
KEPLER
(GK107, GK104)
MPEG-2, MPEG-4, H.264 MPEG-2, MPEG-4, H.264, HEVC
H.264: ~200 fps at 1080p;
1 stream of 4K@30
H.265: Not supported H.265: Not supported H.265: ~500 fps at 1080p
Video Codec SDK 5.0+ Video Codec SDK 5.0+ Video Codec SDK 5.0+
4096 × 4096 4096 × 4096 4096 × 4096
(GM107, GM204, GM200)
with CUDA acceleration
H.264: ~540 fps at 1080p
4 streams of 4K@30
MAXWELL 1
MAXWELL 2
(GM206)
MPEG-2, MPEG-4, H.264
HEVC/H.265 fully in hardware
H.264: ~540 fps at 1080p
4 streams of 4K@30
4 streams of 4K@30
10