Changes between Version 86 and Version 87 of Encode/H.264


Ignore:
Timestamp:
Dec 12, 2024, 6:28:48 PM (19 months ago)
Author:
Mads Johansen
Comment:

Added nvenc examples (as ArticlesForCreation wanted

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.264

    v86 v87  
    263263Don't forget about [https://trac.ffmpeg.org/wiki/HWAccelIntro/ HWAccel] too, e.g.: `-hwaccel auto -i input`
    264264
     265== NvEnc ==
     266
     267If you have access to the Nvidia NvEnc hardware (ffmpeg -encoders shows h264_nvenc) then you can use ffmpeg -h encoder=h264_nvenc to see the specific options it provides.
     268
     269See https://trac.ffmpeg.org/wiki/HWAccelIntro#NVENC for troubleshooting tips
     270
     271Examples:
     272
     273Maximum speed
     274ffmpeg -i INPUT_NAME -c:v h264_nvenc -preset p1 OUTPUT-NAME
     275
     276Highest quality
     277ffmpeg -i INPUT_NAME -c:v h264_nvenc -qp 15 -profile:v high444p -pix_fmt yuv444p -tune hq -preset p7 -rc constqp -rc-lookahead 32 OUTPUT_NAME
     278(qp 15 is visually lossless)
    265279
    266280----