Path to this page:
Subject: CVS commit: wip/cclive
From: Thomas Klausner
Date: 2009-08-31 12:38:01
Message id: E1Mi4HB-0005jw-CO@ddv4jf1.ch3.sourceforge.com
Log Message:
Update to 0.5.0.
Release 0.5.0
-------------
The dependency of Perl and HTML::Tokenizer module have been replaced with
libiconv and PCRE for significantly lower system footprint. Perl was previously
used for parsing video titles and cleaning them up.
configure no longer supports --enable-sigwinch. The support is now compiled
into the program automatically if signal.h is found and defines SIGWINCH.
tests/ have been rewritten in C++.
Other notable changes:
Removed options:
--title
- obsoleted by --filename-format since 0.4.1
--cclass, --no-cclass
- obsoleted by --regexp and --find-all (below)
New options:
-r, --regexp
- Defines the regular expression that can be used to "filter"
video titles before they are used for filenames
-g, --find-all
- Used together with the above to repeat the matching to find
all occurences, similar to Perl's /g option
Example:
cclive -gr "(\w|\s)" URL
Comparison:
-----------
SIZE RES Notes
clive 2.2.4 ~13924k ~10388k Perl all the way
cclive 0.4.7 (w/ perl) ~8300k ~6908k Video titles enabled
cclive 0.4.7 (w/o perl) ~5940k ~3224k No video titles
cclive 0.5.0 ~5780k ~3196k Video titles enabled by default
SIZE = total size of the process (text, data, and stack)
RES = current amount of resident memory
Note : Figures are approximates. cclive was built with "-O2 \
-march=pentium4"
Tested: FreeBSD 7.2, numbers provided by top(1), numbers vary slightly per URL
Files: