Page 1 of 1

libvlc after 12 instances hardware accelerator failed to decode picture error

Posted: 03 Dec 2020 12:16
by furkanka50
Hi all,
I am using libvlc 3.0.11 sdk. I have multiple instances of vlc player in my program developed in Qt platform. I am using libvlc_media_new_callbacks API to read data from custom buffer. There isn't any problem until 12 instance of players but when I increase the number of instances, libVLC gives that error "hardware accelerator failed to decode picture" with red text color.
If I open multiple instances of my own program, I can create 12 instances for each program and works fine. According from this, I think this is not hardware-capacity related problem. I have tried different hardware accelereation options but I could'nt make it work. I need help
Regards...

Re: libvlc after 12 instances hardware accelerator failed to decode picture error

Posted: 03 Dec 2020 18:14
by Rémi Denis-Courmont
That error message is not from LibVLC. I think FFmpeg shows that when the underlying hardware driver fails to decode.

Re: libvlc after 12 instances hardware accelerator failed to decode picture error

Posted: 04 Dec 2020 08:53
by furkanka50
Thanks for your reply. I'll consider that. Do you have any suggestion for me? I am stuck right now

Re: libvlc after 12 instances hardware accelerator failed to decode picture error

Posted: 08 Dec 2020 06:57
by slymnkbdyi
i have a such problem , did you solve the problem ? can you help me ?

Re: libvlc after 12 instances hardware accelerator failed to decode picture error

Posted: 08 Dec 2020 12:31
by furkanka50
According to @Rémi Denis-Courmont 's reply, I've just tested ffmpeg mosaic example with 16 seperate videos, it works properly with hardware acceleration. It is not working properly with libvlc. I don't know how to solve this problem.