Difference between revisions of "Hacker Guide"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | = Introduction = | |
{{VLC}} is a very popular, but quite large and complex piece of software.<br /> | {{VLC}} is a very popular, but quite large and complex piece of software.<br /> | ||
Line 13: | Line 13: | ||
A very good introduction to VLC can also be found on [http://www.enjoythearchitecture.com/vlc-architecture.html enjoythearchitecture]. | A very good introduction to VLC can also be found on [http://www.enjoythearchitecture.com/vlc-architecture.html enjoythearchitecture]. | ||
− | + | = The layers of VLC and libVLC = | |
− | + | == VLC's Core / libVLCcore == | |
The most important (and probably most complex) part of VLC is the core, located in src/ in the repository. | The most important (and probably most complex) part of VLC is the core, located in src/ in the repository. | ||
Line 26: | Line 26: | ||
*[[Documentation:Hacker's Guide/VLM Internals|VLM Internals]] | *[[Documentation:Hacker's Guide/VLM Internals|VLM Internals]] | ||
− | + | == Plugins / Modules == | |
[[Documentation:Hacker's Guide/Module Writers Guide|Writing a VLC module]] | [[Documentation:Hacker's Guide/Module Writers Guide|Writing a VLC module]] | ||
Line 68: | Line 68: | ||
*[[Documentation:Hacker's Guide/Access Output|Access Output]] | *[[Documentation:Hacker's Guide/Access Output|Access Output]] | ||
− | + | == libVLC and bindings == | |
*Using [[Documentation:Hacker's Guide/libvlc|libvlc]] | *Using [[Documentation:Hacker's Guide/libvlc|libvlc]] | ||
*bindings | *bindings | ||
− | + | = VLC source code overview = | |
*[[VLC source tree]] | *[[VLC source tree]] | ||
Line 80: | Line 80: | ||
*[[Documentation:Hacker's Guide/Playlist|VLC Playlist and Media Library]] | *[[Documentation:Hacker's Guide/Playlist|VLC Playlist and Media Library]] | ||
− | + | = Coding for VLC = | |
*[[Patches|Patching]] | *[[Patches|Patching]] | ||
Line 91: | Line 91: | ||
*[[Strings]] | *[[Strings]] | ||
− | + | == Authors == | |
*Derk-Jan Hartman | *Derk-Jan Hartman | ||
Line 99: | Line 99: | ||
*Jean-Baptiste Kempf | *Jean-Baptiste Kempf | ||
− | + | = Testing = | |
*[[Test Suite]] | *[[Test Suite]] | ||
{{Documentation}} | {{Documentation}} |
Revision as of 21:30, 5 November 2012
Contents
Introduction
VLC media player is a very popular, but quite large and complex piece of software.
It uses a large number of 3rd party libraries.
VLC development is open source, and then a large community of developers worldwide contribute to it.
However, entering a project such as VLC media player can be long and complex for new developers.
This guide seeks to help understanding the VLC code base and VLC internals to quickly get up to speed.
NB: this guide is not about compiling VLC.
A very good introduction to VLC can also be found on enjoythearchitecture.
The layers of VLC and libVLC
VLC's Core / libVLCcore
The most important (and probably most complex) part of VLC is the core, located in src/ in the repository.
- Introduction to the core This is a MUST-READ for developers.
- VLC modules loading
- Input (slightly outdated)
- VLC Object Management
- VLC variables
- VLM Internals
Plugins / Modules
Input
- Access
- An access module provides a byte stream from a location string MRL.
- Demuxer
- A demux module parses a byte stream and splits it into elementary streams (tracks).
- Access-Demuxer
- An access_demux module combines the functionality of access and demux (and bypass any stream filters), splitting elementary streams directly from a location string. It's used where the bytestream abstraction is inadequate.
- Stream Filters
- A stream filter module converts a byte stream into another byte stream. It could be used for file or byte stream decryption, as it is already used for decompression (gzip, Bzip2, XZ).
- Decoder
- A decoder takes an elementary stream and convert into raw video, audio or text data, reading for output.
Audio
Video
Interfaces
Modules types not documented (yet)
Streaming output
libVLC and bindings
- Using libvlc
- bindings
VLC source code overview
Coding for VLC
- Patching
- Sending Patches
- Code Conventions
- Adding a module
- Documentation:Unicode
- Doxygen Documentation
- C Types
- Strings
Authors
- Derk-Jan Hartman
- Christophe Massiot
- Samuel Hocevar
- Geoffroy Couprie
- Jean-Baptiste Kempf
Testing
This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.