Table of Contents

ffmpeg - Troubleshooting - segmentation fault (core dumped) ffmpeg -vaapi_device /dev/dri/renderD128 -i -vf 'format=nv12,hwupload' -c:v

The error

ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mkv -vf 'format=nv12,hwupload' -c:v hevc_vaapi -f mp4 -rc_mode 1 -qp 25 output.mp4

returns:

segmentation fault (core dumped)  ffmpeg -vaapi_device /dev/dri/renderD128 -i  -vf 'format=nv12,hwupload' -c:v

Cause

The problem is segfaults with ffmpeg with VA-API.


Solution

The reinstall of the libva-mesa-driver package.