https://github.com/jakeloo/docker-gstreamer
build gstreamer in a container
https://github.com/jakeloo/docker-gstreamer
cef container docker gst gst-cef gstreamer
Last synced: 5 days ago
JSON representation
build gstreamer in a container
- Host: GitHub
- URL: https://github.com/jakeloo/docker-gstreamer
- Owner: jakeloo
- Created: 2020-02-10T04:43:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-04T22:27:52.000Z (almost 5 years ago)
- Last Synced: 2025-02-17T13:47:14.540Z (3 months ago)
- Topics: cef, container, docker, gst, gst-cef, gstreamer
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GStreamer in a Docker
It builds `glib`, `gobject-introspection` and `gstreamer`.
### Version
`os: ubuntu:20.04` (focal)`glib: 2.64.4`
`gobject-introspection: 1.64.1`
`gstreamer: 1.17.2`
### Run
```
docker build -t gstreamer:base -f Dockerfile .
docker run -it gstreamer:base
```To build gstreamer with CEF src plugin.
```
docker build -t gstreamer:base -f Dockerfile .
docker build -t gstreamer:cef -f Dockerfile.cef .
docker run -it gstreamer:cef# cef needs x11 window :)
Xvfb :0 &
gst-launch-1.0 cefsrc url="https://jake.sh" ! cefdemux name=d d.video ! videoconvert ! queue ! pngenc ! queue ! multifilesink location="frame%d.png"
```To build gstreamer with SRT src/sink plugin.
```
docker build -t gstreamer:base -f Dockerfile .
docker build -t gstreamer:srt -f Dockerfile.srt .
docker run -it gstreamer:srtgst-launch-1.0 srtsrc ! srtsink
```