Changes between Version 44 and Version 45 of HWAccelIntro
- Timestamp:
- Dec 6, 2016, 4:40:39 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HWAccelIntro
v44 v45 55 55 † Actually yes, but is deprecated for technical reasons and should not be used. 56 56 57 ^1^ Also known as "CUDA Video Decoding API" or "CUVID ."57 ^1^ Also known as "CUDA Video Decoding API" or "CUVID" or "NvDecode". 58 58 59 59 ^2^ See NVENC … … 139 139 }}} 140 140 141 == CUDA/CUVID ==141 == CUDA/CUVID/NvDecode == 142 142 143 143 CUVID, which is also called nvdec by Nvidia now, can be used for decoding on Windows and Linux. 144 144 In combination with nvenc it offers full hardware transcoding. 145 145 146 CUVID offers decoders for H264, HEVC, H263,MJPEG, mpeg1/2/4, vp8/9, vc1.146 CUVID offers decoders for H264, HEVC, MJPEG, mpeg1/2/4, vp8/9, vc1. 147 147 Codec support varies by hardware. The full set of codecs being available only on Pascal hardware, which adds VP9 and 10 bit support. 148 148 149 While decoding 10 bit video is supported, CUVID is only able to output 8 bit video, so the additional 2 bits are lost in the process.149 While decoding 10 bit video is supported, it is not possible to do full hardware transcoding currently (See the partial hardware example below). 150 150 151 151 Sample decode using CUVID, the cuvid decoder copies the frames to system memory in this case: … … 157 157 {{{ 158 158 ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input -c:v h264_nvenc -preset slow output.mkv 159 }}} 160 161 Partial hardware transcode, with frames passed through system memory (This is necessary for transcoding 10bit content): 162 {{{ 163 ffmpeg -c:v h264_cuvid -i input -c:v h264_nvenc -preset slow output.mkv 159 164 }}} 160 165
