Files
Examples/Java/Processing/processing-3.3.6/modes/java/reference/libraries/video/index.html
2018-04-20 10:15:15 +01:00

135 lines
5.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Video \ Libraries \ Processing 2+</title>
<link rel="icon" href="./img/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./img/favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" content="Processing Foundation" />
<meta name="Publisher" content="Processing Foundation" />
<meta name="Keywords" content="Processing, Sketchbook, Programming, Coding, Code, Art, Design" />
<meta name="Description" content="Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology." />
<meta name="Copyright" content="All contents copyright the Processing Foundation, Ben Fry, Casey Reas, and the MIT Media Laboratory" />
<script src="../../javascript/MM_functions.js" type="text/javascript"></script>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body id="Libraries" onload="" >
<!-- ==================================== PAGE ============================ -->
<div id="container">
<!-- ==================================== HEADER ============================ -->
<div id="header">
<a href="http://processing.org/" title="Processing.org"><div class="processing-logo" alt="Processing cover"></div></a>
<form name="search" action="//www.google.com/search" method="get" >
<!--<label>Search processing.org:</label>-->
<p><input type="hidden" name="as_sitesearch" value="processing.org" />
<input type="text" name="as_q" value="" size="20" class="text" />
<input type="submit" value=" " /></p>
</form>
</div>
<div id="navigation">
<div class="navBar" id="mainnav">
<a href="../../index.html">Language</a><br>
<a href="../../libraries/index.html" class="active">Libraries</a><br>
<a href="../../tools/index.html">Tools</a><br>
<a href="../../environment/index.html">Environment</a>
</div>
</div>
<a id="TOP" name="TOP"></a>
<!-- ==================================== CONTENT - Headers ============================ -->
<div class="content">
<div class="librarytitle"><h3>Video</h3></div>
<div class="full-alt">
<p>
The Video library plays movie files and captures video data from a camera. Video can be captured from USB
Cameras, IEEE 1394 (Firewire) Cameras, or Video Cards with composite or S-video input devices
connected to the computer. Movies can be loaded from files located on your computer or anywhere
on the Internet. It is based on the GStreamer multimedia framework, and uses the gstreamer-java bindings
to interface GStreamer from Java to support a wide range of media formats. We recommend using H.264, but many
other formats will work as well.
</p>
<p>
The source code is available on the <a href="https://github.com/processing/processing-video">processing-video</a> GitHub repository. Please report bugs <a href="https://github.com/processing/processing-video/issues">here</a>.
</p>
</div>
<div class="colone-alt">
<p>
<h5>Movie</h5>
<p>
The Movie class loads movies and plays them back in many ways including looping, pausing, and changing speed.<br />
<br />
<a href="Movie.html">Movie</a><br />
<a href="Movie_read_.html">read()</a><br />
<a href="Movie_available_.html">available()</a><br />
<a href="Movie_play_.html">play()</a><br />
<a href="Movie_pause_.html">pause()</a><br />
<a href="Movie_stop_.html">stop()</a><br />
<a href="Movie_loop_.html">loop()</a><br />
<a href="Movie_noLoop_.html">noLoop()</a><br />
<a href="Movie_jump_.html">jump() </a><br />
<a href="Movie_duration_.html">duration()</a><br />
<a href="Movie_time_.html">time()</a><br />
<a href="Movie_speed_.html">speed()</a><br />
<a href="Movie_frameRate_.html">frameRate()</a><br />
<br />
</p>
</p>
</div>
<div class="twocol-alt">
<p>
<h5>Capture</h5>
<p>
The Capture class grabs frames of video from an attached capture device such as a camera.<br />
<br />
<a href="Capture.html">Capture</a><br />
<a href="Capture_list_.html">list()</a> <br />
<a href="Capture_read_.html">read()</a> <br />
<a href="Capture_available_.html">available()</a><br />
<a href="Capture_start_.html">start()</a><br />
<a href="Capture_stop_.html">stop()</a><br />
<br />
</p>
<h5>Video Events</h5>
<p>
<a href="captureEvent_.html">captureEvent()</a><br />
<a href="movieEvent_.html">movieEvent()</a><br />
</p>
</p>
</div>
</div>
<!-- ==================================== FOOTER ============================ -->
<div id="footer">
<div id="copyright">Processing was initiated by <a href="http://benfry.com/">Ben Fry</a> and <a href="http://reas.com">Casey Reas</a>. It is developed by a <a href="../../about/people.html">small team of volunteers</a>.</div>
<div id="colophon">
<a href="../../copyright.html">&copy; Info</a>
</div>
</div>
</div>
</body>
</html>