Useful VLC objects.
Availability
Script Types |
---|
Art, Extension, Interface, Meta Fetcher, Meta Reader, Services Discovery |
player()
Get the player object. Not to be confused with the player item object.
NOTE: Pre 4.0.0, this was vlc.object.input()
Usage
local player_obj = vlc.object.player()
Return value
A player item object if input exists, otherwise nil
playlist()
Get the playlist object.
Return value
Playlist object or nil
libvlc()
Get instance of libvlc object.
Return value
Libvlc object or nil
aout()
Get the aout object.
Return value
The aout object or nil
vout()
Get the vout object.
Return value
The vout object or nil
VOut has the following variables:
aspect-ratio
autoscale
crop
crop-bottom
crop-top
crop-left
crop-right
deinterlace
deinterlace-mode
sub-margin
secondary-sub-margin
zoom