2025-10-07 22:17:40 +03:00
2025-10-07 22:59:16 +03:00
2025-10-07 22:59:30 +03:00

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.

Because I wasn't able to start it up without running directly from WSL2 :D But there are someone who was able to do this: https://stackoverflow.com/questions/73092750/how-to-show-gui-apps-from-docker-desktop-container-on-windows-11

Usage

  1. Start run.sh script with -b flag (build):
    • run.sh -b
    • you can just use run.sh if image is already built
    • you can specify image name with -c flag
  2. In opened bash verify that gui is opening correctly:
    • gst-launch1.0 videotestsrc ! autovideoconvert ! autovideosink

Note: if you are using wsl2 you should see wsl=true line in terminal

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)

Authorization issue

Authorization required, but no authorization protocol specified docker

$ xhost +local:
Description
No description provided
Readme 31 KiB
Languages
Shell 65.4%
Dockerfile 34.6%