Skip to content

Instantly share code, notes, and snippets.

@docteurklein
Created November 17, 2011 21:16
Show Gist options
  • Save docteurklein/1374557 to your computer and use it in GitHub Desktop.
Save docteurklein/1374557 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script src="video-js/video.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="video-js/video-js.css" type="text/css" media="screen" title="Video JS" charset="utf-8" />
</head>
<body>
<!-- Begin VideoJS -->
<div class="video-js-box">
<!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody -->
<video class="video-js" width="640" height="264" controls preload>
<source src="http://localhost:8090/stream.ogg" type='video/ogg; codecs="theora, vorbis"' />
</video>
<!-- Download links provided for devices that can't play video in the browser. -->
<p class="vjs-no-video"><strong>Download Video:</strong>
<a href="http://localhost:8090/stream.ogg">Ogg</a><br>
<!-- Support VideoJS by keeping this link. -->
<a href="http://videojs.com">HTML5 Video Player</a> by VideoJS
</p>
</div>
<!-- End VideoJS -->
<script type="text/javascript">
VideoJS.setupAllWhenReady();
</script>
</body>
</html>
vlc screen:// --screen-fps 10 --screen-follow-mouse --screen-width 640 --screen-height 480 --sout "#transcode{vcodec=vorb,venc=theora,fps=10,vb=500,width=640,heigth=480}:std{access=http,mux=ogg,dst=0.0.0.0:8090/stream.ogg}" -I ncurses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment