gerhq.blogg.se

Ffmpeg h264_nvenc
Ffmpeg h264_nvenc









ffmpeg h264_nvenc

The GPU shows up correctly in nvidia-smi: Reinit context to 2560x1440, pix_fmt: yuv420p w:2560 h:1440 pixfmt:yuv420p tb:1/90000 fr:30/1 sar:0/1 Loaded Nvenc version 12.0 Nvenc initialized successfully 1 CUDA capable devices found dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device) failed -> CUDA_ERROR_NOT_SUPPORTED: operation not supported No capable devices found Nvenc unloadedError initializing output stream 0:0 - Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Statistics: 0 seeks, 0 writeoutsConversion failed! When i try this ffmpeg command:įfmpeg -hwaccel cuda -hwaccel_output_format cuda -f lavfi -i anullsrc -rtsp_transport tcp -thread_queue_size 4096 -i -vf -c:v h264_nvenc -pix_fmt yuv420p -b:v 9500k -maxrate 9500k -bufsize 9500k -f flv rtmp://a./live2/ cq E.V.I've got an ubuntu 22.04 vm with a quadro p400 passed through to it.

ffmpeg h264_nvenc

AQ strength scale is from 1 (low) - 15 (aggressive) (from 1 to 15) (default 8) When Spatial AQ is enabled, this field is used to specify AQ strength. Set 1 to minimize GOP-to-GOP rate fluctuations (default false)

ffmpeg h264_nvenc

Set this to 1 to enable automatic insertion of non-reference P-frames (default false) Set 1 to indicate zero latency operation (no reordering delay) (default false) set to 1 to enable Temporal AQ (default false) set to 1 to enable Spatial AQ (default false) When lookahead is enabled, set this to 0 to disable adaptive B-frame decision (default true) If forcing keyframes, force them as IDR frames. When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts (default false) Delay frame output by the given amount of frames (from 0 to INT_MAX) (default INT_MAX) (from -2 to INT_MAX) (default any)Īny E.V. Number of concurrent surfaces (from 0 to INT_MAX) (default 32) Number of frames to look ahead for rate-control (from -1 to INT_MAX) (default -1) Multi-pass optimized for constant frame size (only for low-latency presets) Multi-pass optimized for image quality (only for low-latency presets) Override the preset rate-control (from -1 to INT_MAX) (default -1) Set the encoding level restriction (from 0 to 51) (default auto) Set the encoding profile (from 0 to 3) (default main) Set the encoding preset (from 0 to 11) (default medium) Supported pixel formats: yuv420p nv12 p010le yuv444p yuv444p16le bgr0 rgb0











Ffmpeg h264_nvenc