<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://fotosdelpais.com/octavi/pogg/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://fotosdelpais.com/octavi/pogg/feed.php">
        <title>Pogg: Processing Theora Ogg Videos</title>
        <description></description>
        <link>http://fotosdelpais.com/octavi/pogg/</link>
        <image rdf:resource="http://fotosdelpais.com/octavi/pogg/lib/images/favicon.ico" />
       <dc:date>2010-09-07T05:35:12-07:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=about&amp;rev=1262502317&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=advancedplayer_example&amp;rev=1263821860&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=changelog&amp;rev=1264317974&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=contribute&amp;rev=1267011433&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=examples&amp;rev=1282981864&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=extractmovieframes_example&amp;rev=1263712342&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=how_pogg_is_developed&amp;rev=1263888621&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=how_to_convert_a_video_to_ogg_with_vlc&amp;rev=1265612889&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=invert_example&amp;rev=1263634781&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=playmovie_example&amp;rev=1263629808&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=pogg&amp;rev=1279469543&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=printmovietime_example&amp;rev=1263631864&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=rotate_example&amp;rev=1263716672&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=televisionset_example&amp;rev=1263716725&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=texture1_example&amp;rev=1263640692&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=texture3_example&amp;rev=1263716701&amp;do=diff"/>
                <rdf:li rdf:resource="http://fotosdelpais.com/octavi/pogg/doku.php?id=topbar&amp;rev=1263822573&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://fotosdelpais.com/octavi/pogg/lib/images/favicon.ico">
        <title>Pogg: Processing Theora Ogg Videos</title>
        <link>http://fotosdelpais.com/octavi/pogg/</link>
        <url>http://fotosdelpais.com/octavi/pogg/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=about&amp;rev=1262502317&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-03T00:05:17-07:00</dc:date>
        <title>About Pogg</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=about&amp;rev=1262502317&amp;do=diff</link>
        <description>Pogg was written by Octavi Estapé. Pogg is the wrapper that allows to access easily the ogg video and its Theora stream from Java and Processing.

The most important part of Pogg is the Ogg and Theora libraries from the cortado applet. Cortado is released under the GPL but many of its internal libraries are LGPL. Only these LGPL files were used for Pogg.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=advancedplayer_example&amp;rev=1263821860&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-18T06:37:40-07:00</dc:date>
        <title>AdvancedPlayer example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=advancedplayer_example&amp;rev=1263821860&amp;do=diff</link>
        <description>Processing sketch


/**
 * AdvancedPlayer 
 * 
 * Example for the pogg library by Octavi Estape.
 * A video player with play, stop, pause, time, and so on.
 */

import pogg.*;

TheoraMovie myMovie;

int BUTTONS_HEIGHT = 30;
int MARGIN = 3;

int BUTTON_NONE = -1;
int BUTTON_PLAY = 0;
int BUTTON_STOP = 1;
int BUTTON_SLOW = 2;
int BUTTON_SCROLL = 3;
int BUTTON_FAST = 4;
int BUTTON_CLOCK = 5;

int overButton = BUTTON_NONE;
int[] buttonX;
int[] buttonW;

double speed = 1;

int btop;
int bdown;

//pau…</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=changelog&amp;rev=1264317974&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-24T00:26:14-07:00</dc:date>
        <title>Change log</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=changelog&amp;rev=1264317974&amp;do=diff</link>
        <description>Pogg 0.1.1 (2010-01-24)

	* Prints an exception when the ogg file is not found
	* Compiled with Java version 1.5 instead of 1.6

Pogg 0.1.0 (2010-01-18)

	* First release</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=contribute&amp;rev=1267011433&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-24T04:37:13-07:00</dc:date>
        <title>Contribute to Pogg</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=contribute&amp;rev=1267011433&amp;do=diff</link>
        <description>You can contribute to Pogg in several ways:

	*  Use it
	*  Share projects:
		*  You can upload your sketches to OpenProcessing with the pogg tag.

	*  Report bugs
	*  Write code. See How Pogg is developed

