Opened 8 months ago

Last modified 8 months ago

#9838 new defect

Segfault on Linux with -hwaccel vaapi

Reported by: JohannesGaessler Owned by:
Priority: important Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


After updating my Linux system (5.18.12-3-MANJARO) ffmpeg segfaults when using the "-hwaccel vaapi" option.
I'm not sure if this is an ffmpeg bug though, so feel free to redirect me if necessary.

What I was doing: Use video2x which internally uses ffmpeg, this problem also occurs when using ffmpeg directly though.
Exact command: ~/Projects/ffmpeg/ffmpeg -y -hwaccel vaapi -i which-friend-are-you.webm out.mp4

The bug occured with binary n5.0.1, the git master branch, and the git n5.0.0 tag.

Attachments (1)

ffmpeg-20220719-185927.log (20.1 KB ) - added by JohannesGaessler 8 months ago.

Download all attachments as: .zip

Change History (2)

by JohannesGaessler, 8 months ago

Attachment: ffmpeg-20220719-185927.log added

comment:1 by wangfei, 8 months ago

It seems a issue from nvidia-vaapi-driver. The log message shows fail in vaInitialize when call nvidia-vaapi-driver. I guess same error when your excute vainfo. If so, you can report issue to nvidia-vaapi-driver for help.

Note: See TracTickets for help on using tickets.