VCS 1.12.1 released

A very small update this time. It's only been delayed by real life stuff.

Only worth mentioning:

  • Workaround for cases in which GAWK uses comma as decimal separator. Many European languages use commas but only a few versions of GAWK do actually print them (and newer versions don't anymore). People encountering this bug will have certainly noticed since it results in all kinds of errors.

vcs 1.12.1
http://p.outlyer.net/vcs/files/vcs-1.12.1.gz (script only)
or
http://p.outlyer.net/vcs/files/vcs-1.12.1.tar.gz (script, sample configuration and profiles)
deb, rpm, PKGBUILD & bz2
as usual at http://p.outlyer.net/vcs/

VCS 1.12 released

VCS 1.12 is ready to download

As with 1.11 many of the changes are pretty radical and might break but it's been working fine for me so far.

The changes are quite a few so I'll try to explain as best as I can. Documentation for the new stuff is on the way.

New in this version:

  • Profiles
  • On-demand loading of custom configuration files
  • Heading, footer and title based on actual font size
  • Configuration generation from the command-line
  • Relative end-offset
  • More reasonable command-line arguments to capture from DVD
  • Configuration syntax enhancements and more sensible names for settings

→ Profiles

Command-line: --profile <NAME> and -p <NAME>

Profiles allow saving a group of settings and then reusing them by using their name.
They can be saved to ~/.vcs/profiles/ or /usr/share/vcs/profiles/ as name.conf, and then invoked with a command-line like:
$ vcs -p name video.avi

They can also be combined, e.g.
$ vcs -p black -p mosaic video.avi

A list of available profiles can be displayed with
$ vcs -p :list

The deb, rpm, arch package and tarball include some sample profiles.

→ Configuration file loading

Command-line: --config <FILE> and -C <FILE>

A lot like profiles but settings can be loaded from any file on any directory. The only extra condition is the file should contain "vcs:conf:" inside comments towards the beginning or the end of the file.

$ vcs -C /tmp/mysettings.txt video.avi

→ Configuration (and profile) generation

Command-line: --generate config

By adding --generate config to the command-line, the effective settings are printed in a format that can be saved to a configuration or profile file.

All active settings with an appropriate config setting will be printed, no matter if they come from the command-line, profiles or configurations.

Examples

$ vcs -n4 --generate config
Will produce a configuration for 4 captures and fixed number of captures:

 numcaps=4
 timecode_from=$TC_NUMCAPS

$ vcs -p myprofile -C myconfig.cfg -E0 --generate config

Will merge profile "myprofile" and file myconfig.cfg, disable end-offset and print the combined settings.

Big warning

In case you aren't familiar with shell redirections, DON'T try to overwrite an existing configuration like:
$ vcs [...] --generate config > myconfig.cfg
This WILL WIPE your configuration BEFORE reading it.

Side-effect

Pre-existing configurations can be "upgraded" to the new names by running without extra arguments:
$ vcs --generate config

→ Relative end-offset

The end offset now accepts percentages and is 5.5% by default. It is now applied always unless disabled.

With the length detection workarounds in 1.11 and relative end offsets, the whole MIN_LENGTH_FOR_END_OFFSET nonsense is gone for good. Good riddance.

→ DVD capture

Handling of DVDs is now like that of normal files. --dvd (or -V) enable the DVD mode and take no arguments anymore:

$ vcs --dvd /dev/dvd

$ vcs --dvd --dvd-title 1 /dev/dvd

Multi-input is also accepted now:

$ vcs --dvd --dvd-title 1 --dvd-title 2 /dev/dvd /dev/dvd somedvd.iso
Will capture titles 1 and 2 from /dev/dvd, and the longest title from somedvd.iso.

DVDs and video files can't be mixed though (it's either DVD mode or no DVD mode for all input files).

→ Configuration syntax enhancements

Finally, configuration files are now easier to read and write:
 — Settings are case insensitive now
 — Names are easier on the brain (e.g. "height" instead of "th_height")
 — Comments no longer need their own line

Also a sample configuration file is provided with all available settings for easier writing of your own if needed.

→ Dynamic heading/footer/title

In previous versions heading and title size based on font pointsize. This lead to a few rare fonts displaying cropped. Footer was a fixed size so it was even worse at that. 1.12 probes the font size and (hopefully) sizes sections accordingly. Example:

Before: 1.11.2
After: 1.12

The font displayed is akaFrivolity in case you're wondering


vcs 1.12
http://p.outlyer.net/vcs/files/vcs-1.12.gz (script only)
or
http://p.outlyer.net/vcs/files/vcs-1.12.tar.gz (script, sample configuration and profiles)
deb, rpm, PKGBUILD & bz2
as usual at http://p.outlyer.net/vcs/

VCS 1.11.2 released

A new small update to vcs is available to download. This should be the last update before 1.12 (which will take a while to be ready) but the massive changes in 1.11.x still need more testing so who knows.

Changes in 1.11.2:

  • Some Real Audio codec names (v4, v5 and v6)
  • Bugfix/Feature: Fallback for default font on systems that don't register fonts with ImageMagick
  • Bugfixes: Clean up correctly extra temporary dirs, fix for non-GNU awk (e.g. mawk)

