Skip to content

Commit 74fa427

Browse files
Add README.
1 parent 28b7c47 commit 74fa427

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
GStreamer Java examples
2+
=======================
3+
4+
This repository contains a series of example projects for using
5+
[GStreamer 1.x][gstreamer] with Java via the [GStreamer Java][gstreamer-java]
6+
libraries, including [gst1-java-core][gst1-core] and extensions.
7+
8+
The code steps in each project source file are documented. Any questions, please
9+
use the [mailing list][gstreamer-java-group].
10+
11+
## Requirements
12+
13+
All examples are self-contained Gradle projects. They should work inside your IDE
14+
or via `./gradlew run` on the command line.
15+
16+
All the examples require an [installation of GStreamer][gstreamer-download] itself.
17+
Windows users installing GStreamer should select the complete profile, rather than
18+
the typical one.
19+
20+
Most examples work with JDK 8+. The JavaFX integration example requires JDK 11+
21+
(and uses JavaFX 15).
22+
23+
## Examples
24+
25+
- **BasicPipeline** : getting started running a video test source into a GStreamer
26+
output window.
27+
- **Controllers** : configuring controllers to control element properties (ported
28+
from an upstream C example).
29+
- **FXCamera** : using a camera (or test source) inside a JavaFX application,
30+
using `gst1-java-fx`.
31+
- **SwingCamera** : using a camera (or test source) inside a Swing application,
32+
using `gst1-java-swing`.
33+
- **SwingPlayer** : a simple media player with Swing UI, including file selection,
34+
playback controls, seeking and volume meters.
35+
- **archive** : all the previously available examples, some of which have not yet
36+
been adapted into self-contained example projects.
37+
38+
Inside each example there is an identical `Utils.java` file that contains some
39+
useful code for setting up native paths for an installed version of GStreamer.
40+
This code, and all the example code (aside from some files in the archive), is
41+
free to adapt for your own usage.
42+
43+
[gstreamer]: https://gstreamer.freedesktop.org/
44+
[gstreamer-download]: https://gstreamer.freedesktop.org/download/
45+
[gstreamer-java]: https://github.com/gstreamer-java
46+
[gstreamer-java-group]: https://groups.google.com/forum/#!forum/gstreamer-java
47+
[gst1-core]: https://github.com/gstreamer-java/gst1-java-core

0 commit comments

Comments
 (0)