pxcdd-commits Mailing List for Pixel Corps Digital Dailies System (Page 2)
Status: Alpha
Brought to you by:
tangentsoft
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
(91) |
May
(107) |
Jun
(138) |
Jul
(58) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <tan...@us...> - 2006-07-10 07:07:14
|
Revision: 382 Author: tangentsoft Date: 2006-07-10 00:07:10 -0700 (Mon, 10 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=382&view=rev Log Message: ----------- Added links to new licenses page Modified Paths: -------------- trunk/website/index.html trunk/website/template.html trunk/website/userdoc.html Modified: trunk/website/index.html =================================================================== --- trunk/website/index.html 2006-07-10 07:04:26 UTC (rev 381) +++ trunk/website/index.html 2006-07-10 07:07:10 UTC (rev 382) @@ -19,7 +19,7 @@ </tr> <tr height="26"> <td width="20" height="26"> </td> - <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><a href="userdoc.html"><img src="bitmaps/navbar-docs.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><a href="userdoc.html"><img src="bitmaps/navbar-docs.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="licenses.html"><img src="bitmaps/navbar-licenses.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> </tr> </table> Modified: trunk/website/template.html =================================================================== --- trunk/website/template.html 2006-07-10 07:04:26 UTC (rev 381) +++ trunk/website/template.html 2006-07-10 07:07:10 UTC (rev 382) @@ -20,7 +20,7 @@ <tr height="26"> <td width="20" height="26"> </td> <td align="right" valign="bottom" height="26"> - <img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-docs.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + <img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-docs.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="licenses.html"><img src="bitmaps/navbar-licenses.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> </tr> </table> Modified: trunk/website/userdoc.html =================================================================== --- trunk/website/userdoc.html 2006-07-10 07:04:26 UTC (rev 381) +++ trunk/website/userdoc.html 2006-07-10 07:07:10 UTC (rev 382) @@ -19,7 +19,7 @@ </tr> <tr height="26"> <td width="20" height="26"> </td> - <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="licenses.html"><img src="bitmaps/navbar-licenses.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-10 07:04:33
|
Revision: 381 Author: tangentsoft Date: 2006-07-10 00:04:26 -0700 (Mon, 10 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=381&view=rev Log Message: ----------- Initial licenses page Added Paths: ----------- trunk/website/licenses.html Added: trunk/website/licenses.html =================================================================== --- trunk/website/licenses.html (rev 0) +++ trunk/website/licenses.html 2006-07-10 07:04:26 UTC (rev 381) @@ -0,0 +1,91 @@ +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title>Pixel Corps Digital Dailies System</title> + <link href="root.css" rel="Stylesheet" type="text/css"> +</head> + +<body> + <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#9aa1a7"> + <tr height="100%"> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-left.png" alt="" height="98" width="11" border="0"></td> + <td rowspan="3" width="1%"><a href="http://pixelcorps.com/"><img src="bitmaps/pxc-logo.png" alt="" height="79" width="73" border="0"></a></td> + <td width="20"> </td> + <td rowspan="2" valign="bottom"><a href="."><img src="bitmaps/pxcdd-title.png" alt="" border="0" vspace="8"></a></td> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-right.png" alt="" height="98" width="11" border="0"></td> + </tr> + <tr> + <td width="20"> </td> + </tr> + <tr height="26"> + <td width="20" height="26"> </td> + <td align="right" valign="bottom" height="26"> + <img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-docs.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + </tr> + </table> + + <p></p> + + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr height="21"> + <td width="25" height="21"><img src="bitmaps/body-top-left.png" alt="" height="21" width="25" border="0"></td> + <td height="21" background="bitmaps/body-top-middle.png"></td> + <td width="25" height="21"><img src="bitmaps/body-top-right.png" alt="" height="21" width="25" border="0"></td> + </tr> + <tr> + <td width="25" background="bitmaps/body-side-left.png"></td> + <td bgcolor="white"> + <h1>Main License</h1> + <p>Generally speaking, code written by the Code Warriors team (RLC) for the Pixel Corps is written under the X11 license (a.k.a. the MIT license):</p> + <blockquote> + <p>Copyright © 2006 Pixel Corps</p> + <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p> + <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p> + <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> + </blockquote> + <h1>Other Licenses</h1> + <p>The PXCDD system's programs rely on many other programs, often with different licenses. Here is our best current accounting of those other programs and their licenses:</p> + <h3>pxcddup</h3> + <blockquote> + <p>wxPython + wxWindows: <a href="http://wxwidgets.org/about/newlicen.htm">wxWindows License</a><br> + Paramiko: <a href="http://www.gnu.org/licenses/lgpl.html">Lesser GNU General Public License</a> (LGPL)<br> + pyCrypto: <a href="http://www.opensource.org/licenses/pythonpl.php">CNRI Python License</a><br> + </blockquote> + <h3>c4drender</h3> + <blockquote> + <p>path.py: <a href="http://www.jorendorff.com/articles/python/path/">freeware</a><br> + </p> + </blockquote> + <h3>pxcddrss</h3> + <blockquote> + <p>path.py: <a href="http://www.jorendorff.com/articles/python/path/">freeware</a><br> + + datetime.py: <a href="http://www.zope.org/Resources/License/ZPL-2.0">Zope Public License 2.0</a><br> + PyRSS2Gen.py: <a href="http://www.opensource.org/licenses/bsd-license.php">BSD License</a> (sans advertising license)<br> + </p> + </blockquote> + <h3>slategen</h3> + <blockquote> + <p>expat: <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a><br> + libpng: <a href="http://www.libpng.org/pub/png/src/libpng-LICENSE.txt">libpng License</a><br> + libtiff: <a href="http://www.libtiff.org/misc.html">freeware</a><br> + SDL: <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a><br> + SDL_gfx: <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a><br> + SDL_image: <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a><br> + SDL_ttf: <a href="http://www.gnu.org/licenses/lgpl.html">LGPL</a><br> + </p> + </blockquote> + <hr noshade size="1" width="95%"> + <p align="center"><font size="-1">This project is hosted by</font> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=165148&type=1" width="88" height="31" align="absmiddle" border="0" alt="SourceForge.net Logo" /></a></p> + </td> + <td width="25" background="bitmaps/body-side-right.png"></td> + </tr> + <tr height="21"> + <td width="25" height="24"><img src="bitmaps/body-bottom-left.png" alt="" height="24" width="25" border="0"></td> + <td height="24" background="bitmaps/body-bottom-middle.png"></td> + <td width="25" height="24"><img src="bitmaps/body-bottom-right.png" alt="" height="24" width="25" border="0"></td> + </tr> + </table> + <p></p> + </body> +</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-10 06:28:32
|
Revision: 380 Author: tangentsoft Date: 2006-07-09 23:28:28 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=380&view=rev Log Message: ----------- - Added News and Test Downloads sections to main website page - Added anchor to system requirements section of user docs, needed by new home page. Modified Paths: -------------- trunk/website/index.html trunk/website/userdoc.html Modified: trunk/website/index.html =================================================================== --- trunk/website/index.html 2006-07-10 05:42:04 UTC (rev 379) +++ trunk/website/index.html 2006-07-10 06:28:28 UTC (rev 380) @@ -34,6 +34,15 @@ <tr> <td width="25" background="bitmaps/body-side-left.png"></td> <td bgcolor="white"> + <h2>News</h2> + <p><strong>2006.07.09 — </strong>First release candidates for v1.0 uploaded.</p> + <h2>Test Downloads</h2> + <p>Here are the current prerelease versions of the PXCDD client installers:</p> + <blockquote> + <p><strong>Windows:</strong> version 0.90, <a href="test/pxcddcli-win-0.90.exe">pxcddcli-win-0.90.exe</a>, 4.9 MB, updated 2006.07.06</p> + <p><strong>OS X:</strong> version 1.00, <a href="test/pxcddcli-osx-1.00.zip">pxcddcli-osx-1.00.zip</a>, 3.9 MB, updated 2006.07.09</p> + </blockquote> + <p>See the user docs for the current <a href="userdoc.html#req">system requirements</a>.</p> <h1>What Is PXCDD?</h1> <p>The Pixel Corps Digital Dailies project is a system of programs for automating the uploading and downloading of daily production of digital media files within a visual effects group. It was initially designed for the <a href="http://pixelcorps.com/" target="http://pixelcorps.com/">Pixel Corps</a> production teams, but is intended to be broadly useful.</p> <p>The PXCDD system is composed of several cooperating programs:</p> Modified: trunk/website/userdoc.html =================================================================== --- trunk/website/userdoc.html 2006-07-10 05:42:04 UTC (rev 379) +++ trunk/website/userdoc.html 2006-07-10 06:28:28 UTC (rev 380) @@ -40,6 +40,8 @@ </p> <h2>Installing PXCDD on Mac OS X</h2> <p>To install the PXCDD client-side utilities, <a href="test/pxcddcli-osx-0.90.zip">download</a> the ZIP file, unpack it, and run the package file you find within. You will have the option of installing the C4D plugins, or just the PXCDDUP command-line tool. The installer currently assumes that you have C4D installed in the default location, but you can choose an alternate install location on the Select a Destination page of the installer. If you have multiple installations of C4D and want to install the plugins for each one, just re-run the pacakge file for each one, selecting each destination directory in turn.</p> + + <a name="req" /> <h2>System Requirements</h2> <ul> <li type="disc">All client-side utilities within the PXCDD project are designed for use on current releases of Mac OS X and Windows. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-10 05:42:08
|
Revision: 379 Author: tangentsoft Date: 2006-07-09 22:42:04 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=379&view=rev Log Message: ----------- OS X client installers v1.0 Modified Paths: -------------- trunk/client/osx/c4d.pmproj trunk/client/osx/pxcddup.pmproj Modified: trunk/client/osx/c4d.pmproj =================================================================== (Binary files differ) Modified: trunk/client/osx/pxcddup.pmproj =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-10 05:34:29
|
Revision: 378 Author: tangentsoft Date: 2006-07-09 22:34:15 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=378&view=rev Log Message: ----------- Clients v1.00 Modified Paths: -------------- trunk/client/osx/Info.plist Modified: trunk/client/osx/Info.plist =================================================================== --- trunk/client/osx/Info.plist 2006-07-10 05:29:40 UTC (rev 377) +++ trunk/client/osx/Info.plist 2006-07-10 05:34:15 UTC (rev 378) @@ -11,7 +11,7 @@ <key>CFBundleSignature</key> <string>PXC1</string> <key>CFBundleVersion</key> - <string>0.4</string> + <string>1.00</string> <key>NSHumanReadableCopyright</key> <string>Copyright © 2006, Pixel Corps, All Rights Reserved.</string> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-10 05:30:08
|
Revision: 377 Author: tangentsoft Date: 2006-07-09 22:29:40 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=377&view=rev Log Message: ----------- Clients v1.00 Modified Paths: -------------- trunk/client/version.txt Modified: trunk/client/version.txt =================================================================== --- trunk/client/version.txt 2006-07-09 08:58:36 UTC (rev 376) +++ trunk/client/version.txt 2006-07-10 05:29:40 UTC (rev 377) @@ -1 +1 @@ -0.90 +1.00 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-09 08:59:01
|
Revision: 376 Author: tangentsoft Date: 2006-07-09 01:58:36 -0700 (Sun, 09 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=376&view=rev Log Message: ----------- Using new implementation of Paramiko hostkeys, with better save algorithm. Modified Paths: -------------- trunk/client/pxcddup/sftp.py Removed Paths: ------------- trunk/client/pxcddup/hostkeys.py Deleted: trunk/client/pxcddup/hostkeys.py =================================================================== --- trunk/client/pxcddup/hostkeys.py 2006-07-09 00:54:54 UTC (rev 375) +++ trunk/client/pxcddup/hostkeys.py 2006-07-09 08:58:36 UTC (rev 376) @@ -1,37 +0,0 @@ -######################################################################## -# hostkeys.py - Subclass of paramiko.HostKeys, to add file saving. -# -# Created 2006.06.19 by Warren Young -# -# Copyright (c) 2006 by Pixel Corps. This program may be used under -# the terms of the X11 license, a copy of which should have accompanied -# this program, in the LICENSE file. -######################################################################## - -import paramiko - - -class PXCHostKeys(paramiko.HostKeys): - def __init__(self, filename = None): - self.filename = filename - paramiko.HostKeys.__init__(self, filename) - - - def save(self, filename = None): - savedKeys = {} - - if not filename: - filename = self.filename; - - for hostname, keys in self._keys.iteritems(): - for keytype, key in keys.iteritems(): - if key in savedKeys: - savedKeys[key] = savedKeys[key] + "," + hostname - else: - savedKeys[key] = hostname - - f = open(filename, 'w') - for key, hostname in savedKeys.iteritems(): - f.write('%s %s %s\n' % (hostname, keytype, key.get_base64())) - f.close() - Modified: trunk/client/pxcddup/sftp.py =================================================================== --- trunk/client/pxcddup/sftp.py 2006-07-09 00:54:54 UTC (rev 375) +++ trunk/client/pxcddup/sftp.py 2006-07-09 08:58:36 UTC (rev 376) @@ -9,9 +9,10 @@ # this program, in the LICENSE file. ######################################################################## -import hostkeys, gui +import gui import paramiko +import paramiko.hostkeys import os, posixpath, thread @@ -224,16 +225,16 @@ def GetHostKeys(self): try: - self.hostKeys = hostkeys.PXCHostKeys(\ + self.hostKeys = paramiko.hostkeys.HostKeys(\ os.path.expanduser('~/.ssh/known_hosts')) self.sshDir = os.path.expanduser('~/.ssh') except IOError: try: - self.hostKeys = hostkeys.PXCHostKeys(\ + self.hostKeys = paramiko.hostkeys.HostKeys(\ os.path.expanduser('~/ssh/known_hosts')) self.sshDir = os.path.expanduser('~/ssh') except IOError: - self.hostKeys = hostkeys.PXCHostKeys() + self.hostKeys = paramiko.hostkeys.HostKeys() if os.name == 'mac' or os.name == 'posix': self.sshDir = os.path.expanduser('~/.ssh') else: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-09 00:55:06
|
Revision: 375 Author: tangentsoft Date: 2006-07-08 17:54:54 -0700 (Sat, 08 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=375&view=rev Log Message: ----------- Tab fix Modified Paths: -------------- trunk/client/pxcddup/pxcddup.py Modified: trunk/client/pxcddup/pxcddup.py =================================================================== --- trunk/client/pxcddup/pxcddup.py 2006-07-07 07:40:54 UTC (rev 374) +++ trunk/client/pxcddup/pxcddup.py 2006-07-09 00:54:54 UTC (rev 375) @@ -45,8 +45,8 @@ -N notes You must give either -r, or -P, and there must be at least one file - argument. If you give -h, you must also give -u. You can leave out - -h and -r if you give -P, but -u is still required. + argument. If you give -h, you must also give -u. You can leave out + -h and -r if you give -P, but -u is still required. """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 07:40:57
|
Revision: 374 Author: tangentsoft Date: 2006-07-07 00:40:54 -0700 (Fri, 07 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=374&view=rev Log Message: ----------- Created script to optimize PNG files, and remove troublesome color related options that browsers tend to misinterpret, leading to blending problems. Added Paths: ----------- trunk/website/pngfix Added: trunk/website/pngfix =================================================================== --- trunk/website/pngfix (rev 0) +++ trunk/website/pngfix 2006-07-07 07:40:54 UTC (rev 374) @@ -0,0 +1,5 @@ +#!/bin/sh +mkdir bitmaps/orig +cd bitmaps/orig +cp ../*.png . +pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB -d .. *.png Property changes on: trunk/website/pngfix ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 07:37:47
|
Revision: 373 Author: tangentsoft Date: 2006-07-07 00:37:37 -0700 (Fri, 07 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=373&view=rev Log Message: ----------- Optimized all PNG files on web site Modified Paths: -------------- trunk/website/bitmaps/body-bottom-left.png trunk/website/bitmaps/body-bottom-middle.png trunk/website/bitmaps/body-bottom-right.png trunk/website/bitmaps/body-side-left.png trunk/website/bitmaps/body-side-right.png trunk/website/bitmaps/body-top-left.png trunk/website/bitmaps/body-top-middle.png trunk/website/bitmaps/body-top-right.png trunk/website/bitmaps/data-flow.png trunk/website/bitmaps/navbar-docs.png trunk/website/bitmaps/navbar-hacking.png trunk/website/bitmaps/navbar-left-cap.png trunk/website/bitmaps/navbar-licenses.png trunk/website/bitmaps/navbar-separator.png trunk/website/bitmaps/navbar-sponsor.png trunk/website/bitmaps/pxc-logo.png trunk/website/bitmaps/pxcdd-title.png trunk/website/bitmaps/top-box-left.png trunk/website/bitmaps/top-box-right.png Modified: trunk/website/bitmaps/body-bottom-left.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-bottom-middle.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-bottom-right.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-side-left.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-side-right.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-top-left.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-top-middle.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/body-top-right.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/data-flow.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-docs.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-hacking.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-left-cap.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-licenses.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-separator.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/navbar-sponsor.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/pxc-logo.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/pxcdd-title.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/top-box-left.png =================================================================== (Binary files differ) Modified: trunk/website/bitmaps/top-box-right.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 07:08:15
|
Revision: 372 Author: tangentsoft Date: 2006-07-07 00:08:13 -0700 (Fri, 07 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=372&view=rev Log Message: ----------- Moved out of web site directory -- it annoys GoLive Removed Paths: ------------- trunk/website/data-flow.graffle/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 07:07:48
|
Revision: 371 Author: tangentsoft Date: 2006-07-07 00:07:38 -0700 (Fri, 07 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=371&view=rev Log Message: ----------- First version of web site containing everything we had on the Atheneum Modified Paths: -------------- trunk/website/index.html Added Paths: ----------- trunk/website/bitmaps/data-flow.png trunk/website/bitmaps/pxc-logo.png trunk/website/bitmaps/pxcdd-layout-flattened.png trunk/website/bitmaps/pxcdd-title.png trunk/website/root.css trunk/website/template.html trunk/website/userdoc.html Property Changed: ---------------- trunk/website/ Property changes on: trunk/website ___________________________________________________________________ Name: svn:ignore + test Added: trunk/website/bitmaps/data-flow.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/data-flow.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/pxc-logo.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/pxc-logo.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/pxcdd-layout-flattened.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/pxcdd-layout-flattened.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/pxcdd-title.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/pxcdd-title.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/website/index.html =================================================================== --- trunk/website/index.html 2006-07-07 04:15:23 UTC (rev 370) +++ trunk/website/index.html 2006-07-07 07:07:38 UTC (rev 371) @@ -1,11 +1,72 @@ <html> <head> - <meta http-equiv="refresh" - content="0;URL=http://www.pixelcorps.com/atheneum/index.php?title=PXCDD_Documentation"> - <title>PXCDD Documentation Redirect</title> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title>Pixel Corps Digital Dailies System</title> + <link href="root.css" rel="Stylesheet" type="text/css"> </head> <body> - <p>Redirecting to docs on Atheneum...please wait.</p> -</body> + <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#9aa1a7"> + <tr height="100%"> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-left.png" alt="" height="98" width="11" border="0"></td> + <td rowspan="3" width="1%"><a href="http://pixelcorps.com/"><img src="bitmaps/pxc-logo.png" alt="" height="79" width="73" border="0"></a></td> + <td width="20"> </td> + <td rowspan="2" valign="bottom"><img src="bitmaps/pxcdd-title.png" alt="" border="0" vspace="8"></td> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-right.png" alt="" height="98" width="11" border="0"></td> + </tr> + <tr> + <td width="20"> </td> + </tr> + <tr height="26"> + <td width="20" height="26"> </td> + <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><a href="userdoc.html"><img src="bitmaps/navbar-docs.png" alt="" border="0"></a><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + </tr> + </table> + + <p></p> + + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr height="21"> + <td width="25" height="21"><img src="bitmaps/body-top-left.png" alt="" height="21" width="25" border="0"></td> + <td height="21" background="bitmaps/body-top-middle.png"></td> + <td width="25" height="21"><img src="bitmaps/body-top-right.png" alt="" height="21" width="25" border="0"></td> + </tr> + <tr> + <td width="25" background="bitmaps/body-side-left.png"></td> + <td bgcolor="white"> + <h1>What Is PXCDD?</h1> + <p>The Pixel Corps Digital Dailies project is a system of programs for automating the uploading and downloading of daily production of digital media files within a visual effects group. It was initially designed for the <a href="http://pixelcorps.com/" target="http://pixelcorps.com/">Pixel Corps</a> production teams, but is intended to be broadly useful.</p> + <p>The PXCDD system is composed of several cooperating programs:</p> + <h3>CINEMA 4D Plugins</h3> + <blockquote> + <p><strong>PXCDD Upload</strong>: collects the scene file, any textures and project info for slate, and uploads everything to your team's directory on the PXC server (using pxcddup).</p> + <p><strong>PXCDD New Texture Version</strong>: increments the filename of a selected texture file and relinks the new texture within all materials, optionally opens an editing application to modify texture.</p> + </blockquote> + <h3>Command-line client-side tools</h3> + <blockquote> + <p><strong>pxcddup</strong>: uploads files to a specified server utilizing the sftp protocol</p> + </blockquote> + <h3>Server-side tools</h3> + <blockquote> + <p><strong>pxcddrss</strong>: indexes a specified hierarchy and generates an RSS file</p> + <p><strong>c4drender</strong>: distributes C4D files in a specified hierarchy to a render farm, renders them on the farm, and returns the rendered movies to a file or web server</p> + <p><strong>slategen</strong>: creates a slate TIFF file in the PXC dailies format from info collected by the PXCDD Upload plugin</p> + <p><strong>pxcqtassy</strong>: assembles TIFF files created by slategen and c4drender into an H.264 QuickTime movie</p> + </blockquote> + <p>Here is a graphical overview of how these programs cooperate to form the PXC Digital Dailies system:</p> + <p align="center"><img src="bitmaps/data-flow.png" alt="" height="461" width="546" border="0"></p> + <br /> + <hr noshade size="1" width="95%"> + <p align="center"><font size="-1">This project is hosted by</font> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=165148&type=1" width="88" height="31" align="absmiddle" border="0" alt="SourceForge.net Logo" /></a></p> + </td> + <td width="25" background="bitmaps/body-side-right.png"></td> + </tr> + <tr height="21"> + <td width="25" height="24"><img src="bitmaps/body-bottom-left.png" alt="" height="24" width="25" border="0"></td> + <td height="24" background="bitmaps/body-bottom-middle.png"></td> + <td width="25" height="24"><img src="bitmaps/body-bottom-right.png" alt="" height="24" width="25" border="0"></td> + </tr> + </table> + <p></p> + </body> </html> Added: trunk/website/root.css =================================================================== --- trunk/website/root.css (rev 0) +++ trunk/website/root.css 2006-07-07 07:07:38 UTC (rev 371) @@ -0,0 +1 @@ +body { background-color: #464646; } p { color: #404040; font-size: small; font-family: "Trebuchet MS", Arial, Helvetica, SunSans-Regular, sans-serif; line-height: 120%; margin-right: 10px; margin-left: 30px; } td { color: #404040; font-size: small; font-family: "Trebuchet MS", Arial, Helvetica, SunSans-Regular, sans-serif; line-height: 120%; } a:link { color: #000; } a:visited { color: #404040; } a:hover { color: #b7b7b7; } a:active { color: gray; } h1 { color: #404040; font-size: large; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; margin-top: 20px; margin-left: 10px; } h2 { color: #404040; font-size: medium; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; margin-left: 20px; } h3 { color: #404040; font-size: small; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; margin-left: 30px; } li { line-height: 120%; margin-bottom: 5px; margin-left: 30px; } \ No newline at end of file Added: trunk/website/template.html =================================================================== --- trunk/website/template.html (rev 0) +++ trunk/website/template.html 2006-07-07 07:07:38 UTC (rev 371) @@ -0,0 +1,54 @@ +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title>Pixel Corps Digital Dailies System</title> + <link href="root.css" rel="Stylesheet" type="text/css"> +</head> + +<body> + <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#9aa1a7"> + <tr height="100%"> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-left.png" alt="" height="98" width="11" border="0"></td> + <td rowspan="3" width="1%"><a href="http://pixelcorps.com/"><img src="bitmaps/pxc-logo.png" alt="" height="79" width="73" border="0"></a></td> + <td width="20"> </td> + <td rowspan="2" valign="bottom"><a href="."><img src="bitmaps/pxcdd-title.png" alt="" border="0" vspace="8"></a></td> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-right.png" alt="" height="98" width="11" border="0"></td> + </tr> + <tr> + <td width="20"> </td> + </tr> + <tr height="26"> + <td width="20" height="26"> </td> + <td align="right" valign="bottom" height="26"> + <img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-docs.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + </tr> + </table> + + <p></p> + + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr height="21"> + <td width="25" height="21"><img src="bitmaps/body-top-left.png" alt="" height="21" width="25" border="0"></td> + <td height="21" background="bitmaps/body-top-middle.png"></td> + <td width="25" height="21"><img src="bitmaps/body-top-right.png" alt="" height="21" width="25" border="0"></td> + </tr> + <tr> + <td width="25" background="bitmaps/body-side-left.png"></td> + <td bgcolor="white"> + <h1>First Header</h1> + <p>Some paragraph text...</p> + <br /> + <hr noshade size="1" width="95%"> + <p align="center"><font size="-1">This project is hosted by</font> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=165148&type=1" width="88" height="31" align="absmiddle" border="0" alt="SourceForge.net Logo" /></a></p> + </td> + <td width="25" background="bitmaps/body-side-right.png"></td> + </tr> + <tr height="21"> + <td width="25" height="24"><img src="bitmaps/body-bottom-left.png" alt="" height="24" width="25" border="0"></td> + <td height="24" background="bitmaps/body-bottom-middle.png"></td> + <td width="25" height="24"><img src="bitmaps/body-bottom-right.png" alt="" height="24" width="25" border="0"></td> + </tr> + </table> + <p></p> + </body> +</html> Added: trunk/website/userdoc.html =================================================================== --- trunk/website/userdoc.html (rev 0) +++ trunk/website/userdoc.html 2006-07-07 07:07:38 UTC (rev 371) @@ -0,0 +1,370 @@ +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=utf-8"> + <title>Pixel Corps Digital Dailies System</title> + <link href="root.css" rel="Stylesheet" type="text/css"> +</head> + +<body> + <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#9aa1a7"> + <tr height="100%"> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-left.png" alt="" height="98" width="11" border="0"></td> + <td rowspan="3" width="1%"><a href="http://pixelcorps.com/"><img src="bitmaps/pxc-logo.png" alt="" height="79" width="73" border="0"></a></td> + <td width="20"> </td> + <td rowspan="2" valign="bottom"><a href="."><img src="bitmaps/pxcdd-title.png" alt="" border="0" vspace="8"></a></td> + <td rowspan="3" width="1%"><img src="bitmaps/top-box-right.png" alt="" height="98" width="11" border="0"></td> + </tr> + <tr> + <td width="20"> </td> + </tr> + <tr height="26"> + <td width="20" height="26"> </td> + <td align="right" valign="bottom" height="26"><img src="bitmaps/navbar-left-cap.png" alt="" border="0"><img src="bitmaps/navbar-hacking.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><img src="bitmaps/navbar-licenses.png" alt="" border="0"><img src="bitmaps/navbar-separator.png" alt="" border="0"><a href="http://pixelcorps.com/"><img src="bitmaps/navbar-sponsor.png" alt="" border="0"></a></td> + </tr> + </table> + + <p></p> + + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr height="21"> + <td width="25" height="21"><img src="bitmaps/body-top-left.png" alt="" height="21" width="25" border="0"></td> + <td height="21" background="bitmaps/body-top-middle.png"></td> + <td width="25" height="21"><img src="bitmaps/body-top-right.png" alt="" height="21" width="25" border="0"></td> + </tr> + <tr> + <td width="25" background="bitmaps/body-side-left.png"></td> + <td bgcolor="white"> + <h1>Getting Started</h1> + <h2>Installing PXCDD on Windows</h2> + <p>To install the PXCDD client-side utilities, just <a href="test/pxcddcli-win-0.90.exe">download</a> and run the installer. You will have the option of installing the C4D plugins, or just the PXCDDUP command-line tool. When installing the C4D plugin, the installer will search for installations of CINEMA 4D within the default C:\Program Files\MAXON path. After each installation is found, choose Yes to continue searching, or No if you wish to install at the path specified.<br> + </p> + <h2>Installing PXCDD on Mac OS X</h2> + <p>To install the PXCDD client-side utilities, <a href="test/pxcddcli-osx-0.90.zip">download</a> the ZIP file, unpack it, and run the package file you find within. You will have the option of installing the C4D plugins, or just the PXCDDUP command-line tool. The installer currently assumes that you have C4D installed in the default location, but you can choose an alternate install location on the Select a Destination page of the installer. If you have multiple installations of C4D and want to install the plugins for each one, just re-run the pacakge file for each one, selecting each destination directory in turn.</p> + <h2>System Requirements</h2> + <ul> + <li type="disc">All client-side utilities within the PXCDD project are designed for use on current releases of Mac OS X and Windows. + <li type="disc">The server-side pieces generally run on any *ix type system (Linux, OS X, <a href="http://cygwin.com/">Cygwin</a>, etc.) but some are OS X specific. + <li type="disc">C4D plugins require <a href="http://maxon.net/">CINEMA 4D</a> R8.5 or greater.<li type="disc">Several of the programs are <a href="http://www.python.org">Python</a> scripts, and require <a href="http://www.python.org/download/releases/2.3/">version 2.3</a> or higher. Required Python modules are included with the programs. + </ul> + <h1>CINEMA 4D Plugins</h1> + <h2>PXCDD Upload</h2> + <p>This C4D plugin collects the scene file, any textures and project info for slate, and uploads everything to your team's directory on the PXC server (using pxcddup).</p> + <p>To upload your project, just choose PXCDD Upload Model from the Plugins > PXCDD menu. In the dialog, complete the Upload Info and Slate Info fields with information about your project. The fields are designed to match PXC specifications for filenames and slates. Please refer to the official spec pages within the Atheneum for further information on each of these fields. Slate information is optional - if it's supplied, the file will be automatically rendered and a slate and timecode will be generated by the server.</p> + <p>Additional fields:</p> + <ul> + <li type="disc">Username - enter your PXC username for access to the teams.pixelcorps.com server + <li type="disc">Upload directory - specify a subdirectory within your team's folder for your project files (the team initials are used to determine your team's folder on the PXC server) + <li type="disc">No Textures (model only) - choose this option to upload only the c4d file without associated textures + </ul> + <p>After completing the fields, click OK. The PXCDD Upload window will appear, and you may be prompted for your PXC password. Once you enter your password correctly, you'll see a progress bar as each file uploads. Note that the C4D plugin will only upload files have changed. (It compares the modification date and time between your local copy and any files with the same name on the server.)</p> + <p><strong>NOTE</strong>: You should always increment your project file and texture file numbers when modifying them.</p> + <h2>PXCDD New Texture Version</h2> + <p>This C4D plugin increments the filename of a selected texture file and relinks the new texture within all materials, optionally opens an editing application to modify texture.</p> + <p>To create a new texture version, choose PXCDD New Texture Version from the Plugins > PXCDD menu. In the dialog, choose the texture you'd like to modify. If you've selected a material before running the plugin, the first texture found within the material will be selected by default.</p> + <p>If you'd like to edit the new texture immediately, check the Edit New Texture option, and specify your image editing application (i.e. Photoshop). When you click OK, the filename will be incremented and all instances of the texture will be replaced within your materials. If you chose to edit the texture immediately, the new texture will be opened in your image editing application.</p> + <p>Note that the PXC specification allows two methods for versioning files: by date (YYMMDD) or version number (v001). If the source file matches PXC naming specifications and includes a date, the version will be replaced with the current date. If the plugin sees a 'v' followed by a number, that number will be incremented.</p> + <h1>Client-Side Command Line Programs</h1> + <p>The command line programs are used internally by the C4D plugins. They are documented here mainly for completeness. Most of the time, you can ignore the fact that they exist.</p> + <h2>pxcddup</h2> + <p>This tool uploads files to a specified SFTP server. It has special knowledge of the PXC file server system, but it can be used with any SFTP server if you avoid use of the PXC-specific options. A special feature is that it will accept command line options in a .ddo file, which is necessary to allow it to work with the C4D plugins, due to a limitation of COFFEE.</p> + <h3>General usage</h3> + <blockquote> + <p><code>pxcddup.py [-h hostname] [-r remote-dir] [-u username] [-P pxc-team] [-A author] [-D desc] [-M modifier] [-T type] files...</code></p> + </blockquote> + <h3>Arguments</h3> + <table width="100%" border="0" cellspacing="5" cellpadding="0"> + <tr> + <td width="40"></td> + <td colspan="3">General arguments:</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-h</strong></td> + <td> host name of server to SFTP file to (required, unless -P is specified)</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-m</strong></td> + <td> + upload new / modified files only </td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-p</strong></td> + <td>port number on SFTP server to use (default is 22)</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-r</strong></td> + <td>directory on SFTP server to place file into (required, unless -P is specified)</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-s</strong></td> + <td>generate slate XML file</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-u</strong></td> + <td>user name on SFTP server (required)</td> + </tr> + <tr> + <td width="40"></td> + <td colspan="3" valign="bottom" height="24">Pixel Corps specific arguments:</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-A</strong></td> + <td>PXC author initials (3 characters, lowercase)</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-D</strong></td> + <td>PXC file description</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-M</strong></td> + <td>PXC project modifier (3 characters, lowercase) </td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-T</strong></td> + <td>PXC file type code </td> + </tr> + <tr height="24"> + <td width="40" height="24"></td> + <td colspan="3" valign="bottom" height="24">Slate-related arguments:</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-J</strong></td> + <td>project name</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-S</strong></td> + <td>scene name</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-E</strong></td> + <td>element/shot name</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-U</strong></td> + <td>artist name</td> + </tr> + <tr> + <td width="40"></td> + <td width="20"></td> + <td nowrap width="1%"><strong>-N</strong></td> + <td>notes</td> + </tr> + </table> + <p> You must give either -r, or -P, and there must be at least one file argument. If you give -h, you must also give -u. You can leave out -h and -r if you give -P, but -u is still required.</p> + <p>pxcddup understands the key files used by OpenSSH. There are two aspects to this:</p> + <ul> + <li type="disc">First, when it connects to an SFTP server, it checks the host key cache (the <tt>known_hosts</tt> file) to see if it has connected to this server before. If there is no entry for the server in the known_hosts file, pxcddup pops up a dialog asking the user if they want to add the host key to the cache. If they do, the file transfer proceeds. If pxcddup finds a cached key for the host and the host key matches that returned by the server, it just quietly continues onward. Finally, if there is a record for the host and the server returns a different key, either the server has changed its host key for some reason, or someone is impersonating the server. The program should warn you in this case, but currently it only asks if you want to save the new key. + <li type="disc">Second, pxcddup understands user keys (<tt>id_rsa</tt> and <tt>id_rsa.pub</tt>). If it can find a user key, it uses that instead of a password to try to log into the SFTP server. The PXC teams server currently doesn't allow this for general users, but we are hoping to get this feature turned on, since it saves having to enter a password every time you upload dailies. Note that this feature doesn't work with password-protected key files. + </ul> + <p>pxcddup looks for host and user keys in the <tt>.ssh</tt> or <tt>ssh</tt> subdirectory under your home directory. The former is generally the one to use on OS X, and the program uses the latter automatically on Windows, where "dot files" aren't commonplace as on *ix systems like OS X.</p> + <p>pxcddup does have a GUI; it's pxcddup displaying the progress dialog and such when you tell the upload plugin to send the files to the file server. We call it a command line program because you have to start it using command line options to get any useful functionality. We have plans to make the program usable as you would any other GUI program, to allow you to upload files other than C4D scenes and textures, but that's well into the future.</p> + <h1>Server-Side Programs</h1> + <h2>pxcddrss</h2> + <p>This program walks through the specified hierarchy and indexes all files. Optionally, you can specify filenames to include or exclude by mask. This script is intended to run as a periodic background process on the server. It generates an RSS file, which allows team members to use a feed reader to download updated dailies files as they become available.</p> + <h3>General usage</h3> + <blockquote> + <p><tt>pxcddrss.py [-i path-to-index] [-o rss-output-path] [-p pxc-team] [-u base-url] [-T rss-title]</tt></p> + </blockquote> + <h3>Arguments</h3> + <table width="100%" border="0" cellspacing="5" cellpadding="0"> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-d</strong></td> + <td>root directory to reference files to</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-h</strong></td> + <td>show usage message</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-i</strong></td> + <td>path to index</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-o</strong></td> + <td>location to write RSS file (defaults to directory above -i)</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-p</strong></td> + <td>Pixel Corps team name; used with -i to build path</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-r</strong></td> + <td>recurse subdirectories</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-u</strong></td> + <td>base URL used in RSS file</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-v</strong></td> + <td>verbose (display options)</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-T</strong></td> + <td>RSS feed title</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-D</strong></td> + <td>RSS description</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-I</strong></td> + <td>argument is wildcard giving files to include in index pass (e.g. -I *.c4d)</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-X</strong></td> + <td>exclude files from index pass; inverse of -I (e.g. -X *.torrent)</td> + </tr> + </table> + <p> Note that if both -I and -X are specified, the include list will be generated first, and any files specified by -X will be removed. Both -I and -X can be specified multiple times.</p> + <p>The following example will generate an RSS file for the RLC team, including any Quicktime movies or TIFF files within the entire team directory, but omitting any files matching the PXC naming spec for source footage (scf) or source graphics (scg). Line breaks are for readability only.</p> + <blockquote> + <p><code>./pxcddrss.py -i "/home/teams/tms_rlc" -o "/home/teams/tms_rlc/index.rss"<br> + -u sftp://teams.pixelcorps.com/home/teams/tms_rlc -r -T "PXC::RLC Dailies"<br> + -D "Dailies submissions for the PXC CodeWarriors (RLC) team"<br> + -I *.mov -I *.tif<br> + -X *.rss -X ???_???_???_scf* -X ???_???_???_scg*</code></p> + </blockquote> + <h2>c4drender</h2> + <p>This program walks through the specified hierarchy to render C4D files. This is a simple network rendering solution with limited scalability, recovery and load balancing. It is intended to be run as a periodic background process on a file server and on any render nodes. It uses <tt>scp</tt> to transfer files between the file server and render nodes. It runs in one of three modes:</p> + <ul> + <li type="disc">Render: renders any C4D files within the specified hierarchy that don't already appear to have been rendered + <li type="disc">Distribute: distributes scene files (plus associated textures) that don't appear to have been rendered to render nodes + <li type="disc">Collect: returns to the server any MOV files that resulted from rendering and compiling the C4D files + </ul> + <h3>General usage</h3> + <blockquote> + <p><code>c4drender.py [-d pxc-root-path] [-p pxc-team] [-r] files...</code></p> + </blockquote> + <h3>Arguments</h3> + <table width="100%" border="0" cellspacing="5" cellpadding="0"> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-c</strong></td> + <td>CINEMA 4D application path</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-d</strong></td> + <td>root directory to search for files</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-p</strong></td> + <td>Pixel Corps team name; used with -d to build full path</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-r</strong></td> + <td>recurse subdirectories</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-n</strong></td> + <td>node name to distribute files to (give once per node)</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-s</strong></td> + <td>server address</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-M</strong></td> + <td>mode to run in: 0=render, 1=distribute, 2=collect</td> + </tr> + </table> + <p>You must specify -c and either -d and -p (for Pixel Corps usage) or files. If you specify both, files will be searched relative to PXC path.</p> + <h2>slategen</h2> + <p>This program creates a "slate" image using information it parses out of an XML file in the format written by <tt>pxcddup</tt> containing information entered by the user in the PXCDD Upload Plugin. It writes the image out in TIFF format by default, but it can optionally use PNG format if you ask it to. The program should build and run on any *ix type system, though it is tested on and intended primarily for OS X systems.</p> + <h3>General usage</h3> + <blockquote> + <p><code>slategen [-t {PNG|TIFF}] filename</code></p> + </blockquote> + <h3>Arguments</h3> + <table width="100%" border="0" cellspacing="5" cellpadding="0"> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-t</strong></td> + <td>image type to use (PNG or TIFF)</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>filename</strong></td> + <td>name of XML file name to read in</td> + </tr> + </table> + <p>If the given filename contains ".xml", that part will be overwritten with .tif or .png, as apropriate, when creating the slate image's file name. Otherwise, .png or .tif is appended to the end of the XML file name to get the slate image file name.</p> + <h2>pxcqtassy</h2> + <p>This program assembles a number of TIFF images into a QuickTime movie in H.264 format. Its purpose is to take a slate created by <tt>slategen</tt> and rendered plates written out by <tt>c4drender</tt> and assemble that into a single movie file. (That file then gets sent back to the file server, where it is noticed by <tt>pxcddrss</tt> and sent out to people subscribed to the dailies feed.) Because this program uses the Cocoa QTKit framework for creating QuickTime movies, it only runs on OS X.</p> + <h3>General usage</h3> + <blockquote> + <p><code>pxcqtassy [-f filespec] [-m movie]</code></p> + </blockquote> + <h3>Arguments</h3> + <table width="100%" border="0" cellspacing="5" cellpadding="0"> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-f</strong></td> + <td>file matching pattern for recognizing TIFF images to assemble into a movie</td> + </tr> + <tr> + <td width="60"></td> + <td nowrap width="1%"><strong>-m</strong></td> + <td>name of generated movie file</td> + </tr> + </table> + <br /> + <hr noshade size="1" width="95%"> + <p align="center"><font size="-1">This project is hosted by</font> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=165148&type=1" width="88" height="31" align="absmiddle" border="0" alt="SourceForge.net Logo" /></a></p> + </td> + <td width="25" background="bitmaps/body-side-right.png"></td> + </tr> + <tr height="21"> + <td width="25" height="24"><img src="bitmaps/body-bottom-left.png" alt="" height="24" width="25" border="0"></td> + <td height="24" background="bitmaps/body-bottom-middle.png"></td> + <td width="25" height="24"><img src="bitmaps/body-bottom-right.png" alt="" height="24" width="25" border="0"></td> + </tr> + </table> + <p></p> + </body> +</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-07 04:15:26
|
Revision: 370 Author: ricknroll Date: 2006-07-06 21:15:23 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=370&view=rev Log Message: ----------- removed a stray debug print Modified Paths: -------------- trunk/server/rss/PyRSS2Gen.py Modified: trunk/server/rss/PyRSS2Gen.py =================================================================== --- trunk/server/rss/PyRSS2Gen.py 2006-07-07 04:12:52 UTC (rev 369) +++ trunk/server/rss/PyRSS2Gen.py 2006-07-07 04:15:23 UTC (rev 370) @@ -96,7 +96,6 @@ self.name = name self.dt = dt def publish(self, handler): - print("[[[",_format_date(self.dt)); _element(handler, self.name, _format_date(self.dt)) #### This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-07 04:04:57
|
Revision: 368 Author: ricknroll Date: 2006-07-06 21:04:53 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=368&view=rev Log Message: ----------- python 2.2 compatibiity: workaround for basestring Modified Paths: -------------- trunk/server/rss/PyRSS2Gen.py Modified: trunk/server/rss/PyRSS2Gen.py =================================================================== --- trunk/server/rss/PyRSS2Gen.py 2006-07-07 04:03:08 UTC (rev 367) +++ trunk/server/rss/PyRSS2Gen.py 2006-07-07 04:04:53 UTC (rev 368) @@ -28,9 +28,9 @@ def _element(handler, name, obj, d = {}): - if isinstance(obj, basestring) or obj is None: + if isinstance(obj, (str, unicode)) or obj is None: # special-case handling to make the API easier - # to use for the common case. + # to use for the common case. handler.startElement(name, d) if obj is not None: handler.characters(obj) @@ -95,7 +95,8 @@ def __init__(self, name, dt): self.name = name self.dt = dt - def publish(self, handler): + def publish(self, handler): + print("[[[",_format_date(self.dt)); _element(handler, self.name, _format_date(self.dt)) #### @@ -204,7 +205,7 @@ self.url = url self.length = length self.type = type - def publish(self, handler): + def publish(self, handler): _element(handler, "enclosure", None, {"url": self.url, "length": str(self.length), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-07 04:03:11
|
Revision: 367 Author: ricknroll Date: 2006-07-06 21:03:08 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=367&view=rev Log Message: ----------- added missing carriage return Modified Paths: -------------- trunk/server/rss/pxcddrss.py Modified: trunk/server/rss/pxcddrss.py =================================================================== --- trunk/server/rss/pxcddrss.py 2006-07-07 03:59:07 UTC (rev 366) +++ trunk/server/rss/pxcddrss.py 2006-07-07 04:03:08 UTC (rev 367) @@ -239,7 +239,8 @@ # don't include torrent files unless in file mode itemPath = "" elif os.path.splitext(item)[1].upper() != ".RSS": - if os.path.splitext(item)[1].upper() != ".TORRENT" and gTorrentGen == "FILE": itemPath = MakeTorrent( + if os.path.splitext(item)[1].upper() != ".TORRENT" and gTorrentGen == "FILE": + itemPath = MakeTorrent( item.abspath(), gTorrentTracker, 262144 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-07 03:59:11
|
Revision: 366 Author: ricknroll Date: 2006-07-06 20:59:07 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=366&view=rev Log Message: ----------- fix for a bug that caused rss to crash when mime type couldn't be guessed - assuming application/x-unknown Modified Paths: -------------- trunk/server/rss/pxcddrss.py Modified: trunk/server/rss/pxcddrss.py =================================================================== --- trunk/server/rss/pxcddrss.py 2006-07-07 03:20:07 UTC (rev 365) +++ trunk/server/rss/pxcddrss.py 2006-07-07 03:59:07 UTC (rev 366) @@ -261,7 +261,10 @@ desc += str(zf.namelist()) if os.path.isfile(itemPath) == True and \ - MatchFilename(relPath, gIncludeFiles, gExcludeFiles): + MatchFilename(relPath, gIncludeFiles, gExcludeFiles): + mime = mimetypes.guess_type(itemPath)[0] + if not mime: + mime = "application/x-unknonwn" rssItems.append( PyRSS2Gen.RSSItem( title = sRelPath, @@ -270,7 +273,7 @@ enclosure = PyRSS2Gen.Enclosure( gBaseURL + '/' + sRelPath, item.size, - mimetypes.guess_type(itemPath)[0]), + mime), guid = PyRSS2Gen.Guid(gBaseURL + sRelPath), pubDate = modTime) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 03:20:21
|
Revision: 365 Author: tangentsoft Date: 2006-07-06 20:20:07 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=365&view=rev Log Message: ----------- Initial slice-and-dice of body layout into individual elements Added Paths: ----------- trunk/website/bitmaps/body-bottom-left.png trunk/website/bitmaps/body-bottom-middle.png trunk/website/bitmaps/body-bottom-right.png trunk/website/bitmaps/body-side-left.png trunk/website/bitmaps/body-side-right.png trunk/website/bitmaps/body-top-left.png trunk/website/bitmaps/body-top-middle.png trunk/website/bitmaps/body-top-right.png trunk/website/bitmaps/navbar-docs.png trunk/website/bitmaps/navbar-hacking.png trunk/website/bitmaps/navbar-left-cap.png trunk/website/bitmaps/navbar-licenses.png trunk/website/bitmaps/navbar-separator.png trunk/website/bitmaps/navbar-sponsor.png trunk/website/bitmaps/top-box-left.png trunk/website/bitmaps/top-box-right.png Added: trunk/website/bitmaps/body-bottom-left.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-bottom-left.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-bottom-middle.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-bottom-middle.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-bottom-right.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-bottom-right.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-side-left.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-side-left.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-side-right.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-side-right.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-top-left.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-top-left.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-top-middle.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-top-middle.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/body-top-right.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/body-top-right.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-docs.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-docs.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-hacking.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-hacking.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-left-cap.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-left-cap.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-licenses.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-licenses.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-separator.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-separator.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/navbar-sponsor.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/navbar-sponsor.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/top-box-left.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/top-box-left.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/website/bitmaps/top-box-right.png =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/top-box-right.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 02:49:34
|
Revision: 364 Author: tangentsoft Date: 2006-07-06 19:49:15 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=364&view=rev Log Message: ----------- Ignoring pxcdd-layout-flattened.png file -- it's just pxcdd-layout.psd reduced 2:1 and flattened, so one can cut it up for use in actual web pages. Property Changed: ---------------- trunk/website/bitmaps/ Property changes on: trunk/website/bitmaps ___________________________________________________________________ Name: svn:ignore + pxcdd-layout-flattened.png This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 02:46:56
|
Revision: 363 Author: tangentsoft Date: 2006-07-06 19:46:49 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=363&view=rev Log Message: ----------- Initial version of PXCDD page layout Added Paths: ----------- trunk/website/bitmaps/pxcdd-layout.psd Added: trunk/website/bitmaps/pxcdd-layout.psd =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/pxcdd-layout.psd ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-07 02:45:30
|
Revision: 362 Author: tangentsoft Date: 2006-07-06 19:45:25 -0700 (Thu, 06 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=362&view=rev Log Message: ----------- Created top-level bitmaps directory for PXCDD web site, including the sample new member site layout posted on the forums, to be used for reference. Added Paths: ----------- trunk/website/bitmaps/ trunk/website/bitmaps/pxc-new-member-layout.jpg Added: trunk/website/bitmaps/pxc-new-member-layout.jpg =================================================================== (Binary files differ) Property changes on: trunk/website/bitmaps/pxc-new-member-layout.jpg ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tan...@us...> - 2006-07-06 05:03:19
|
Revision: 361 Author: tangentsoft Date: 2006-07-05 22:03:11 -0700 (Wed, 05 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=361&view=rev Log Message: ----------- Added timecode track creation code. It builds, runs without error, and follows the example...and fails to work. It's got to be *close*. Modified Paths: -------------- trunk/server/pxcqtassy/main.m trunk/server/pxcqtassy/qttimecode.h trunk/server/pxcqtassy/qttimecode.m trunk/server/pxcqtassy/qtvideo.h trunk/server/pxcqtassy/qtvideo.m Modified: trunk/server/pxcqtassy/main.m =================================================================== --- trunk/server/pxcqtassy/main.m 2006-07-04 21:29:22 UTC (rev 360) +++ trunk/server/pxcqtassy/main.m 2006-07-06 05:03:11 UTC (rev 361) @@ -74,11 +74,12 @@ BOOL success = NO; @try { + QTMovie* movie; NSString* fileSpec; NSString* movieFileName; if (ParseCommandLine(argc, argv, &fileSpec, &movieFileName) && - CreateVideoTrack(movieFileName, fileSpec) && - CreateTimecodeTrack() && + CreateVideoTrack(&movie, movieFileName, fileSpec) && + AddTimecodeTrackToMovie(movie) && CloseMovie()) { success = YES; } Modified: trunk/server/pxcqtassy/qttimecode.h =================================================================== --- trunk/server/pxcqtassy/qttimecode.h 2006-07-04 21:29:22 UTC (rev 360) +++ trunk/server/pxcqtassy/qttimecode.h 2006-07-06 05:03:11 UTC (rev 361) @@ -8,6 +8,6 @@ #include <Cocoa/Cocoa.h> -BOOL CreateTimecodeTrack(); +BOOL AddTimecodeTrackToMovie(); #endif // !defined(QTASSY_QTTIMECODE_H) \ No newline at end of file Modified: trunk/server/pxcqtassy/qttimecode.m =================================================================== --- trunk/server/pxcqtassy/qttimecode.m 2006-07-04 21:29:22 UTC (rev 360) +++ trunk/server/pxcqtassy/qttimecode.m 2006-07-06 05:03:11 UTC (rev 361) @@ -15,10 +15,264 @@ #include <QTKit/QTKit.h> +//////////////////////////////////////////////////////////////////////// +// Constants + +// Height of the frame containing timecode data. Width will be same as +// that of the video frames. +static const int kTimecodeTrackHeight = 50; + + +//// CStrToPascal255 /////////////////////////////////////////////////// +// Converts a C string to a 1-byte length-prefixed Pascal string. + +static void +CStrToPascal255(char* ppstr, const char* pcstr) +{ + size_t len = strlen(pcstr); + *ppstr = (len < 256 ? len : 255); + memcpy(ppstr + 1, pcstr, *ppstr); +} + + +//// GetVideoFrameDimensions /////////////////////////////////////////// +// Returns the dimensions of the video track's frames, so we can size +// the timecode track accordingly. + +static BOOL +GetVideoFrameDimensions(QTMovie* movie, Track* pVideoTrack, + int* pw, int* ph) +{ + // Find first track holding video info + *pVideoTrack = GetMovieIndTrackType([movie quickTimeMovie], 1, + VisualMediaCharacteristic, movieTrackMediaType); + if (*pVideoTrack) { + // Return that track's frame dimensions + Fixed w, h; + GetTrackDimensions(*pVideoTrack, &w, &h); + NSLog(@"Retrieved video track dimensions: %d x %d\n", w, h); + *pw = w; *ph = h; + return YES; + } + else { + return NO; + } +} + + //// CreateTimecodeTrack /////////////////////////////////////////////// -// Adds a timecode track to the QT movie. +// Creates the actual timecode track object. +static BOOL +CreateTimecodeTrack(QTMovie* movie, int frameWidth, QTTrack** ppTrack, + QTMedia** ppMedia, MediaHandler* pHandler) +{ + NSError* qtError; + Track track = NewMovieTrack([movie quickTimeMovie], frameWidth, + kTimecodeTrackHeight, kNoVolume); + if (track) { + Media media; + *ppTrack = [QTTrack trackWithQuickTimeTrack:track + error:&qtError]; + media = NewTrackMedia(track, TimeCodeMediaType, + GetMovieTimeScale([movie quickTimeMovie]), NULL, 0); + if (media) { + *ppMedia = [QTMedia mediaWithQuickTimeMedia:media + error:&qtError]; + *pHandler = GetMediaHandler([*ppMedia quickTimeMedia]); + if (*pHandler) { + return YES; + } + else { + NSLog(@"Failed to retrieve handler for QuickTime " + "timecode media!\n"); + return NO; + } + } + else { + NSLog(@"Failed to create QuickTime media for timecode " + "track: %@\n", [qtError localizedDescription]); + return NO; + } + } + else { + NSLog(@"Failed to create QuickTime timecode track: %@\n", + [qtError localizedDescription]); + return NO; + } +} + + +//// SetupTimecodeTrack //////////////////////////////////////////////// +// Sets up the parameters of the timecode track. + +static BOOL +SetupTimecodeTrack(QTTrack* track, MediaHandler handler, + int frameHeight, TimeCodeDef* pTCDef) +{ + MatrixRecord matrix; + + // Set up timecode definition: 30 fps, maximum 24 hours + pTCDef->flags = tc24HourMax; + pTCDef->fTimeScale = 600; + pTCDef->frameDuration = 20; + pTCDef->numFrames = 30; + + // Position timecode frame below video content + GetTrackMatrix([track quickTimeTrack], &matrix); + TranslateMatrix(&matrix, 0, frameHeight); + SetTrackMatrix([track quickTimeTrack], &matrix); + + // Make timecode track visible + SetTrackEnabled([track quickTimeTrack], YES); + TCSetTimeCodeFlags(handler, tcdfShowTimeCode, tcdfShowTimeCode); + + return YES; +} + + +//// GetVideoTrackDuration ///////////////////////////////////////////// +// Grab video track's duration. We don't need to do any conversion in +// here because the timecode track is created with the same time base +// as the video track. If they diverge, this will break. + +static TimeValue +GetVideoTrackDuration(QTMovie* movie) +{ + return GetMovieDuration([movie quickTimeMovie]); +} + + +//// AddTimeCodeSample ///////////////////////////////////////////////// +// Adds a media sample to the timecode track. We add just one, with the +// time being zero, which causes QuickTime to simply count up from there +// through the end of the video. + +static BOOL +AddTimeCodeSample(QTMedia* media, TimeValue duration, TimeCodeDef tcDef, + MediaHandler handler) +{ + OSErr err; + BOOL bSuccess = NO; + Handle frameHandle = 0; + TimeCodeDescriptionHandle tcDesc = 0; + + if ((err = BeginMediaEdits([media quickTimeMedia])) == noErr) { + long tcSize = sizeof(TimeCodeDescription); + tcDesc = (TimeCodeDescriptionHandle)NewHandleClear(tcSize); + if (tcDesc) { + UserData userData; + + // Create a handle object to store a frame count + frameHandle = NewHandle(sizeof(SInt32)); + if (!frameHandle) { + NSLog(@"Failed to create frame handle!!\n"); + goto bail; + } + + // Set up timecode description record + (**tcDesc).descSize = tcSize; + (**tcDesc).dataFormat = TimeCodeMediaType; + (**tcDesc).timeCodeDef = tcDef; + + if ((err = NewUserData(&userData)) == noErr) { + // Store the media name info in the timecode sample + UserData userData; + char sourceName[256]; + Handle nameHandle = 0; + + CStrToPascal255(sourceName, "?? the source name ??"); + if ((PtrToHand(sourceName + 1, &nameHandle, + sourceName[0]) == noErr) && + (AddUserDataText(userData, nameHandle, + TCSourceRefNameType, 1, langEnglish) == + noErr)) { + TCSetSourceRef(handler, tcDesc, userData); + } + + // Clean up + if (nameHandle) { + DisposeHandle(nameHandle); + } + DisposeUserData(userData); + } + + //// Add starting time sample to timecode track + // Create timecode record, all zeroes, meaning that this + // is the start of the movie. + TimeCodeRecord tcRec; + memset(&tcRec, 0, sizeof(TimeCodeRecord)); + + // Convert timecode record info to a frame number, in + // big-endian byte order. + TCTimeCodeToFrameNumber(handler, + &(**tcDesc).timeCodeDef, &tcRec, + (long*)*frameHandle); + **frameHandle = EndianS32_NtoB(**frameHandle); + + // Finally, add the timecode sample + if (AddMediaSample([media quickTimeMedia], frameHandle, 0, + GetHandleSize(frameHandle), duration, + (SampleDescriptionHandle)tcDesc, 1, 0, 0) == + noErr) { + bSuccess = YES; + } + else { + NSLog(@"Failed to add timecode sample!\n"); + } + } + } + +bail: + if (tcDesc) { + DisposeHandle((Handle)tcDesc); + } + + if (frameHandle) { + DisposeHandle(frameHandle); + } + + return (EndMediaEdits([media quickTimeMedia]) == noErr) && bSuccess; +} + + +//// FinalizeTimecodeTrack ///////////////////////////////////////////// +// Insert the timecode media into the timecode track, and tie the +// timecode track to the video track. + +static BOOL +FinalizeTimecodeTrack(QTTrack* tcTrack, Track videoTrack, + TimeValue duration) +{ + return (InsertMediaIntoTrack([tcTrack quickTimeTrack], 0, 0, + duration, fixed1) == noErr) && (AddTrackReference( + videoTrack, [tcTrack quickTimeTrack], TimeCodeMediaType, + NULL) == noErr); +} + + +//// AddTimecodeTrackToMovie /////////////////////////////////////////// +// Adds a timecode track to the given QT movie. This is based loosely +// on QTTC_AddTimeCodeToMovie() in the sample referenced above. + BOOL -CreateTimecodeTrack() +AddTimecodeTrackToMovie(QTMovie* movie) { + int frameWidth, frameHeight; + QTTrack* tcTrack; + Track videoTrack; + QTMedia* tcMedia; + MediaHandler handler; + TimeCodeDef tcDef; + + TimeValue duration = GetVideoTrackDuration(movie); + NSLog(@"Movie duration: %d time units\n", duration); + + return GetVideoFrameDimensions(movie, &videoTrack, &frameWidth, + &frameHeight) && + CreateTimecodeTrack(movie, frameWidth, &tcTrack, &tcMedia, + &handler) && + SetupTimecodeTrack(tcTrack, handler, frameHeight, &tcDef) && + AddTimeCodeSample(tcMedia, duration, tcDef, handler) && + FinalizeTimecodeTrack(tcTrack, videoTrack, duration); } Modified: trunk/server/pxcqtassy/qtvideo.h =================================================================== --- trunk/server/pxcqtassy/qtvideo.h 2006-07-04 21:29:22 UTC (rev 360) +++ trunk/server/pxcqtassy/qtvideo.h 2006-07-06 05:03:11 UTC (rev 361) @@ -6,9 +6,10 @@ #if !defined(QTASSY_QTVIDEO_H) #define QTASSY_QTVIDEO_H -#include <Cocoa/Cocoa.h> +#include <QTKit/QTKit.h> -BOOL CreateVideoTrack(NSString* movieFileName, NSString* fileSpec); +BOOL CreateVideoTrack(QTMovie** ppMovie, NSString* movieFileName, + NSString* fileSpec); BOOL CloseMovie(); #endif // !defined(QTASSY_QTVIDEO_H) \ No newline at end of file Modified: trunk/server/pxcqtassy/qtvideo.m =================================================================== --- trunk/server/pxcqtassy/qtvideo.m 2006-07-04 21:29:22 UTC (rev 360) +++ trunk/server/pxcqtassy/qtvideo.m 2006-07-06 05:03:11 UTC (rev 361) @@ -19,7 +19,6 @@ #include <AppKit/AppKit.h> #include <CoreFoundation/CoreFoundation.h> -#include <QTKit/QTKit.h> #include <unistd.h> #include <glob.h> @@ -187,14 +186,14 @@ // Call the above functions in the appropriate order. BOOL -CreateVideoTrack(NSString* movieFileName, NSString* fileSpec) +CreateVideoTrack(QTMovie** ppMovie, NSString* movieFileName, + NSString* fileSpec) { NSDictionary* encParms; - QTMovie* movie; return CreateTemporaryMovieFile() && CreateEncodingParameters(&encParms) && - CreateMovieObject(&movie, &gOutDataHandler) && - AddImages(movie, fileSpec, encParms) && - WriteMovieFile(movie, movieFileName, encParms); + CreateMovieObject(ppMovie, &gOutDataHandler) && + AddImages(*ppMovie, fileSpec, encParms) && + WriteMovieFile(*ppMovie, movieFileName, encParms); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-04 21:29:25
|
Revision: 360 Author: ricknroll Date: 2006-07-04 14:29:22 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=360&view=rev Log Message: ----------- win installer now look for C4D exe in the install path and the install path parent - if found, it redirects to the C4D plugin path Modified Paths: -------------- trunk/client/win/pxcdd.nsi Modified: trunk/client/win/pxcdd.nsi =================================================================== --- trunk/client/win/pxcdd.nsi 2006-07-04 20:23:29 UTC (rev 359) +++ trunk/client/win/pxcdd.nsi 2006-07-04 21:29:22 UTC (rev 360) @@ -17,6 +17,7 @@ !include "FileFunc.nsh" !insertmacro Locate +!insertmacro GetParent ;-------------------------------- @@ -32,7 +33,7 @@ ;-------------------------------- ; The default installation directory -InstallDir $PROGRAMFILES\pxcdd +InstallDir $PROGRAMFILES\pxcdd\ SetFont "Arial" 10 AddBrandingImage top 50 @@ -48,7 +49,7 @@ Page directory "GetInstallDir" -Page instfiles +Page instfiles "CheckInstallDir" ;///// Sections ///////////////////////////////////////////////////////////// @@ -125,4 +126,20 @@ Exit: FunctionEnd - \ No newline at end of file + +Function AddPluginPath + + StrCpy $R0 "$R8\plugins\pxcdd" + MessageBox MB_OK "PXCDD should be installed within the CINEMA 4D plugins folder.$\n$\nRedirecting installation to:$\n$R0" + StrCpy $INSTDIR $R0 + +FunctionEnd + +Function CheckInstallDir + + ${GetParent} $INSTDIR $R0 + ${Locate} "$INSTDIR" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" + ${Locate} "$R0" "/L=F /M=CINEMA?4D.exe" "AddPluginPath" + ; MessageBox MB_OKCANCEL "Ready to install:$\n$INSTDIR" + +FunctionEnd \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-04 20:23:35
|
Revision: 359 Author: ricknroll Date: 2006-07-04 13:23:29 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=359&view=rev Log Message: ----------- fixed size of branding banner Modified Paths: -------------- trunk/client/win/pxcdd-branding.bmp Modified: trunk/client/win/pxcdd-branding.bmp =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-04 20:23:07
|
Revision: 358 Author: ricknroll Date: 2006-07-04 13:23:02 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=358&view=rev Log Message: ----------- fix to bind branding image into installer exe Modified Paths: -------------- trunk/client/win/pxcdd.nsi Modified: trunk/client/win/pxcdd.nsi =================================================================== --- trunk/client/win/pxcdd.nsi 2006-07-04 20:02:54 UTC (rev 357) +++ trunk/client/win/pxcdd.nsi 2006-07-04 20:23:02 UTC (rev 358) @@ -18,6 +18,19 @@ !include "FileFunc.nsh" !insertmacro Locate +;-------------------------------- + +!macro BIMAGE IMAGE + Push $0 + GetTempFileName $0 + File /oname=$0 "${IMAGE}" + SetBrandingImage $0 + Delete $0 + Pop $0 +!macroend + +;-------------------------------- + ; The default installation directory InstallDir $PROGRAMFILES\pxcdd @@ -80,7 +93,7 @@ ;///// Functions //////////////////////////////////////////////////////////// Function .onGUIinit - SetBrandingImage pxcdd-branding.bmp + !insertmacro BIMAGE "pxcdd-branding.bmp" FunctionEnd Function C4DPathCheck This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ric...@us...> - 2006-07-04 20:02:58
|
Revision: 357 Author: ricknroll Date: 2006-07-04 13:02:54 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pxcdd/?rev=357&view=rev Log Message: ----------- Added branding banner to windows installer Modified Paths: -------------- trunk/client/win/pxcdd.nsi Added Paths: ----------- trunk/client/win/pxcdd-branding.bmp Added: trunk/client/win/pxcdd-branding.bmp =================================================================== (Binary files differ) Property changes on: trunk/client/win/pxcdd-branding.bmp ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/client/win/pxcdd.nsi =================================================================== --- trunk/client/win/pxcdd.nsi 2006-07-04 19:22:33 UTC (rev 356) +++ trunk/client/win/pxcdd.nsi 2006-07-04 20:02:54 UTC (rev 357) @@ -21,6 +21,9 @@ ; The default installation directory InstallDir $PROGRAMFILES\pxcdd +SetFont "Arial" 10 +AddBrandingImage top 50 + ;///// Define Pages ///////////////////////////////////////////////////// PageEx license @@ -76,6 +79,10 @@ ;///// Functions //////////////////////////////////////////////////////////// +Function .onGUIinit + SetBrandingImage pxcdd-branding.bmp +FunctionEnd + Function C4DPathCheck ; Copy found path into register 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |