Difference between revisions of "LibVLC"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 42: Line 42:
  
 
=== libVLC on Android ===
 
=== libVLC on Android ===
* [https://bitbucket.org/edwardcw/libvlc-android-sample LibVLC on Android sample]
+
* [https://code.videolan.org/videolan/libvlc-android-samples LibVLC on Android sample]
  
 
=== VLCKit for Cocoa (iOS/MacOS) ===
 
=== VLCKit for Cocoa (iOS/MacOS) ===
Line 48: Line 48:
  
 
==== Mac OS X ====
 
==== Mac OS X ====
* [http://git.videolan.org/?p=vlc-bindings/VLCKit.git;a=tree;f=Examples_OSX/BasicPlayerWithPlaylist;hb=HEAD Simple playlist player for Mac OS X].
+
* [https://code.videolan.org/videolan/VLCKit/tree/master/Examples/macOS/BasicPlayerWithPlaylist Simple playlist player for Mac OS X].
* [http://git.videolan.org/?p=vlc-bindings/VLCKit.git;a=tree;f=Examples_OSX/iPodConverter;hb=HEAD iPod Converter for Mac OS X].
+
* [https://code.videolan.org/videolan/VLCKit/tree/master/Examples/macOS/iPodConverter iPod Converter for Mac OS X].
* [http://git.videolan.org/?p=vlc-bindings/VLCKit.git;a=tree;f=Examples_OSX/FlashVideoDownloader;hb=HEAD Flash Video Downloader for Mac OS X].
+
* [https://code.videolan.org/videolan/VLCKit/tree/master/Examples/macOS/FlashVideoDownloader Flash Video Downloader for Mac OS X].
  
 
==== iOS ====
 
==== iOS ====
* [http://git.videolan.org/?p=vlc-bindings/VLCKit.git;a=tree;f=Examples_iOS/SimplePlayback;hb=HEAD Simple player for iOS].
+
* [https://code.videolan.org/videolan/VLCKit/tree/master/Examples/iOS/SimplePlayback Simple player for iOS].
* [http://git.videolan.org/?p=vlc-bindings/VLCKit.git;a=tree;f=Examples_iOS/DropIn-Player;hb=HEAD Drop-in player for integration in iOS apps].
+
* [https://code.videolan.org/videolan/VLCKit/tree/master/Examples/iOS/DropIn-Player Drop-in player for integration in iOS apps].
 +
 
 +
=== Crossplatform .NET/Mono support with LibVLCSharp ===
 +
* [https://code.videolan.org/videolan/LibVLCSharp/tree/master/Samples Simple playback samples (iOS/Android/Mac/Windows/Xamarin.Forms)].
 +
* [https://code.videolan.org/mfkl/libvlcsharp-samples Advanced samples].
  
 
=== Outdated samples ===
 
=== Outdated samples ===

Revision as of 05:59, 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: