diff options
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 |