Difference between revisions of "LibVLC"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 68: Line 68:
 
== Language & platform bindings ==
 
== Language & platform bindings ==
 
LibVLC is a C library. It has bindings to the following languages and frameworks:
 
LibVLC is a C library. It has bindings to the following languages and frameworks:
* C++, using the [https://git.videolan.org/?p=vlc-bindings/libvlcpp.git;a=summary libVLCpp] library
+
* C++, using the [https://code.videolan.org/videolan/libvlcpp libvlcpp] library
 
* The [[Web plugin]] for ActiveX (e.g. MSIE) and NPAPI (e.g. Firefox)
 
* The [[Web plugin]] for ActiveX (e.g. MSIE) and NPAPI (e.g. Firefox)
 
* [http://WebChimera.org WebChimera] browser plugin with [http://nwjs.io/ NW.js] support
 
* [http://WebChimera.org WebChimera] browser plugin with [http://nwjs.io/ NW.js] support
Line 76: Line 76:
 
* [http://phonon.kde.org/ Phonon (Qt/KDE) in C++]
 
* [http://phonon.kde.org/ Phonon (Qt/KDE) in C++]
 
* [[Java bindings]]
 
* [[Java bindings]]
* [https://git.videolan.org/?p=vlc-ports/android.git;a=tree;f=libvlc;hb=HEAD libVLC android Java]
+
* [https://code.videolan.org/videolan/vlc-android/tree/master/libvlc/jni libVLC android Java]
* [http://github.com/jteeuwen/go-vlc GO]
+
* [https://code.videolan.org/videolan/libvlcsharp C#/F#/.NET]
 +
* [https://code.videolan.org/videolan/vlc-winrt/tree/master/modules/libvlcppcx C++/CX]
 +
* [https://github.com/adrg/libvlc-go Go]
 +
* [https://github.com/garkimasera/vlc-rs Rust]
 
* [http://github.com/RSATom/QmlVlc QmlVlc] - Qt 5 QML binding
 
* [http://github.com/RSATom/QmlVlc QmlVlc] - Qt 5 QML binding
 
* [https://github.com/vlc-qt/vlc-qt VLC-Qt] - Qt bindings
 
* [https://github.com/vlc-qt/vlc-qt VLC-Qt] - Qt bindings

Revision as of 06:24, 25 October 2018

The libVLC (VLC SDK) media framework can be embedded into an application to get multimedia capabilities.

Since VLC is based on libVLC, one should be able to have the same features that VLC media player has.

The libVLC media framework is already used by several applications; see who uses libVLC?

Documentation

Please refer to the Doxygen documentation, which is the reference documentation.

Make sure that the documentation matches the LibVLC version. (if not, you can build it from the source code)

Some further topics are covered here:

Compiling

To build LibVLC you need VLC source code and follow VLC compilation instructions since LibVLC it is directly shipped in VLC source code.
You will find headers in vlc-src/include/vlc and libvlc.so binaries in the hidden folder vlc-src/lib/.libs.
When using your custom LibVLC build you will need to define the environment variable VLC_PLUGIN_PATH pointing to VLC modules located in vlc-src/modules.

Examples

Playback

Rendering and streaming

More complex examples

libVLC on Android

VLCKit for Cocoa (iOS/MacOS)

You can find details on features and implementation on a designated page.

Mac OS X

iOS

Crossplatform .NET/Mono support with LibVLCSharp

Outdated samples

Language & platform bindings

LibVLC is a C library. It has bindings to the following languages and frameworks: