Add gstreamer "play" example.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 25 May 2020 22:22:17 +0000 (00:22 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Mon, 25 May 2020 22:22:17 +0000 (00:22 +0200)
stream2beamer.md

index 081cef01c8c24e3529cf5f9015112905fbc256bc..39008532ca6315cc782494ccfecf391a1ac0315b 100644 (file)
@@ -11,6 +11,16 @@ IPv6+IPv4, and no TLS:
     ./laplace -addr "[::]:8080" -tls=false
 
 # gstreamer
     ./laplace -addr "[::]:8080" -tls=false
 
 # gstreamer
+* Supports RTP
+* Supports webcam capture via v4l (video for linux)
+* Supports screen capture via xmanager/ximagesrc
+* Interesting URLs:
+  * WebRTC in one direction only: https://stackoverflow.com/questions/57430215/how-to-use-webrtcbin-create-offer-only-receive-video
+  * gstreamer to VLC via RTP: https://stackoverflow.com/questions/13154983/gstreamer-rtp-stream-to-vlc
+  * https://github.com/intel/gstreamer-media-SDK/issues/138
+  * https://developer.ridgerun.com/wiki/index.php?title=GstWebRTC_Pipelines
+  * https://developer.ridgerun.com/wiki/index.php?title=GstWebRTC_-_H264-Opus_Examples#Receive_Pipeline
+
 ## WebRTC
 gstreamer has a WebRTC implementation.
 The examples at https://github.com/centricular/gstwebrtc-demos.git work once
 ## WebRTC
 gstreamer has a WebRTC implementation.
 The examples at https://github.com/centricular/gstwebrtc-demos.git work once
@@ -19,10 +29,10 @@ The examples at https://github.com/centricular/gstwebrtc-demos.git work once
 
 has been set (see https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/811)
 
 
 has been set (see https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/811)
 
-Another maybe helpful link: https://developer.ridgerun.com/wiki/index.php?title=GstWebRTC_-_H264-Opus_Examples#Receive_Pipeline
-
-Also: https://developer.ridgerun.com/wiki/index.php?title=GstWebRTC_Pipelines
-
+## gstreamer examples
+    gst-launch-1.0 -v playbin uri=file:///home/philipp/tmp/GerisGame.mp4
+    
+    
 # VLC
 Note that you have to close VLC and open it again for new streaming as VLC leaves the connections
 open (I spent hours figuring out why http based streaming doesn't work - `netstat -4 --ip` is nice
 # VLC
 Note that you have to close VLC and open it again for new streaming as VLC leaves the connections
 open (I spent hours figuring out why http based streaming doesn't work - `netstat -4 --ip` is nice
@@ -80,7 +90,7 @@ The address at the source side has to be the external one of the local computer.
 ### Source (server)
     cvlc -vv --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,dst=0.0.0.0:8080}' GerisGame.mp4
 
 ### Source (server)
     cvlc -vv --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:standard{access=http,mux=ogg,dst=0.0.0.0:8080}' GerisGame.mp4
 
-# Player (client)
+### Player (client)
 
     vlc http://192.168.1.54:8080
 
 
     vlc http://192.168.1.54:8080