Pogg users

	* Emilio Vegas has used Pogg to include video in his Augmented Reality applications. You can see the videos in his blog (in Spanish).
	* The author of Pogg uses it for his computer vision demos.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=examples&amp;rev=1282981864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-28T00:51:04-07:00</dc:date>
        <title>Examples</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=examples&amp;rev=1282981864&amp;do=diff</link>
        <description>[] PlayMovie example The simplest ogg player.

~~CL~~

[] Rotate example Shows how the video can be rotated.

~~CL~~

[] PrintMovieTime example Shows how to use the function time()

~~CL~~

[] AdvancedPlayer example Is a player with play/pause, stop, increase and decrease speed and time counter.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=extractmovieframes_example&amp;rev=1263712342&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-17T00:12:22-07:00</dc:date>
        <title>ExtractMovieFrames example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=extractmovieframes_example&amp;rev=1263712342&amp;do=diff</link>
        <description>Processing sketch


/**
 * ExtractMovieFrames 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie.
 */

import pogg.*;

TheoraMovie myMovie;
int frames = 0;

void setup() {
  frameRate(10);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.noLoop();

  size(myMovie.width, myMovie.height);
}

void draw() {
  myMovie.read();
  image(myMovie, 0, 0);

  String framesStr = &quot;0000&quot;+frames;
  framesStr = framesStr.substring(framesStr.length()-5,framesStr.length…</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=how_pogg_is_developed&amp;rev=1263888621&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-19T01:10:21-07:00</dc:date>
        <title>How Pogg is developed</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=how_pogg_is_developed&amp;rev=1263888621&amp;do=diff</link>
        <description>Pogg is a Processing.org library based on the example template that you can find in the Libraries Overview. Just as the template, we use the Eclipse IDE for Java developers and the Ant build tool. It should be easy to use other IDEs like Netbeans instead.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=how_to_convert_a_video_to_ogg_with_vlc&amp;rev=1265612889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-02-08T00:08:09-07:00</dc:date>
        <title>How to convert a video to ogg with VLC</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=how_to_convert_a_video_to_ogg_with_vlc&amp;rev=1265612889&amp;do=diff</link>
        <description>With VideoLan VLC media player you can convert almost any video to a Theora-Vorbis ogg file, that you can use with Pogg.

You can download VLC from &lt;http://www.videolan.org/vlc/&gt;

To convert a video go to Media-&gt;Convert/Save...



Click on the Add... button and select the file you want to convert. Then click on the Convert/Save button.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=invert_example&amp;rev=1263634781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-16T02:39:41-07:00</dc:date>
        <title>Invert example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=invert_example&amp;rev=1263634781&amp;do=diff</link>
        <description>Processing sketch


/**
 * Invert 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie inverting the colors of the pixels (negative image).
 */
 
import pogg.*;

TheoraMovie myMovie;

void setup() {
  frameRate(10);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  size(myMovie.width, myMovie.height);

}

void draw() {

  myMovie.read();

  loadPixels();
  for(int i=0; i&lt;myMovie.pixels.length; i++) {
    int c = myMovie.pixels[i];
    int r = …</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=playmovie_example&amp;rev=1263629808&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-16T01:16:48-07:00</dc:date>
        <title>PlayMovie example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=playmovie_example&amp;rev=1263629808&amp;do=diff</link>
        <description>Processing sketch


/**
 * PlayMovie 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie.
 */
 
import pogg.*;

TheoraMovie myMovie;

void setup() {
  frameRate(10);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  size(myMovie.width, myMovie.height);
}

void draw() {
  myMovie.read();
  image(myMovie, 0, 0);
}</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=pogg&amp;rev=1279469543&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-18T09:12:23-07:00</dc:date>
        <title>Screenshots and Examples</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=pogg&amp;rev=1279469543&amp;do=diff</link>
        <description>Pogg is a pure Java library for Theora ogg movie playback. It allows you to play ogg videos in any Java application, applet or Processing.org sketch.

Pogg is licensed under the GNU LGPL (Lesser General Public License) which means that you can use it in proprietary software as long as you release the source code of the library (not the rest of the application) as well. You are encouraged to contribute to Pogg.</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=printmovietime_example&amp;rev=1263631864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-16T01:51:04-07:00</dc:date>
        <title>PrintMovieTime example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=printmovietime_example&amp;rev=1263631864&amp;do=diff</link>
        <description>Processing sketch


/**
 * PrintMovieTime 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie and prints the current time.
 */
 
import pogg.*;

TheoraMovie myMovie;
PFont font;

void setup() {
  frameRate(10);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  size(myMovie.width, myMovie.height);

  font = createFont(&quot;Monospaced&quot;,14);
  textFont(font);
}

void draw() {
  myMovie.read();
  image(myMovie, 0, 0);

  float sec = myMovie.time();
 …</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=rotate_example&amp;rev=1263716672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-17T01:24:32-07:00</dc:date>
        <title>Rotate example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=rotate_example&amp;rev=1263716672&amp;do=diff</link>
        <description>Processing sketch


/**
 * Rotate 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie that you can rotate with the mouse.
 */
 
import pogg.*;

TheoraMovie myMovie;


void setup() {
  frameRate(10);
  size(320, 240);
  
  //TheoraMovie.printLogs(true);
  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  smooth();

}

void draw() {
  background(0);
  
  myMovie.read();

  float angle = (mouseX-(float)width/(float)2)/((float)width/(float)2)*PI;
  …</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=televisionset_example&amp;rev=1263716725&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-17T01:25:25-07:00</dc:date>
        <title>TelevisionSet example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=televisionset_example&amp;rev=1263716725&amp;do=diff</link>
        <description>Processing sketch


/**
 * TelevisionSet 
 * 
 * Example for the pogg library by Octavi Estape.
 * It plays a Theora movie in a 3D television set.
 */

import pogg.*;
//import processing.opengl.*;

TheoraMovie myMovie;

int frame = 0;

void setup() {
  frameRate(10);
  size(640, 380, P3D);
  //size(640, 380, OPENGL);
  
  background(0);
  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  noStroke();
  //smooth();
}

void draw() {

  lights();

  myMovie.read();

  background…</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=texture1_example&amp;rev=1263640692&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-16T04:18:12-07:00</dc:date>
        <title>Texture1 example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=texture1_example&amp;rev=1263640692&amp;do=diff</link>
        <description>Processing sketch


 /**
 * Texture 1. 
 * 
 * Example for the pogg library by Octavi Estape.
 * Adapted from the example in File-&gt;Examples-&gt;3D-&gt;Textures-&gt;Texture1.
 * Load an image and draw it onto a quad. The texture() function sets
 * the texture image. The vertex() function maps the image to the geometry.
 */

import pogg.*;

TheoraMovie myMovie;

void setup() {
  frameRate(10);
  size(640, 360, P3D);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  noStroke();
  
  …</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=texture3_example&amp;rev=1263716701&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-17T01:25:01-07:00</dc:date>
        <title>Texture3 example</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=texture3_example&amp;rev=1263716701&amp;do=diff</link>
        <description>Processing sketch


/**
 * Texture 3. 
 *
 * Example for the pogg library by Octavi Estape.
 * Adapted from the example in File-&gt;Examples-&gt;3D-&gt;Textures-&gt;Texture3.
 * Load an image and draw it onto a cylinder and a quad. 
 */

import pogg.*;

int tubeRes = 32;
float[] tubeX = new float[tubeRes];
float[] tubeY = new float[tubeRes];

TheoraMovie myMovie;

void setup() {
  frameRate(10);
  size(640, 360, P3D);

  myMovie = new TheoraMovie(this, &quot;BugsShort.ogg&quot;);
  myMovie.loop();

  float angle = 27…</description>
    </item>
    <item rdf:about="http://fotosdelpais.com/octavi/pogg/doku.php?id=topbar&amp;rev=1263822573&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-18T06:49:33-07:00</dc:date>
        <title>topbar</title>
        <link>http://fotosdelpais.com/octavi/pogg/doku.php?id=topbar&amp;rev=1263822573&amp;do=diff</link>
        <description>*  Home
	*  Examples
		*  PlayMovie
		*  Rotate
		*  PrintMovieTime
		*  AdvancedPlayer
		*  Invert
		*  Texture1
		*  Texture3
		*  TelevisionSet
		*  ExtractMovieFrames

	*  Contribute
	*  About</description>
    </item>
</rdf:RDF>
