Home | Trees | Indices | Help |
---|
|
object --+ | _Ctype --+ | Instance
Create a new Instance instance.
It may take as parameter either:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
a new object with type S, a subtype of T |
|
||
Inherited from |
|
|||
Inherited from |
|
|
Create a new MediaPlayer instance.
|
Create a new Media instance. If mrl contains a colon (:) preceded by more than 1 letter, it will be treated as a URL. Else, it will be considered as a local path. If you need more control, directly use media_new_location/media_new_path methods. Options can be specified as supplementary string parameters, but note that many options cannot be set at the media level, and rather at the Instance level. For instance, the marquee filter must be specified when creating the vlc.Instance or vlc.MediaPlayer. Alternatively, options can be added to the media using the Media.add_options method (with the same limitation).
|
Create a media for a certain file path. See
|
Create a new MediaList instance.
|
Enumerate the defined audio output devices.
|
Increments the reference count of a libvlc instance. The initial
reference count is 1 after |
Try to start a user interface for the libvlc instance.
|
Sets the application name. LibVLC passes this as the user agent string when a protocol requires it.
Version: LibVLC 1.1.1 or later. |
Sets some meta-information about the application. See also set_user_agent().
Version: LibVLC 2.1.0 or later. |
Unsets the logging callback. This function deregisters the logging callback for a LibVLC instance. This is rarely needed as the callback is implicitly unset when the instance is destroyed. Note: This function will wait for any pending callbacks invocation to complete (causing a deadlock if called from within the callback). Version: LibVLC 2.1.0 or later. |
Sets the logging callback for a LibVLC instance. This function is thread-safe: it will wait for any pending callbacks invocation to complete.
Version: LibVLC 2.1.0 or later. |
Sets up logging to a file.
Version: LibVLC 2.1.0 or later. |
Create a media discoverer object by name. After this object is
created, you should attach to media_list events in order to be notified
of new items discovered. You need to call
Version: LibVLC 3.0.0 or later. |
Get media discoverer services by category.
Version: LibVLC 3.0.0 and later. |
Create an new Media Library object.
|
Add a broadcast, with one input.
|
Add a vod, with one input.
|
Delete a media (VOD or broadcast).
|
Enable or disable a media (VOD or broadcast).
|
Set the output for a media.
|
Set a media's input MRL. This will delete all existing inputs and add the specified one.
|
Add a media's input MRL. This will add the specified one.
|
Set a media's loop status.
|
Set a media's vod muxer.
|
Edit the parameters of a media. This will delete all existing inputs and add the specified one.
|
Play the named broadcast.
|
Stop the named broadcast.
|
Pause the named broadcast.
|
Seek in the named broadcast.
|
Return information about the named media as a JSON string representation. This function is mainly intended for debugging use, if you want programmatic access to the state of a vlm_media_instance_t, please use the corresponding libvlc_vlm_get_media_instance_xxx -functions. Currently there are no such functions available for vlm_media_t though.
|
Get vlm_media instance position by name or instance id.
|
Get vlm_media instance time by name or instance id.
|
Get vlm_media instance length by name or instance id.
|
Get vlm_media instance playback rate by name or instance id.
|
Get vlm_media instance title number by name or instance id.
Bug: will always return 0. |
Get vlm_media instance chapter number by name or instance id.
Bug: will always return 0. |
Is libvlc instance seekable ?
Bug: will always return 0. |
Decorator. Caches a parameterless method's return value each time it is called. If called later with the same arguments, the cached value is returned (not reevaluated). Adapted from https://wiki.python.org/moin/PythonDecoratorLibrary
|
Create a media with a certain given media resource location, for instance a valid URL.
Note:
To refer to a local file with this function, the file://... URI
syntax must be used (see IETF RFC3986). We recommend using
media_new_path() instead when dealing with local
files. See |
Create a media for an already open file descriptor. The file descriptor shall be open for reading (or reading and writing). Regular file descriptors, pipe read descriptors and character device descriptors (including TTYs) are supported on all platforms. Block device descriptors are supported where available. Directory descriptors are supported on systems that provide fdopendir(). Sockets are supported on all platforms where they are file descriptors, i.e. all except Windows.
Note:
This library will not automatically close the file
descriptor under any circumstance. Nevertheless, a file descriptor
can usually only be rendered once in a media player. To render it a
second time, the file descriptor should probably be rewound to the
beginning with lseek(). See Version: LibVLC 1.1.5 and later. |
Create a media with custom callbacks to read the data from.
Version: LibVLC 3.0.0 and later. |
Create a media as an empty node with a given name. See
|
Create a renderer discoverer object by name After this object is
created, you should attach to events in order to be notified of the
discoverer events. You need to call
Version: LibVLC 3.0.0 or later. |
Get media discoverer services See libvlc_renderer_list_release().
Version: LibVLC 3.0.0 and later. |
Backward compatibility stub. Do not use in new code. \deprecated Use audio_output_device_list_get() instead.
|
Backward compatibility stub. Do not use in new code. \deprecated Use audio_output_device_list_get() instead.
|
Backward compatibility stub. Do not use in new code. \deprecated Use audio_output_device_list_get() instead.
|
Waits until an interface causes the instance to exit. You should start at least one interface first, using add_intf(). |
Always returns minus one. This function is only provided for backward compatibility.
|
This function does nothing. It is only provided for backward compatibility.
|
This function does nothing useful. It is only provided for backward compatibility.
|
Start playing (if there is any item in the playlist). Additionnal playlist item options can be specified for addition to the item before it is played.
|
Gets the list of available audio output modules.
|
Gets a list of audio output devices for a given audio output module,
See
Notes:
Warning: Some audio output devices in the list might not actually work in some circumstances. By default, it is recommended to not specify any explicit audio device. Version: LibVLC 2.1.0 or later. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Jul 25 13:13:08 2020 | http://epydoc.sourceforge.net |