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

This forum is about all development around libVLC.
Processeur fou
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2020 07:59

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

Postby Processeur fou » 13 Nov 2020 08:46

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 13 Nov 2020 20:08

Hardware acceleration is enabled or disabled automatically, depending on the rendering mechanism selected by the application.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Processeur fou
New Cone
New Cone
Posts: 5
Joined: 13 Nov 2020 07:59

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

Postby Processeur fou » 14 Nov 2020 09:13

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests