I using a 1080Ti and have updated drivers to latest Studio Driver 431.70 however unsure if there’s compatibility issues but have not been able to run applications like Adobe Premiere.
ffmpeg crashes/quits right after ‘Nvenc initialized successfully’.
ffmpeg -loglevel debug -f rawvideo -vcodec rawvideo -s 1920x1080 -i HeavyHand_1080p.yuv -c:v h264_nvenc -an -pix_fmt yuv420p -y out.mp4
ffmpeg version N-94391-g052d41377a Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190716
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 32.100 / 56. 32.100
libavcodec 58. 55.100 / 58. 55.100
libavformat 58. 30.100 / 58. 30.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.100 / 7. 58.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'rawvideo'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '1920x1080'.
Reading option '-i' ... matched as input url with argument 'HeavyHand_1080p.yuv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_nvenc'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'out.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url HeavyHand_1080p.yuv.
Applying option f (force format) with argument rawvideo.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument rawvideo.
Applying option s (set frame size (WxH or abbreviation)) with argument 1920x1080.
Successfully parsed a group of options.
Opening an input file: HeavyHand_1080p.yuv.
[rawvideo @ 0000021aa1edb340] Opening 'HeavyHand_1080p.yuv' for reading
[file @ 0000021aa1edbbc0] Setting default whitelist 'file,crypto'
[rawvideo @ 0000021aa1edb340] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[rawvideo @ 0000021aa1edb340] All info found
[rawvideo @ 0000021aa1edb340] Estimating duration from bitrate, this may be inaccurate
[rawvideo @ 0000021aa1edb340] After avformat_find_stream_info() pos: 3110400 bytes read:3110400 seeks:0 frames:1
Input #0, rawvideo, from 'HeavyHand_1080p.yuv':
Duration: 00:00:03.04, start: 0.000000, bitrate: 622080 kb/s
Stream #0:0, 1, 1/25: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 1920x1080, 0/1, 622080 kb/s, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url out.mp4.
Applying option c:v (codec name) with argument h264_nvenc.
Applying option an (disable audio) with argument 1.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Successfully parsed a group of options.
Opening an output file: out.mp4.
[file @ 0000021aa1f023c0] Setting default whitelist 'file,crypto'
Successfully opened the file.
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0000021aa1ee5040] PACKET SIZE: 3110400, STRIDE: 2880
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0000021aa1f45040] w:1920 h:1080 pixfmt:yuv420p tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0000021aa1f46640] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0000021aa1ee4d80] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[h264_nvenc @ 0000021aa1ee6d40] Loaded lib: nvcuda.dll
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuInit
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceGetCount
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceGet
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceGetAttribute
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceGetName
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceComputeCapability
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuCtxCreate_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuCtxSetLimit
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuCtxPushCurrent_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuCtxPopCurrent_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuCtxDestroy_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemAlloc_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemAllocPitch_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemsetD8Async
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemFree_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemcpy2D_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMemcpy2DAsync_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGetErrorName
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGetErrorString
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuStreamCreate
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuStreamQuery
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuStreamSynchronize
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuStreamDestroy_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuStreamAddCallback
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuEventCreate
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuEventDestroy_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuEventSynchronize
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuEventQuery
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuEventRecord
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuLaunchKernel
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuModuleLoadData
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuModuleUnload
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuModuleGetFunction
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuTexObjectCreate
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuTexObjectDestroy
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGLGetDevices_v2
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGraphicsGLRegisterImage
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGraphicsUnregisterResource
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGraphicsMapResources
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGraphicsUnmapResources
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuGraphicsSubResourceGetMappedArray
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDeviceGetUuid
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuImportExternalMemory
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDestroyExternalMemory
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuExternalMemoryGetMappedBuffer
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMipmappedArrayGetLevel
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuMipmappedArrayDestroy
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuImportExternalSemaphore
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuDestroyExternalSemaphore
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuSignalExternalSemaphoresAsync
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: cuWaitExternalSemaphoresAsync
[h264_nvenc @ 0000021aa1ee6d40] Loaded lib: nvEncodeAPI64.dll
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: NvEncodeAPICreateInstance
[h264_nvenc @ 0000021aa1ee6d40] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[h264_nvenc @ 0000021aa1ee6d40] Loaded Nvenc version 9.0
[h264_nvenc @ 0000021aa1ee6d40] Nvenc initialized successfully