nvenc: H264 and HEVC encoders