21 lines
1010 B
Markdown
21 lines
1010 B
Markdown
## Base info
|
|
Here you can find simple gstreamer dockerfile and necessary scripts to work with GUI.
|
|
Scripts will not work on windows directly. It is assumed that you will be using WSL for work.
|
|
|
|
Other way, would be using run.bat script as shown under this thread
|
|
https://stackoverflow.com/questions/73092750/how-to-show-gui-apps-from-docker-desktop-container-on-windows-11
|
|
|
|
## Usage
|
|
|
|
1. Run build.sh script with container name: e.g.
|
|
- `build.sh gstreamer-base`
|
|
2. Run run.sh script with same container name: e.g.
|
|
- `run.sh gstreamer-base`
|
|
- if you're using Windows you can try (to be fair, I don't know much about powershell scripting, so this is generated by AI):
|
|
- `run.ps1 -ContainerName gstreamer-base -Build`
|
|
3. In opened bash verify that gui is opening correctly:
|
|
- `gst-launch1.0 videotestsrc ! autovideoconvert ! autovideosink`
|
|
|
|
If video sink is not visible on the screen:
|
|
1. Make sure that wsl2 is active.
|
|
2. Make sure that WSLg is supported (should be built-in on windows 11) |