-
-
Save thebruce87m/0530818b19a358a9f39fb8cba5996c11 to your computer and use it in GitHub Desktop.
Revisions
-
tetkuz revised this gist
Dec 19, 2015 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ # Description [Server] GStreamer ---> HTML [Client] # Require - gstreamer-1.x - Browser which supports video tag of HTML5 ## debian @@ -16,5 +17,5 @@ sduo apt-get install gstreamer1.0 0. Please set a webcam to the your pc. 1. Open `index.html` by the browser. 2. Run `streaming-XXXXX.sh` by the terminal. 3. You will can watch video which captured by webcam !! -
tetkuz revised this gist
Dec 19, 2015 . 3 changed files with 14 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,11 @@ <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>gst-stream</title> </head> <body> <video width=320 height=240 autoplay> <source src="http://localhost:8080"> </video> </body> </html> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ #!/bin/sh # for Linux gst-launch-1.0 \ v4l2src device=/dev/video0 \ ! videoconvert ! videoscale ! video/x-raw,width=320,height=240 \ ! clockoverlay shaded-background=true font-desc="Sans 38" \ ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8080 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #!/bin/sh # for Windows gst-launch-1.0 \ ksvideosrc device-index=0 \ ! videoconvert ! videoscale ! video/x-raw,width=320,height=240 \ ! clockoverlay shaded-background=true font-desc="Sans 38" \ ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8080 -
tetkuz revised this gist
Nov 18, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,6 @@ sduo apt-get install gstreamer1.0 # Usage 0. Please set a webcam to the your pc. 1. Open `index.html` by the browser. 2. Run `streaming.sh` by the terminal. 3. You will can watch video which captured by webcam !! -
tetkuz revised this gist
Nov 18, 2015 . No changes.There are no files selected for viewing
-
tetkuz created this gist
Nov 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ # Description This is so simple, but too slow webstreaming script. # Require gstreamer-1.x ## debian ```sh sduo apt-get install gstreamer1.0 ``` # Usage 0. Please set a webcam to the your pc. 1. Open the `index.html` by the browser. 2. Run the `streaming.sh` by the terminal. 3. You will can watch video which captured by webcam !! This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>gst stream</title> </head> <body> <video src="http://localhost:8080"> </video> </body> </html> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/sh gst-launch-1.0 \ v4l2src device=/dev/video0 ! video/x-raw,width=320,height=240 \ ! videoscale ! videoconvert \ ! clockoverlay shaded-background=true font-desc="Sans 38" \ ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8080