From 6edfa84af9d163ab8a2af89302a06d9be77bf024 Mon Sep 17 00:00:00 2001 From: David Blajda Date: Fri, 27 Mar 2020 19:37:34 +0000 Subject: Modify pipeline and add forward obs script --- forward-obs-stream.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 forward-obs-stream.sh (limited to 'forward-obs-stream.sh') diff --git a/forward-obs-stream.sh b/forward-obs-stream.sh new file mode 100755 index 0000000..0102694 --- /dev/null +++ b/forward-obs-stream.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +#Issues: +# Sometimes the pipeline will not begin prerolling and hangs. If this occurs +# terminate and try again. + +GST_VAAPI_ALL_DRIVERS=1 gst-launch-1.0 -v rtmpsrc location="rtmp://localhost:1935/live/video" ! flvdemux name=demux \ + demux.audio ! queue ! decodebin ! audioconvert ! fakesink \ + demux.video ! queue ! decodebin ! videoconvert ! "video/x-raw,format=I420" ! v4l2sink device=/dev/video0 -- cgit v1.2.3