I am attempting to use ffmpeg to transcode some Blu-Ray rips. When I use the hevc_nvenc codec with the ‘-tune uhq’ flag, ffmpeg will segfault at the very end of the transcoding session, dropping the last 10-15 seconds of video and leaving a malformed but playable mkv file.
Example:
ffmpeg -i 'Lava (2015).mkv' -c:v hevc_nvenc -tune uhq test.mkv
This does not occur with all input files, but will always occur given the same input file, and occurs consistently and reproducibly with most of the h264 Blu-Ray rips I have tested.
This occurs with the latest git build of ffmpeg on Arch Linux with a GTX 1660Ti Mobile and the latest Nvidia 580.95.05 Drivers
I initially reported this to the ffmpeg project, but based on the gdb/valgrind logs they determined that the crash was occuring in an nvidia library and that there was likely nothing they could do about it..
nvidia-bug-report.log.gz (729.0 KB)