[vlc-devel] Getting the list of video output methods

Rémi Denis-Courmont remi at remlab.net
Fri Sep 29 14:59:01 CEST 2017


Le perjantaina 29. syyskuuta 2017, 3.27.24 EEST Roman Chistokhodov a écrit :
> I use libvlc and want to make the list of possible video output methods
> like in VLC (VDPAU, X11, GLX, etc.). I looked into libvlc documentation,
> searched the wiki, but could not find how to get such list via libvlc API.
> Tried to find it in vlc source code itself, but failed. As I understand I
> need to find the list of modules with category CAT_VIDEO and
> subcategory SUBCAT_VIDEO_VOUT, but still could not find the way to do it.
> Is there example? Or at least someone could link to the related API or vlc
> code that do this.

There is no API to do that and no plans to add one either. This would 
interfere with some of the existing LibVLC APIs, as well as planned future 
ones.

Besides, not all video outputs support all video formats and windowing systems 
in all circumstances, so forcing a video output is a great way to break 
autodetection and fail to render.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list