项目作者: jakeloo

项目描述 :
build gstreamer in a container
高级语言: Dockerfile
项目地址: git://github.com/jakeloo/docker-gstreamer.git
创建时间: 2020-02-10T04:43:39Z
项目社区:https://github.com/jakeloo/docker-gstreamer

开源协议:

下载


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

  1. docker build -t gstreamer:base -f Dockerfile .
  2. docker run -it gstreamer:base

To build gstreamer with CEF src plugin.

  1. docker build -t gstreamer:base -f Dockerfile .
  2. docker build -t gstreamer:cef -f Dockerfile.cef .
  3. docker run -it gstreamer:cef
  4. # cef needs x11 window :)
  5. Xvfb :0 &
  6. 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.

  1. docker build -t gstreamer:base -f Dockerfile .
  2. docker build -t gstreamer:srt -f Dockerfile.srt .
  3. docker run -it gstreamer:srt
  4. gst-launch-1.0 srtsrc ! srtsink