vcs 1.11.2
http://p.outlyer.net/vcs/files/vcs-1.11.2.gz
deb, rpm, PKGBUILD & bz2
as usual at http://p.outlyer.net/vcs/

VCS 1.11.1 released

Here's a very small bugfix release, nothing too fancy this time around:

– A name for the FLV1 codec (used in older flash videos)

– Warnings about the DEFAULT_* configuration variables accidentally removed in the previous release (and temporarily accept them)

– A check of ImageMagick's version that should work in all systems

Also new there's a PKGBUILD file for packaging for Arch.

vcs 1.11.1
http://p.outlyer.net/vcs/files/vcs-1.11.1.gz
deb, rpm, etc.
as usual at http://p.outlyer.net/vcs/

numcaps in configuration

After a user report I noticed I should clarify: If you add, e.g. numcaps=10 to your configuration file you're changing the default number of captures but the default mode of operation is to capture at fixed intervals so to actually use this value you also have to add timecode_from=$TC_NUMCAPS to your configuration, which the changes the mode of operation to a fixed number of captures. E.g.:

$ cat ~/.vcs.conf
numcaps=20
timecode_from=$TC_NUMCAPS
cols=5

VCS 1.11 released

In this post:

Release notes

Finally a new version of vcs, and it brings a truckload of changes. So many in fact that it will probably break in new and unexpected ways but so far it has been working quite fine.

The major improvement will probably be the tweaks to video duration detection that should get rid of the dreaded "Failed to capture…" on the last capture.

Other new features worth mentioning:

  • Height can be defined as a percentage (-H 25%) or set configuration files (th_height=160)
  • Output filename can now be set manually (-o file)
  • Lots of small cosmetic tweaks, from default font and heading background, to tighter padding or smaller timestamps. And the ability to tweak or disable padding.
  • Support for DVD has been revamped and should work much better now.
  • FreeBSD users are now (mostly) first class citizens for vcs 😉
  • More concise --help output, added --fullhelp for the whole bore
  • Handling of non-latin filenames makes a lot more sense now
  • And last but not least, the usual lot of bugfixes, better detection of video features, better aspect ratio detection, new codec names, etc.

On a more mundane note, no longer both MPlayer and FFmpeg are required, either one will do (although both will render best results), bc is no longer required.

Also, I'm providing an rpm package too this time around.

And finally this version will work on bash 2.05b, in case you're using some tight system like DSL.

In case you wonder how the hell did I count to make 1.11 follow 1.0.100a, I just remembered I should bump the version when new features are added, and re-counted versions. Lame I know but at least numbering should make more sense now.

Important I forgot to add warnings about this: If you're using a configuration file, there's been some renamings: DEFAULT_NUMCAPS is now numcaps, DEFAULT_INTERVAL is now interval and DEFAULT_COLS is now cols.

Edit: 1.11.1 fixes this: warns about their usage and accepts them for now.

A note for everyone (but specially for porn aficionados)

Please, if at all possible link directly whenever you discuss vcs. I know many communities prefer to use link redirections to keep referrer hidden but knowing how people is using or what they're saying about vcs helps me in improving and fixing it.

I know full well such a script caters to pr0n uploaders and I'm not offended, no need to hide 😉

Conversely, if you know of any discussion about vcs feel free to let me know so that I can jump in or steal get ideas from it.

BTS and Documentation

Finally, in case you didn't notice, the documentation site has received a lot of love and now is much more useful, and I've also opened a bug tracker in case you prefer it to e-mail.

Documentation: http://p.outlyer.net/dox/vcs
BTS: http://b.outlyer.net/

Refreshed mp3plot's Debian Sid packages

I've just refreshed the Debian Sid packages for mp3plot with the newer dependencies. They're just re-built packages, nothing else changed.

The new packages can, as always, be found at mp3plot's site.

Also, I missed this one but FreeBSD's included version got up-to-date a mere ten days after the last release.

Documentation wiki is live

I've finally open access to the documentation wiki for vcs (and also mp3plot and nautilus-follow-symlink). It's far from complete, with a lot of stuff to add, but I'm moving there all documentation progressively so there's the place to look for help.

I started using MediaWiki but later scaled back to DokuWiki.

mp3plot 0.6.0 released

mp3plot 0.6.0 is out. It started as a bugfix release for a nasty bug when dealing with free-format or broken files (reported by Tricky Trix, thanks pal 🙂 ) and eventually led me to (finally) implement support for "MP1" (MPEG-1 Layer I), "MP2" (MPEG-1 Layer II) and all three layers of MPEG-2. Such files can be found sometimes as disguised mp3s so this should be useful.

Also some other fixes including longstanding (brown paper bag) bugs. There's no doubt more of them in there, so report if you find something weird.

So in short previous versions should be ditched in favour of this one 😛

nautilus-follow-symlink 1.1 released

There's a refreshed version of nautilus-follow-symlink. Nothing new (after all there's little to be added), but I'm finally letting GNOME set the icon instead of force-feeding it, so it should, hopefully, display an icon matching the user-chosen theme. And it should also be friendlier to build.


nautilus-follow-symlink popup menu for symbolic links
Scroll to Top