tm
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 113
TM::DM 1.24
TM::DM is a Perl module with Topic Maps, read-only TMDM layer. more>>
TM::DM is a Perl module with Topic Maps, read-only TMDM layer.
SYNOPSIS
# somehow acquire a map (see TM and its subclasses)
my $tm = ....
# put a TMDM layer on top of it
use TM::DM;
my $tmdm = new TM::DM (map => $tm);
# get the TMDM topic map item
my $topicmap = $tmdm->topicmap;
# ask for all topics
my @topics = $topicmap->topics;
# for all associations
my @assocs = $topicmap->associations;
# get a particular topic
my $adam = $topicmap->topic (adam);
# get some of its properties
$adam->id;
$adam->subjectLocators;
$adam->subjectIdentifiers;
$adam->parent;
my @ns = $adam->names;
my @os = $adam->occurrence;
# similar for assocs
my @as = $topicmmap->associations (iplayer => adam);
$as[0]->type;
$as[0]->parent;
my @rs = $as[0]->roles;
<<lessSYNOPSIS
# somehow acquire a map (see TM and its subclasses)
my $tm = ....
# put a TMDM layer on top of it
use TM::DM;
my $tmdm = new TM::DM (map => $tm);
# get the TMDM topic map item
my $topicmap = $tmdm->topicmap;
# ask for all topics
my @topics = $topicmap->topics;
# for all associations
my @assocs = $topicmap->associations;
# get a particular topic
my $adam = $topicmap->topic (adam);
# get some of its properties
$adam->id;
$adam->subjectLocators;
$adam->subjectIdentifiers;
$adam->parent;
my @ns = $adam->names;
my @os = $adam->occurrence;
# similar for assocs
my @as = $topicmmap->associations (iplayer => adam);
$as[0]->type;
$as[0]->parent;
my @rs = $as[0]->roles;
Download (0.21MB)
Added: 2007-01-03 License: Perl Artistic License Price:
1024 downloads
XTM::Path 0.37
XTM::Path is a Perl module with topic map management, XPath like retrieval and construction facility. more>>
XTM::Path is a Perl module with topic map management, XPath like retrieval and construction facility.
SYNOPSIS
use XTM::XML;
$tm = new XTM (tie => new XTM::XML (file => mymap.tm)); # binds variable to channel
use XTM::Path;
my $xtmp = new XTM::Path (default => $tm);
# find particular topics and print topic id
foreach my $t ($xtmp->find (/topic[.//baseNameString/text() = "test"])) {
print $t->id;
}
# same using find twice
foreach my $t ($xtmp->find (/topic[.//baseNameString/text() = "test"])) {
print $xtmp->find (@id, $t);
}
# create a topic
$t = $xtmp->create (topic[@id = "id0815"]);
# same but with baseName
$t = $xtmp->create (topic[@id = "id0815"]/baseNameString[text() = "test"]);
# associations are always cumbersome
$a = $xtmp->create (association[member
[roleSpec/topicRef/@href = "#role1"]
[topicRef/@href = "#player1"]]
[member
[roleSpec/topicRef/@href = "#role2"]
[topicRef/@href = "#player2"]]);
This class provides a simple way to drill down the XTM data structures by following an XPath like approach.
The XTM standard (http://www.topicmaps.org/xtm/) is used as the basis to formulate XTM-Path queries. To find a particular topic, for instance, you might use
/topic[.//baseNameString = "some name"]
It is important to note that this package will NOT work on the original XTM document (this might even not exist if the map is created via other means), but is instead using the XTM::base data structure. This implies that all querying is done after merging and consolidation has been done.
Obviously, XTM::Path cannot be a complete query language, but it is useful in many development situations where drilling down the data structure is a cumbersome exercise. Together with intelligent add methods in XTM::Memory and XTM::generic this should simplify drastically the access, creation and manipulation of XTM data structures.
<<lessSYNOPSIS
use XTM::XML;
$tm = new XTM (tie => new XTM::XML (file => mymap.tm)); # binds variable to channel
use XTM::Path;
my $xtmp = new XTM::Path (default => $tm);
# find particular topics and print topic id
foreach my $t ($xtmp->find (/topic[.//baseNameString/text() = "test"])) {
print $t->id;
}
# same using find twice
foreach my $t ($xtmp->find (/topic[.//baseNameString/text() = "test"])) {
print $xtmp->find (@id, $t);
}
# create a topic
$t = $xtmp->create (topic[@id = "id0815"]);
# same but with baseName
$t = $xtmp->create (topic[@id = "id0815"]/baseNameString[text() = "test"]);
# associations are always cumbersome
$a = $xtmp->create (association[member
[roleSpec/topicRef/@href = "#role1"]
[topicRef/@href = "#player1"]]
[member
[roleSpec/topicRef/@href = "#role2"]
[topicRef/@href = "#player2"]]);
This class provides a simple way to drill down the XTM data structures by following an XPath like approach.
The XTM standard (http://www.topicmaps.org/xtm/) is used as the basis to formulate XTM-Path queries. To find a particular topic, for instance, you might use
/topic[.//baseNameString = "some name"]
It is important to note that this package will NOT work on the original XTM document (this might even not exist if the map is created via other means), but is instead using the XTM::base data structure. This implies that all querying is done after merging and consolidation has been done.
Obviously, XTM::Path cannot be a complete query language, but it is useful in many development situations where drilling down the data structure is a cumbersome exercise. Together with intelligent add methods in XTM::Memory and XTM::generic this should simplify drastically the access, creation and manipulation of XTM data structures.
Download (0.15MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1023 downloads
XTM::AsTMa 0.37
XTM::AsTMa is a Topic Map Parsing of AsTMa instances. more>>
XTM::AsTMa is a Topic Map Parsing of AsTMa instances.
SYNOPSIS
# reading a topic map description from a file/url
$atm = new XTM::AsTMa (file => mymap.atm);
$tm = $atm->sync_in();
This package provides parsing functionality for AsTMA instances as described in the package documentation (doc directory) or at
http://topicmaps.bond.edu.au/astma/
Currently, only AsTMa= is supported, with the following constraints/additions:
no macro support
This feature was experimental and is now deprecated.
following directives are supported:
%cancel
Cancels the parse process on this very line and ignores the rest of the AsTMa instance. Useful for debugging faulty maps. There is an appropriate line written to STDERR.
%log [ message ]
Writes a line to STDERR reporting the line number and an optional message. Useful for debugging.
%name [ name ]
Adds a name attribute to the topic map.
%encoding [ encoding ]
Specifies which encoding to use to interpret the following text. This implies that this directive may appear several times to change the encoding. Whether this is a good idea in terms of information management, is a different question.
Note: It is still not allowed to use several name : encoding clauses.
Note: If no encoding is provided, utf8 is assumed.
%auto_complete [ on/off ]
Turns on/off auto completion.
Note: topics which have been mentioned in a is-reified-by clause will be always generated.
A directive can be inserted anywhere in the document but must be at the start of a line.
<<lessSYNOPSIS
# reading a topic map description from a file/url
$atm = new XTM::AsTMa (file => mymap.atm);
$tm = $atm->sync_in();
This package provides parsing functionality for AsTMA instances as described in the package documentation (doc directory) or at
http://topicmaps.bond.edu.au/astma/
Currently, only AsTMa= is supported, with the following constraints/additions:
no macro support
This feature was experimental and is now deprecated.
following directives are supported:
%cancel
Cancels the parse process on this very line and ignores the rest of the AsTMa instance. Useful for debugging faulty maps. There is an appropriate line written to STDERR.
%log [ message ]
Writes a line to STDERR reporting the line number and an optional message. Useful for debugging.
%name [ name ]
Adds a name attribute to the topic map.
%encoding [ encoding ]
Specifies which encoding to use to interpret the following text. This implies that this directive may appear several times to change the encoding. Whether this is a good idea in terms of information management, is a different question.
Note: It is still not allowed to use several name : encoding clauses.
Note: If no encoding is provided, utf8 is assumed.
%auto_complete [ on/off ]
Turns on/off auto completion.
Note: topics which have been mentioned in a is-reified-by clause will be always generated.
A directive can be inserted anywhere in the document but must be at the start of a line.
Download (0.14MB)
Added: 2006-10-25 License: Perl Artistic License Price:
1094 downloads
Template::Magic::HTML 1.39
Template::Magic::HTML Perl module contains HTML handlers for Template::Magic used in a HTML environment. more>>
Template::Magic::HTML Perl module contains HTML handlers for Template::Magic used in a HTML environment.
SYNOPSIS
$tm = new Template::Magic::HTML ;
# that means
$tm = new Template::Magic
markers => HTML ,
value_handlers => HTML ;
# that explicitly means
$tm = new Template::Magic
markers => [ qw( ) ],
value_handlers => [ qw( SCALAR
REF
CODE
TableTiler
ARRAY
HASH
FillInForm ) ] ;
Template::Magic::HTML is a collection of handlers for Template::Magic useful when used in a HTML environment. It adds a couple of magic HTML specific value handlers to Template::Magic default value handlers. Just create and use the object as usual, to have a trasparent interface to HTML::TableTiler and HTML::FillInForm too.
<<lessSYNOPSIS
$tm = new Template::Magic::HTML ;
# that means
$tm = new Template::Magic
markers => HTML ,
value_handlers => HTML ;
# that explicitly means
$tm = new Template::Magic
markers => [ qw( ) ],
value_handlers => [ qw( SCALAR
REF
CODE
TableTiler
ARRAY
HASH
FillInForm ) ] ;
Template::Magic::HTML is a collection of handlers for Template::Magic useful when used in a HTML environment. It adds a couple of magic HTML specific value handlers to Template::Magic default value handlers. Just create and use the object as usual, to have a trasparent interface to HTML::TableTiler and HTML::FillInForm too.
Download (0.045MB)
Added: 2007-07-04 License: Perl Artistic License Price:
844 downloads
Ultima Iris 2.0
Ultima Iris is a Ultima online client total 3D. more>>
Ultima Iris is a Ultima online client total 3D.
Iris2 is a 3D/2D game client for the popular Massive Multiplayer Role Playing Game "Ultima Online" (tm). Adding a third dimension to the well-known Ultima Online World, Iris2 allows the player to navigate the gaming environment just like any modern 3d rpg and still retain the unique roleplaying experience that only classic Ultima can provide. Moreover, being compatible with standard UO game servers, the player is not limited to play with only users of Iris but may also seamlessly interact with players using standard 2d clients.
<<lessIris2 is a 3D/2D game client for the popular Massive Multiplayer Role Playing Game "Ultima Online" (tm). Adding a third dimension to the well-known Ultima Online World, Iris2 allows the player to navigate the gaming environment just like any modern 3d rpg and still retain the unique roleplaying experience that only classic Ultima can provide. Moreover, being compatible with standard UO game servers, the player is not limited to play with only users of Iris but may also seamlessly interact with players using standard 2d clients.
Download (MB)
Added: 2007-05-24 License: Freeware Price:
894 downloads
Class::Tangram 1.57
Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes. more>>
Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes.
SYNOPSIS
package MyObject;
use base qw(Class::Tangram);
our $fields = { int => [ qw(foo bar) ],
string => [ qw(baz quux) ] };
package main;
my $object = MyObject->new(foo => 2, baz => "hello");
print $object->baz(); # prints "hello"
$object->set_quux("Something");
$object->set_foo("Something"); # dies - not an integer
Class::Tangram is a tool for defining objects attributes. Simply define your objects fields/attributes using the same data structure introduced in _A Guided Tour of Tangram_ (see "SEE ALSO") and detailed in Tangram::Schema, and you get objects that work As Youd Expect(tm).
Class::Tangram has no dependancy upon Tangram, and vice versa. Neither requires anything special of your objects, nor do they insert any special fields into your objects. This is a very important feature with innumerable benefits, and few (if any) other object persistence tools have this feature.
So, fluff aside, lets run through how you use Class::Tangram to make objects.
First, you decide upon the attributes your object is going to have. You might do this using UML, or you might pick an existing database table and declare each column to be an attribute (you can leave out "id"; that one is implicit; also, leave out foreign keys until later).
<<lessSYNOPSIS
package MyObject;
use base qw(Class::Tangram);
our $fields = { int => [ qw(foo bar) ],
string => [ qw(baz quux) ] };
package main;
my $object = MyObject->new(foo => 2, baz => "hello");
print $object->baz(); # prints "hello"
$object->set_quux("Something");
$object->set_foo("Something"); # dies - not an integer
Class::Tangram is a tool for defining objects attributes. Simply define your objects fields/attributes using the same data structure introduced in _A Guided Tour of Tangram_ (see "SEE ALSO") and detailed in Tangram::Schema, and you get objects that work As Youd Expect(tm).
Class::Tangram has no dependancy upon Tangram, and vice versa. Neither requires anything special of your objects, nor do they insert any special fields into your objects. This is a very important feature with innumerable benefits, and few (if any) other object persistence tools have this feature.
So, fluff aside, lets run through how you use Class::Tangram to make objects.
First, you decide upon the attributes your object is going to have. You might do this using UML, or you might pick an existing database table and declare each column to be an attribute (you can leave out "id"; that one is implicit; also, leave out foreign keys until later).
Download (0.049MB)
Added: 2006-10-05 License: Perl Artistic License Price:
1114 downloads
Template::Magic 1.39
Template::Magic is a Perl module for magic merger of runtime values with templates. more>>
Template::Magic is a Perl module for magic merger of runtime values with templates.
SYNOPSIS
Just add these 2 magic lines to your code...
use Template::Magic;
Template::Magic->new->print( /path/to/template );
to have all your variable and subroutines merged with the template file, or set one or more constructor array to customize the output generation as you need:
use Template::Magic qw( -compile );
$tm = new Template::Magic
paths => [ qw(/any/path /any/other/path) ] ,
markers => [ qw( < / > ) ] ,
lookups => [ %my_hash, $my_obj, main ] ,
zone_handlers => [ &my_zone_handler, _EVAL_ ] ,
value_handlers => [ DEFAULT, &my_value_handler ] ,
text_handlers => sub {print lc $_[1]} ,
output_handlers => sub {print uc $_[1]} ,
post_handlers => &my_post_handler ,
options => no_cache ;
$tm->nprint( template => /path/to/template
lookups => %my_special_hash );
<<lessSYNOPSIS
Just add these 2 magic lines to your code...
use Template::Magic;
Template::Magic->new->print( /path/to/template );
to have all your variable and subroutines merged with the template file, or set one or more constructor array to customize the output generation as you need:
use Template::Magic qw( -compile );
$tm = new Template::Magic
paths => [ qw(/any/path /any/other/path) ] ,
markers => [ qw( < / > ) ] ,
lookups => [ %my_hash, $my_obj, main ] ,
zone_handlers => [ &my_zone_handler, _EVAL_ ] ,
value_handlers => [ DEFAULT, &my_value_handler ] ,
text_handlers => sub {print lc $_[1]} ,
output_handlers => sub {print uc $_[1]} ,
post_handlers => &my_post_handler ,
options => no_cache ;
$tm->nprint( template => /path/to/template
lookups => %my_special_hash );
Download (0.045MB)
Added: 2007-07-11 License: Perl Artistic License Price:
839 downloads
TriX 0.91
TriX software is a chat client based on the VyQChat. more>>
TriX software is a chat client based on the VyQChat. The project is released under terms of GNU GPLv2 license. As compared to VyQChat in TriX such new features appears as: files transfer, users avatars, logs, links navigation, broadcast and multicast type of connection, search by IP address and many other, not listed here things.
Now TriX is compatible with 1.91 protocol version of the Vypress Chat (TM) developed by VyPRESS Research, but there are some protocol differences in TriX (needs to support avatars).
TriX writed in C++ with Qt library from Trolltech company. Current version of TriX has been tested under Fedora Core 3, 4, 5, 6, Debian GNU/Linux 3.1 Sarge, Slackware Linux 10.1 and others.
For now TriX is supported by few people, so if you have any ideas how to improve the project you can ask for us. Any comments are welcome.
<<lessNow TriX is compatible with 1.91 protocol version of the Vypress Chat (TM) developed by VyPRESS Research, but there are some protocol differences in TriX (needs to support avatars).
TriX writed in C++ with Qt library from Trolltech company. Current version of TriX has been tested under Fedora Core 3, 4, 5, 6, Debian GNU/Linux 3.1 Sarge, Slackware Linux 10.1 and others.
For now TriX is supported by few people, so if you have any ideas how to improve the project you can ask for us. Any comments are welcome.
Download (0.73MB)
Added: 2007-01-23 License: GPL (GNU General Public License) Price:
1014 downloads
WMLan 1.1
WMLan is a 3Com LanModem status monitor dockapp. more>>
WMLan is a 3Com LanModem status monitor dockapp. Uses LanModem undocumented telnet feature to access CPU usage, RX/TX loads, current IP address, and connect speed. Displays all of that in a cute 64x64 dockapp.
You can only use this if you own a LanModem (duh). This should work with ISDN and 56K versions. Disconnect button is hardcoded to provider #2 but if you have a clue you should be able to modify that easily.
1) It works for me (tm)
2) Tested on 3Com OfficeConnect 3c886 Lanmodem with 7.1.0 firmware
3) Yes its buggy but i dont feel like fixing it.
4) Connect and disconnect buttons work :)
5) upper left = connect counter
6) upper right = CPU usage
7) center: top bar = transmission load
bottom bar = receive load
numbers below = ip address of the lanmodem
lower left = connect speed
lower right = connect and disconnect buttons
8) If it hangs during start kill it and restart it. I dont know why it does.
9) I never programmed sockets so deal with it.
10) You are welcome to improve on my code and share it with me.
Installation:
cd wmlan
*** edit wmlan.c
*** put your lanmodem IP and password in the top 2 lines.
*** make sure to leave rn for the password.
make
strip/copy wmlan bin wherever you want it
wmlan &
pretty easy
3Com LanModem required (If you dont know what that is, delete this program now)
<<lessYou can only use this if you own a LanModem (duh). This should work with ISDN and 56K versions. Disconnect button is hardcoded to provider #2 but if you have a clue you should be able to modify that easily.
1) It works for me (tm)
2) Tested on 3Com OfficeConnect 3c886 Lanmodem with 7.1.0 firmware
3) Yes its buggy but i dont feel like fixing it.
4) Connect and disconnect buttons work :)
5) upper left = connect counter
6) upper right = CPU usage
7) center: top bar = transmission load
bottom bar = receive load
numbers below = ip address of the lanmodem
lower left = connect speed
lower right = connect and disconnect buttons
8) If it hangs during start kill it and restart it. I dont know why it does.
9) I never programmed sockets so deal with it.
10) You are welcome to improve on my code and share it with me.
Installation:
cd wmlan
*** edit wmlan.c
*** put your lanmodem IP and password in the top 2 lines.
*** make sure to leave rn for the password.
make
strip/copy wmlan bin wherever you want it
wmlan &
pretty easy
3Com LanModem required (If you dont know what that is, delete this program now)
Download (0.018MB)
Added: 2006-10-13 License: GPL (GNU General Public License) Price:
1107 downloads
ctris 0.42
ctris is a colorized, small and flexible Tetris(TM)-clone for the console. more>>
ctris is a colorized, small and flexible Tetris-clone for the console
The project also has some small special features. (e.g. a highscore-list).
Installation:
make
su -
make install
<<lessThe project also has some small special features. (e.g. a highscore-list).
Installation:
make
su -
make install
Download (0.013MB)
Added: 2006-12-23 License: GPL (GNU General Public License) Price:
1036 downloads
IRC to MSN gateway 0.1
This is the IRC gateway for Microsoft(tm) Messenger. more>>
This is the IRC gateway for Microsoft(tm) Messenger.
You probably wonder what this is and why I wrote this. Some more information can be found in the DESIGN document that is included in this package.
This software is written by Johannes Verelst and is licensed through the GPL license (http://www.gnu.org/licenses/gpl.html).
Note that this is pre-alpha code, it probably does a bit that you want, but dont email me bugreports or feature requests. It is under heavy development.
If this program doesnt run try to install corectly all required perl modules yourself.
The idea for this program came when I was getting annoyed by the fact that I had to use different programs for both IRC and MSN. Since I dont know of any good MSN clients that can do IRC too (on unix, ofcourse), I started thinking about the other way around: an IRC client that can do MSN.
When I saw a piece of software written by Adam Swann that allows easy connectivity to MSN with perl, I decided to write an IRC server in perl that would connect to MSN for you. This is the result.
<<lessYou probably wonder what this is and why I wrote this. Some more information can be found in the DESIGN document that is included in this package.
This software is written by Johannes Verelst and is licensed through the GPL license (http://www.gnu.org/licenses/gpl.html).
Note that this is pre-alpha code, it probably does a bit that you want, but dont email me bugreports or feature requests. It is under heavy development.
If this program doesnt run try to install corectly all required perl modules yourself.
The idea for this program came when I was getting annoyed by the fact that I had to use different programs for both IRC and MSN. Since I dont know of any good MSN clients that can do IRC too (on unix, ofcourse), I started thinking about the other way around: an IRC client that can do MSN.
When I saw a piece of software written by Adam Swann that allows easy connectivity to MSN with perl, I decided to write an IRC server in perl that would connect to MSN for you. This is the result.
Download (0.009MB)
Added: 2006-06-16 License: GPL (GNU General Public License) Price:
1229 downloads
GtkChat 0.60
GtkChat is GTK+ based Vypress Chat TM clone which uses gtk2-perl bindings. more>>
GtkChat is GTK+ based Vypress Chat TM clone. It uses GTK 2 and its Perl bindings. I tried to make UI simple and clean while maintaining same look as Vypress Chat.
<<less Download (0.049MB)
Added: 2005-07-27 License: GPL (GNU General Public License) Price:
1550 downloads
Foxtrot 3.0
Foxtrot is a small and powerful API for using threads with Swing. more>>
Foxtrot is a small and powerful API for using threads with Swing.
Its a small and powerful API for using threads with the Java(TM) Foundation Classes (JFC/Swing).
It is based on a new concept, the Synchronous Model, which greatly increases ease of use.
While other solutions have been developed to solve this problem, being the SwingWorker (see also here for an update) the most known, they are all based on the Asynchronous Model which, for non-trivial Swing applications, carries several problems such as code asymmetry, bad code readability and difficult exception handling.
The Foxtrot API cleanly solves the problems that solutions based on the Asynchronous Model have, and its simpler to use.
Main features:
- code symmetry and readability
- easy exception handling
- improved mantainability
<<lessIts a small and powerful API for using threads with the Java(TM) Foundation Classes (JFC/Swing).
It is based on a new concept, the Synchronous Model, which greatly increases ease of use.
While other solutions have been developed to solve this problem, being the SwingWorker (see also here for an update) the most known, they are all based on the Asynchronous Model which, for non-trivial Swing applications, carries several problems such as code asymmetry, bad code readability and difficult exception handling.
The Foxtrot API cleanly solves the problems that solutions based on the Asynchronous Model have, and its simpler to use.
Main features:
- code symmetry and readability
- easy exception handling
- improved mantainability
Download (0.20MB)
Added: 2006-09-26 License: BSD License Price:
1147 downloads
Video::OpenQuicktime 1.02
Video::OpenQuicktime is an interface to the OpenQuicktime library. more>>
Video::OpenQuicktime is an interface to the OpenQuicktime library.
SYNOPSIS
use Video::OpenQuicktime;
my $qt = Video::OpenQuicktime->new(file=>"sample.mov");
$qt->get_video_height;
$qt->get_audio_compression;
$qt->get_audio_samplerate;
From the OpenQuicktime site, http://www.openquicktime.org:
"OpenQuicktime aims to be a portable library for handling Apples QuickTime(TM) popular media files on Unix-like environments. It is aim is to provide encoding, authoring and editing support as well as video playback."
OpenQuicktime is currently able to decode as well as encode video and audio streams. The Video::OpenQuicktime library currently only supports extracting diagnostic information from Quicktime files, such as video dimensions, codecs used, and play length.
I would like to add support for video and audio demux at some point, but dont have the time to develop it right now. Given sufficient user interest or free time, Ill do it. Patches are also welcome in case anyone else wants to help me out, see the contact information below.
<<lessSYNOPSIS
use Video::OpenQuicktime;
my $qt = Video::OpenQuicktime->new(file=>"sample.mov");
$qt->get_video_height;
$qt->get_audio_compression;
$qt->get_audio_samplerate;
From the OpenQuicktime site, http://www.openquicktime.org:
"OpenQuicktime aims to be a portable library for handling Apples QuickTime(TM) popular media files on Unix-like environments. It is aim is to provide encoding, authoring and editing support as well as video playback."
OpenQuicktime is currently able to decode as well as encode video and audio streams. The Video::OpenQuicktime library currently only supports extracting diagnostic information from Quicktime files, such as video dimensions, codecs used, and play length.
I would like to add support for video and audio demux at some point, but dont have the time to develop it right now. Given sufficient user interest or free time, Ill do it. Patches are also welcome in case anyone else wants to help me out, see the contact information below.
Download (0.097MB)
Added: 2006-07-21 License: Perl Artistic License Price:
1197 downloads
Geo::Lookup::ByTime 0.0.2
Geo::Lookup::ByTime is a Perl module to lookup location by time. more>>
Geo::Lookup::ByTime is a Perl module to lookup location by time.
SYNOPSIS
use Geo::Lookup::ByTime;
$lookup = Geo::Lookup::ByTime->new( @points );
my $pt = $lookup->nearest( $tm );
Given a set of timestamped locations guess the location at a particular time. This is a useful operation for, e.g., adding location information to pictures based on their timestamp and a GPS trace that covers the same time period.
INTERFACE
new( [ points ] )
Create a new object optionally supplying a list of points. The points may be supplied as an array or as a reference to an array. Each point may be a reference to a hash containing at least the keys lat, lon and time or a reference to an object that supports accessor methods called latitude, longitude and time.
If a coderef is supplied it is assumed to be an iterator that may be called repeatedly to yield a set of points.
add_points( [ points ] )
Add points. The specification for what constitutes a point is the same as for new.
nearest( $time [ , $max_dist ] )
Return a hash indicating the estimated position at the specified time. The returned hash has lat, lon and time keys like this:
my $best = {
lat => 54.29344,
lon => -2.02393,
time => $time
};
Returns undef if the position cant be computed. By default a position will be calculated for any point that lies within the range of time covered by the reference points. Optionally $max_dist may be specified in which case undef will be returned if the closest real point is more than that many metres away from the computed point.
If the requested time coincides exactly with the timestamp of one of the points the returned point will be at the same location as the matching point. If the time falls between the timestamps of two points the returned point will be linearly interpolated from those two points.
In an array context returns a list containing the synthetic point at the specified time (i.e. the value that would be returned in scalar context), the closest real point and the distance between the two in metres
my ($best, $nearest, $dist) = $lookup->nearest( $tm );
get_points()
Return a reference to an array containing all the points in ascending time order.
time_range()
Return as a two element list the time range from earliest to latest of the points in the index. Returns undef if the index is empty.
hav_distance($pt, ...)
Exportable function. Computes the Haversine distance in metres along the line described by the points passed in. Points must be references to hashes with keys lat and lon.
<<lessSYNOPSIS
use Geo::Lookup::ByTime;
$lookup = Geo::Lookup::ByTime->new( @points );
my $pt = $lookup->nearest( $tm );
Given a set of timestamped locations guess the location at a particular time. This is a useful operation for, e.g., adding location information to pictures based on their timestamp and a GPS trace that covers the same time period.
INTERFACE
new( [ points ] )
Create a new object optionally supplying a list of points. The points may be supplied as an array or as a reference to an array. Each point may be a reference to a hash containing at least the keys lat, lon and time or a reference to an object that supports accessor methods called latitude, longitude and time.
If a coderef is supplied it is assumed to be an iterator that may be called repeatedly to yield a set of points.
add_points( [ points ] )
Add points. The specification for what constitutes a point is the same as for new.
nearest( $time [ , $max_dist ] )
Return a hash indicating the estimated position at the specified time. The returned hash has lat, lon and time keys like this:
my $best = {
lat => 54.29344,
lon => -2.02393,
time => $time
};
Returns undef if the position cant be computed. By default a position will be calculated for any point that lies within the range of time covered by the reference points. Optionally $max_dist may be specified in which case undef will be returned if the closest real point is more than that many metres away from the computed point.
If the requested time coincides exactly with the timestamp of one of the points the returned point will be at the same location as the matching point. If the time falls between the timestamps of two points the returned point will be linearly interpolated from those two points.
In an array context returns a list containing the synthetic point at the specified time (i.e. the value that would be returned in scalar context), the closest real point and the distance between the two in metres
my ($best, $nearest, $dist) = $lookup->nearest( $tm );
get_points()
Return a reference to an array containing all the points in ascending time order.
time_range()
Return as a two element list the time range from earliest to latest of the points in the index. Returns undef if the index is empty.
hav_distance($pt, ...)
Exportable function. Computes the Haversine distance in metres along the line described by the points passed in. Points must be references to hashes with keys lat and lon.
Download (0.015MB)
Added: 2007-01-24 License: Perl Artistic License Price:
1003 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above tm search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed