Thread: [Pyxine-checkins] htdocs/src .htaccess,NONE,1.1 README.html,NONE,1.1
Status: Pre-Alpha
Brought to you by:
dairiki
From: <da...@us...> - 2003-02-13 04:35:15
|
Update of /cvsroot/pyxine/htdocs/src In directory sc8-pr-cvs1:/tmp/cvs-serv976/src Added Files: .htaccess README.html Log Message: Added README. --- NEW FILE: .htaccess --- Order deny,allow Deny from all --- NEW FILE: README.html --- <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.2.8: http://docutils.sourceforge.net/" /> <title>README: Pyxine</title> <link rel="stylesheet" href="default.css" type="text/css" /> </head> <body> <div class="document" id="readme-pyxine"> <h1 class="title">README: Pyxine</h1> <!-- :Author: Geoffrey T. Dairiki :Contact: da...@us... :Date: $Date: 2003/02/13 04:35:12 $ :Web Site: http://pyxine.sourceforge.net/ --> <div class="contents topic" id="table-of-contents"> <p class="topic-title"><a name="table-of-contents">Table of Contents</a></p> <ul class="simple"> <li><a class="reference" href="#overview" id="id1" name="id1">Overview</a></li> <li><a class="reference" href="#requirements" id="id2" name="id2">Requirements</a></li> <li><a class="reference" href="#installation" id="id3" name="id3">Installation</a></li> <li><a class="reference" href="#usage" id="id4" name="id4">Usage</a></li> <li><a class="reference" href="#bugs-questions" id="id5" name="id5">Bugs & Questions</a></li> <li><a class="reference" href="#roadmap" id="id6" name="id6">Roadmap</a><ul> <li><a class="reference" href="#pyxine-libxine" id="id7" name="id7">pyxine.libxine</a></li> <li><a class="reference" href="#pyxine-pxlib-pyxine-pxlibc" id="id8" name="id8">pyxine.pxlib, pyxine.pxlibc</a></li> <li><a class="reference" href="#the-rest" id="id9" name="id9">the rest</a></li> </ul> </li> </ul> </div> <div class="section" id="overview"> <h1><a class="toc-backref" href="#id1" name="overview">Overview</a></h1> <p>Pyxine is a <a class="reference" href="http://www.python.org/">Python</a> package which provides Python bindings for <a class="reference" href="http://xinehq.de/">libxine</a>, the backend of the <a class="reference" href="http://xinehq.de/">xine media player</a>. Using Pyxine, it is possible to write simple (or complex) user-interfaces to xine. This makes it much easier for one to write custom xine UIs.</p> <p>Pyxine is very much a work-in-progress. It seems to work for me (but consider yourself lucky if you can get it to work without a hitch.) The API is subject to change without notice.</p> <p>For the latest news and updates, make sure to check the <a class="reference" href="http://pyxine.sourceforge.net/">Pyxine web page</a>.</p> </div> <div class="section" id="requirements"> <h1><a class="toc-backref" href="#id2" name="requirements">Requirements</a></h1> <p>To build and install this package, you'll need:</p> <ul class="simple"> <li>Python 2.2 or better. (2.1 might work?)</li> <li>Modern GNU gcc/g++</li> <li>xine-lib-1-beta4 (or better)</li> </ul> <p>If you want to hack the source, you'll also probably need:</p> <ul class="simple"> <li>SWIG (I'm using version 1.1)</li> <li>GNU make</li> </ul> </div> <div class="section" id="installation"> <h1><a class="toc-backref" href="#id3" name="installation">Installation</a></h1> <p>Installation (hopefully) is as simple as:</p> <pre class="literal-block"> python setup.py install </pre> <p>See also: <a class="reference" href="http://www.python.org/doc/current/inst/">Installing Python Modules</a>.</p> </div> <div class="section" id="usage"> <h1><a class="toc-backref" href="#id4" name="usage">Usage</a></h1> <p>Playing an audio file can be as simple as:</p> <pre class="doctest-block"> >>> import pyxine >>> xine = pyxine.Xine() >>> stream = xine.stream_new() >>> stream.open("music.mp3") >>> stream.play() </pre> <p>To play a movie, it will probably take a little more work in order to properly initialize the video output driver. For now, have a look at <tt class="literal"><span class="pre">tkplayer.py</span></tt> and <tt class="literal"><span class="pre">player.py</span></tt> in the <tt class="literal"><span class="pre">examples</span></tt> subdirectory.</p> <p>E.g., if you have the <cite>Tkinter</cite> package installed:</p> <pre class="literal-block"> # python tkplayer.py some_movie.avi </pre> <p>might actually play a movie for you. (Hit <tt class="literal"><span class="pre">p</span></tt> to start playback.)</p> <p><strong>FIXME</strong>: need more here</p> </div> <div class="section" id="bugs-questions"> <h1><a class="toc-backref" href="#id5" name="bugs-questions">Bugs & Questions</a></h1> <p>Feel free to ask questions and make bug reports. You may e-mail <a class="reference" href="mailto:dairiki@users.sourceforge.net">me</a> directly, or better yet, (especially if your question is one others might be interested in) post it to the <a class="reference" href="http://lists.sourceforge.net/lists/listinfo/pyxine-devel">pyxine-devel</a> mailing list, <<a class="reference" href="mailto:pyxine-devel@lists.sourceforge.net">mailto:pyxine-devel@lists.sourceforge.net</a>>.</p> </div> <div class="section" id="roadmap"> <h1><a class="toc-backref" href="#id6" name="roadmap">Roadmap</a></h1> <p>Here's the beginnings of an outline to the internals of Pyxine.</p> <div class="section" id="pyxine-libxine"> <h2><a class="toc-backref" href="#id7" name="pyxine-libxine">pyxine.libxine</a></h2> <p>This module is a raw interface to libxine which is more-or-less automatically generated by <a class="reference" href="http://www.swig.org/">SWIG</a>.</p> <p>You should probably not use this module directly, as the rest of the pyxine package provides a friendlier object-oriented wrapper over the the functions in this module.</p> </div> <div class="section" id="pyxine-pxlib-pyxine-pxlibc"> <h2><a class="toc-backref" href="#id8" name="pyxine-pxlib-pyxine-pxlibc">pyxine.pxlib, pyxine.pxlibc</a></h2> <p>This is some support code written in C++, along with its <a class="reference" href="http://www.swig.org/">SWIG</a> generated wrappers. It handles some of the dirty details associated with running a <a class="reference" href="http://xinehq.de/">xine</a> in an X11 window.</p> <p>The code in pxlib catches <tt class="literal"><span class="pre">ShmCompletion</span></tt> and <tt class="literal"><span class="pre">Exposure</span></tt> events and passes them on to <a class="reference" href="http://xinehq.de/">xine</a>. It also provides some glue for the callbacks <tt class="literal"><span class="pre">frame_output_cb</span></tt> and <tt class="literal"><span class="pre">dest_size_cb</span></tt>, as well as providing for the caching of return values from those callback.</p> <p><strong>FIXME</strong>: need more here</p> </div> <div class="section" id="the-rest"> <h2><a class="toc-backref" href="#id9" name="the-rest">the rest</a></h2> <p>The rest of the code in the package is a higher-level, object-oriented wrapper over the interface presented by <tt class="literal"><span class="pre">libxine</span></tt>.</p> <p><strong>FIXME</strong>: need more here</p> <!-- References ========== --> <!-- Local Variables: mode: indented-text indent-tabs-mode: nil sentence-end-double-space: t fill-column: 70 End: --> </div> </div> </div> </body> </html> |