libvlc_video_set_output_callbacks and vdpau

This forum is about all development around libVLC.
Jona
Blank Cone
Blank Cone
Posts: 16
Joined: 11 Jun 2024 01:04
VLC version: 4
Operating System: Linux / Windows

libvlc_video_set_output_callbacks and vdpau

Postby Jona » 20 Dec 2024 03:38

libvlc_video_set_output_callbacks does not seem to work with vdpau, it falls back to:

Code: Select all

vaapi generic: Using Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()
Without libvlc_video_set_output_callbacks vdpau is used:

Code: Select all

vdpau_instance decoder device: Using NVIDIA VDPAU Driver Shared Library 550.142 Wed Dec 11 04:53:10 UTC 2024
It would be nice to use libvlc_video_set_output_callbacks with vdpau, so it would be possible to use it with nvidia GPUs (with Windows and DXVA2 it already works).
Or is it intended that libvlc_video_set_output_callbacks only works with vaapi?

Edit: With Windows it is:

Code: Select all

dxva2 generic: Using DXVA2 (NVIDIA GeForce RTX 3090, vendor NVIDIA(10de), device 2204, revision a1)

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

Re: libvlc_video_set_output_callbacks and vdpau

Postby Rémi Denis-Courmont » 20 Dec 2024 11:15

To use VDPAU, you need to supply an X11 window handle, not output callbacks.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jona
Blank Cone
Blank Cone
Posts: 16
Joined: 11 Jun 2024 01:04
VLC version: 4
Operating System: Linux / Windows

Re: libvlc_video_set_output_callbacks and vdpau

Postby Jona » 20 Dec 2024 12:01

I see, thanks. But isn`t the purpose of libvlc_video_set_output_callbacks that the image stays on the GPU? And right now Linux uses GPU too, just not the nvidia one.
Or is there another way to use nvidia cards with libvlc video callbacks and Linux?

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

Re: libvlc_video_set_output_callbacks and vdpau

Postby Rémi Denis-Courmont » 21 Dec 2024 10:11

No. Patches are welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests