Changes between Version 44 and Version 45 of HWAccelIntro


Ignore:
Timestamp:
Dec 6, 2016, 6:40:39 AM (2 years ago)
Author:
philipl
Comment:

Update discussion of CUVID (Remove h.263. Discuss 10bit decode and transcode situation)

Legend:

Unmodified
Added
Removed
Modified
  • HWAccelIntro

    v44 v45  
    5555† Actually yes, but is deprecated for technical reasons and should not be used.
    5656
    57 ^1^ Also known as "CUDA Video Decoding API" or "CUVID."
     57^1^ Also known as "CUDA Video Decoding API" or "CUVID" or "NvDecode".
    5858
    5959^2^ See NVENC
     
    139139}}}
    140140
    141 == CUDA/CUVID ==
     141== CUDA/CUVID/NvDecode ==
    142142
    143143CUVID, which is also called nvdec by Nvidia now, can be used for decoding on Windows and Linux.
    144144In combination with nvenc it offers full hardware transcoding.
    145145
    146 CUVID offers decoders for H264, HEVC, H263, MJPEG, mpeg1/2/4, vp8/9, vc1.
     146CUVID offers decoders for H264, HEVC, MJPEG, mpeg1/2/4, vp8/9, vc1.
    147147Codec support varies by hardware. The full set of codecs being available only on Pascal hardware, which adds VP9 and 10 bit support.
    148148
    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.
     149While decoding 10 bit video is supported, it is not possible to do full hardware transcoding currently (See the partial hardware example below).
    150150
    151151Sample decode using CUVID, the cuvid decoder copies the frames to system memory in this case:
     
    157157{{{
    158158ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input -c:v h264_nvenc -preset slow output.mkv
     159}}}
     160
     161Partial hardware transcode, with frames passed through system memory (This is necessary for transcoding 10bit content):
     162{{{
     163ffmpeg -c:v h264_cuvid -i input -c:v h264_nvenc -preset slow output.mkv
    159164}}}
    160165