#6476: NVENC: "InitializeEncoder failed" error occurs when level 5.2 is specified -------------------------------------+----------------------------------- Reporter: alexpigment | Owner: Type: enhancement | Status: new Priority: wish | Component: avcodec Version: git-master | Resolution: Keywords: nvenc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+-----------------------------------
Comment (by hydra3333): Sadly, no I am not sure. I do want to encode 4k using an nvidia 2060 Super which I gather goes beyond level 5.1 and I have to leave off -level. The h.264 spec https://en.wikipedia.org/wiki/Advanced_Video_Coding#Levels says it goes to level 6.2, and the constants in https://github.com/FFmpeg/nv-codec- headers/blob/master/include/ffnvcodec/nvEncodeAPI.h specify up to 5.2 (it may be greater now with newer cards/drivers), however here https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvenc_h264.c (at least) it specifies only to level 5.1, Thus there seems to be some inconsistency at present. I'm unsure if the code otherwise checks and constrains it to what a driver may report (not sure where to look for that). -- Ticket URL: <https://trac.ffmpeg.org/ticket/6476#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".