Last active
July 26, 2017 05:10
-
-
Save legnaleurc/155979e76601adcf58a026035798587c to your computer and use it in GitHub Desktop.
Revisions
-
legnaleurc revised this gist
Jul 20, 2017 . 1 changed file with 1 addition and 1 deletion.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 @@ -3,4 +3,4 @@ echo 'Content-Type: video/mp4' echo ffmpeg -i 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov' -c:v copy -c:a copy -f mp4 -movflags frag_keyframe+empty_moov - -
legnaleurc created this gist
Jul 20, 2017 .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,6 @@ #! /bin/sh echo 'Content-Type: video/mp4' echo ffmpeg -i '/tmp/stream.mp4' -c:v copy -c:a copy -f mp4 -movflags frag_keyframe+empty_moov - 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,13 @@ <!DOCTYPE html> <html> <head> </head> <body> <video src="/cgi-bin/stream.cgi" controls id="v"> </video> <script> var v = document.querySelector('#v'); //v.playbackRate = 1.5; </script> </body> </html>