You are not logged in.
I have some trouble with archlinux package ffmpeg 2:6.0-3, with the encoer hevc_nvenc. Problem occurs since update.
I get the error message No No capable devices found.
But it worked already fine with prior ffmpeg vesion 2:5.1.2-2.
fmpeg -hwaccel vdpau -i INFILE.mkv -vcodec hevc_nvenc -map 0:1 -c:a copy -f matroska OUTFILE.mkv -loglevel debug
I get then the output at end:
[hevc_nvenc @ 0x55aec8407b40] Loaded Nvenc version 12.0
[hevc_nvenc @ 0x55aec8407b40] Nvenc initialized successfully
[hevc_nvenc @ 0x55aec8407b40] 1 CUDA capable devices found
[hevc_nvenc @ 0x55aec8407b40] [ GPU #0 - < NVIDIA GeForce GTX 1050 Ti > has Compute SM 6.1 ]
[hevc_nvenc @ 0x55aec8407b40] B frames as references are not supported
[hevc_nvenc @ 0x55aec8407b40] No capable devices found
Speicherzugriffsfehler (Speicherabzug geschrieben)
I tested also:
- the ffmpeg/nvidia encoder h264_nvenc runs fine with actual ffmpeg 2:6.0-3 package.
- ffmpeg-git from AUR works also fine, no crash.
- downgrade to ffmpeg 2:5.1.2-2 works also fine. For downgrade ffmpeg I had to downgrade several packages which are
cd /var/cache/pacman/pkg
pacman -U ffmpeg-2\:5.1.2-2-x86_64.pkg.tar.zst mpv-1\:0.35.1-2-x86_64.pkg.tar.zst neatvnc-0.6.0-1-x86_64.pkg.tar.zst libopenshot-0.3.0-2-x86_64.pkg.tar.zst freerdp-2\:2.8.1-3-x86_64.pkg.tar.zst dolphin-emu-1\:5.0.r18498.46b99671d9-1-x86_64.pkg.tar.zst chromaprint-1.5.1-6-x86_64.pkg.tar.zst aubio-0.4.9-14-x86_64.pkg.tar.zst
Can anybody confirm if ffmpeg 2:6.0-3 with hevc_nvenc is running on your computer on nvidia cards?
Last edited by obelisk (2023-03-19 11:58:51)
Offline
Same issue. FFmpeg 6.x is broken when encoding hevc (x265) via hardware (hevc_nvenc). Rollback to 5.x branch solves it.
Offline
Likely using a Pascal card that does not support B Frames.
Add -b_ref_mode disabled to your ffmpeg options.
Offline
Thanks, ists working, when I put -b_ref_mode 0 into ffmpeg command:
ffmpeg -hwaccel vdpau -i IN.mp4 -map 0:1 -vcodec hevc_nvenc -profile:v main -level:v auto -preset:v default -b_ref_mode 0 -map 0:2 -c:a copy -f matroska OUT.mkv
Then hevc_nvenc works also on my nvidia card with actual ffmpeg package https://archlinux.org/packages/extra/x86_64/ffmpeg/.
The tread is solved for me.
Offline