Answers.Body: <p>You may check <a href="https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvenc.h#L186-L221" rel="nofollow noreferrer">https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvenc.h#L186-L221</a></p>
  <p>and the valid can be referenced from <a href="https://github.com/FFmpeg/nv-codec-headers/blob/master/include/ffnvcodec/nvEncodeAPI.h" rel="nofollow noreferrer">https://github.com/FFmpeg/nv-codec-headers/blob/master/include/ffnvcodec/nvEncodeAPI.h</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-04T05:48:20.680Z
Answers.LastActivityDate: 2020-11-04T05:48:20.680Z
Answers.UserDisplayName: xer-rex
Body: <p>I'm trying to use Nvidia's h264_nvenc video encoder with ffmpeg but I can't find a single source of documentation for it. I want to know what options are supported and what they do.</p>
  <p>The software libx264 encoder has good documentation: <a href="http://trac.ffmpeg.org/wiki/Encode/H.264" rel="nofollow noreferrer">http://trac.ffmpeg.org/wiki/Encode/H.264</a></p>
  <p>But I can't find the equivalent for h264_nvenc.</p>
  <p>There is a little bit of information on
  <a href="https://trac.ffmpeg.org/wiki/HWAccelIntro" rel="nofollow noreferrer">https://trac.ffmpeg.org/wiki/HWAccelIntro</a> and
  <a href="https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/" rel="nofollow noreferrer">https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/</a> but these seem to just contain examples, whereas I'm looking for more of a reference for what the encoder can do. Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-04T06:00:12.840Z
Comments.Text: Run `ffmpeg -h encoder=h264_nvenc`
Comments.UserDisplayName: Gyan
Tags: <ffmpeg><encoding><nvenc><nvidia>
Title: FFmpeg/nvenc(cuda): Where is the documentation for h264_nvenc encoder?
UserDisplayName: bemo
ThreadText: # FFmpeg/nvenc(cuda): Where is the documentation for h264_nvenc encoder?
  
  (Asked by: username_0 on 2020-11-03)
  
  I'm trying to use Nvidia's h264\_nvenc video encoder with ffmpeg but I can't find a single source of documentation for it. I want to know what options are supported and what they do.
  
  The software libx264 encoder has good documentation: <http://trac.ffmpeg.org/wiki/Encode/H.264>
  
  But I can't find the equivalent for h264\_nvenc.
  
  There is a little bit of information on
  <https://trac.ffmpeg.org/wiki/HWAccelIntro> and
  <https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/> but these seem to just contain examples, whereas I'm looking for more of a reference for what the encoder can do. Thanks
  
  **Tags:** ffmpeg, encoding, nvenc, nvidia
  
  > **Comments:**
  > **username_1**: Run `ffmpeg -h encoder=h264_nvenc`  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-11-04. Score: 1 | Accepted answer
  
  You may check <https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvenc.h#L186-L221>
  
  and the valid can be referenced from <https://github.com/FFmpeg/nv-codec-headers/blob/master/include/ffnvcodec/nvEncodeAPI.h>
  
  
  ---
  
  