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

Rémi Denis-Courmont remi at remlab.net
Fri Sep 29 16:58:17 CEST 2017


Le 29 septembre 2017 17:44:46 GMT+03:00, Roman Chistokhodov <freeslave93 at gmail.com> a écrit :
>But VLC itself allows to make a choice. It's just natural to give the
>same
>ability for applications that use libvlc
>
>On Fri, Sep 29, 2017 at 3:59 PM, Rémi Denis-Courmont <remi at remlab.net>
>wrote:
>
>> 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/
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>>

There are thousands of settings that VLC exposes, most of which are not or not directly exposed by LibVLC. The idea is to keep a stable and simple API. If you want more precision and less stability, you can write custom plugins.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list