Page 1 of 1

as VLC crashes in same situation, can we disable hardware acceleration?

Posted: 13 Nov 2020 08:46
by Processeur fou
Hello,

As I have describe in my post about VLC media player crash when we take a snapshot of a kind of H265 video using hardware acceleration, my (free) software that uses LibVLC to display decoded H265 video display in a same way= bad video rendering and crashes when we take a snapshot, only because hardware acceleration failed with critical error. https://forum.videolan.org/viewtopic.php?f=14&t=155495

Using VLC media player we can temporally fix this issue by disabling the hardware acceleration for the H265 decoder, but using libVLC I don't know if there is a way to do it.

It would be better if LibVLC video decoder hardware acceleration be set to "disable" by default

best solution would be to have the possibility to use a parameter to set the hardware acceleration.

So today I have no solution. Thank you if you can help me.

Re: as VLC crashes in same situation, can we disable hardware acceleration?

Posted: 13 Nov 2020 20:08
by Rémi Denis-Courmont
Hardware acceleration is enabled or disabled automatically, depending on the rendering mechanism selected by the application.

Re: as VLC crashes in same situation, can we disable hardware acceleration?

Posted: 14 Nov 2020 09:13
by Processeur fou
Thank you Rémi for your answer.

I have not yet selected any rendering mechanism, so just let the rendering working in default mode

I will examine that point.