diff options
author | David Blajda <blajda@hotmail.com> | 2020-03-27 19:37:34 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2020-03-27 19:37:34 +0000 |
commit | 6edfa84af9d163ab8a2af89302a06d9be77bf024 (patch) | |
tree | ad502cc49c563d82283125bacd0039665d9ec344 /forward-obs-stream.sh | |
parent | 0b7240469a5ca43d77d67681271142b5900628d6 (diff) |
Diffstat (limited to 'forward-obs-stream.sh')
-rwxr-xr-x | forward-obs-stream.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |