-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
72 lines (53 loc) · 2.12 KB
/
README
File metadata and controls
72 lines (53 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
odroid-player
=============
odroid-player is a simple media player based on AGMPlayer(Amlogic GStreamer Media Player).
NOTE
----
This player supports Linux platform only, and currently tested on ODROID-C5.
However, more ODROID boards will be supported in the future. Explanations below are based on ODROID-C5 use case.
HOW TO BUILD
------------
First, install the packages required for building the source.
$ sudo apt install automake \
g++ \
libtool-bin \
make \
pkg-config \
aml-audio-hal-dev \
aml-mediahal-sdk \
gst-aml-drm-plugins-dev \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
libglib2.0-dev \
libprotobuf-dev \
libprotoc-dev \
libprotobuf-c-dev \
protobuf-compiler
Fetch the protobuf-c repository. It is required to compile the protobuf messages.
$ cd odroid-player
$ git submodule init
$ git submodule update
Build and install the protobuf-c.
$ cd protobuf-c
$ autoreconf -ivf && ./configure --prefix=/usr
$ make && make install
Build and install the odroid-player
$ cd .. # back to the project root directory
$ autoreconf -ivf && ./configure --prefix=/usr
$ make && make install
Additional package installation is required to run the program.
$ sudo apt install aml-audio-server gstreamer1.0-amlogic
HOW TO USE IT
-------------
odroid-player consists of two parts: the server which handles media playback, and the client that controls the server.
To play media server, using:
$ sudo odroid-player /path/to/media
For help, use:
$ odroid-player --help
To control the server, using:
$ odroid-player-client
For more information, visit Hardkernel Wiki: [link]
CONTRIBUTING
------------
Copyright to all contributions are retained by the original author. However, all contributions are automatically licensed under the Apache License 2.0.
Please add a 'signed-off-by' header to your commit message to indicate that you are licensing your contribution under these terms.