| 1 |
This is gavl, a common support library for other packages of the gmerlin project. |
| 2 |
It is developed in Linux (PC and Raspberry Pi 4). |
| 3 |
|
| 4 |
Porting it to non-Linux platforms might cause major headaches. Since it's a |
| 5 |
one-man project, I gave up on not using the great Linux/glibc/gcc features only |
| 6 |
because other OSes (which I never use) don't have them. |
| 7 |
|
| 8 |
Read the file INSTALL for detailed installation instructions. |
| 9 |
|
| 10 |
The original purpose was to provide data structures and routines for handling |
| 11 |
uncompressed audio- and video data. Over the years it became a central |
| 12 |
repository for code, which is shared by the gmerlin package and the |
| 13 |
gmerlin-avdecoder library. It's main purpose is to make the gmerlin-avdecoder |
| 14 |
library independent from the (huge) gmerlin package. |
| 15 |
|
| 16 |
In the future, more stuff might get moved from libgmerlin to libgavl. |
| 17 |
|
| 18 |
Below is (probably incomplete) list of contained modules: |
| 19 |
|
| 20 |
- Handling of uncompressed audio and video data (gavl.h) |
| 21 |
|
| 22 |
- Handling of compressed audio and video data (compression.h) |
| 23 |
|
| 24 |
- Handling of A/V data stored in special ways for hardware acceleration (hw*.h) |
| 25 |
|
| 26 |
- Connectors (source and sink) for compressed and uncompressed A/V data. They |
| 27 |
usually work in zero-copy mode but can also do implicit A/V conversions when |
| 28 |
necessary (connectors.h) |
| 29 |
|
| 30 |
- Polymorphic data containers with high-level types like arrays and dictionaries. |
| 31 |
These are used throughout the whole gmerlin project for non A/V data like |
| 32 |
metadata or configuration data (value.h). |
| 33 |
Libgmerlin contains serializations for XML and JSON so complex data structures |
| 34 |
can be saved to or loaded from files in one function call. |
| 35 |
|
| 36 |
- Generic socket support code (gavlsocket.h) |
| 37 |
|
| 38 |
- An http-client with support for: |
| 39 |
* Non-blocking I/O for background downloading without a separate thread |
| 40 |
* Redirection |
| 41 |
* https (via gnutls) |
| 42 |
* Seeking |
| 43 |
(httpclient.h) |
| 44 |
|
| 45 |
- An experimental A/V container format for internal usage, currently unused and |
| 46 |
probably not functional (gavf/gavf.h) |
| 47 |
|
| 48 |
- A message structure used throughout the whole gmerlin project for |
| 49 |
communication, both inside the applications and between them. |
| 50 |
libgmerlin contains a serialization for JSON and a message queue for robust |
| 51 |
inter-thread communication. |
| 52 |
|
| 53 |
- Logging support (log.h) |
| 54 |
|
| 55 |
- Lots of utility functions (util.h) |