Permalink
Commits on Oct 10, 2016
  1. Avoid double unary minus

    lolilolicon committed Oct 10, 2016
    Although in the case of 'trim' it won't hit that case...
    But POSIX is POSIX & for future reference...
  2. Update copyright year

    lolilolicon committed Oct 10, 2016
  3. Add URL to Gentoo package

    lolilolicon committed Oct 10, 2016
Commits on Oct 9, 2016
  1. Release 2.4.6

    lolilolicon committed Oct 9, 2016
  2. rec: tell ffmpeg to STFU with its banner

    lolilolicon committed Oct 9, 2016
    This used to print a banner:
    
        ffcast -wv rec -- -v fatal -t 1 -y o.mp4
    
    Simplified example:
    
    This does not print a banner:
    
        ffmpeg -v fatal -i i.png -y o.png
    
    This prints a banner:
    
        ffmpeg -v info -i i.png -v fatal -y o.png
    
    This does not print a banner (workaround):
    
        ffmpeg -hide_banner -v info -i i.png -v fatal -y o.png
Commits on Oct 8, 2016
  1. Update submodule xrectsel

    lolilolicon committed Oct 8, 2016
  2. png: use crop filter instead of -video_size

    lolilolicon committed Oct 7, 2016
    Refer to 6cb12ef to see why -video_size is unacceptable.
    Using the crop filter, `ffmpeg` is absolutely faster than `import`.
    
    Regrettably, we have to disable -show_region here.
Commits on Oct 7, 2016
  1. Revert "trim: use `import` for screenshot"

    lolilolicon committed Oct 7, 2016
    This reverts commit 6cb12ef.
    
    See next commit.
  2. Release 2.4.5

    lolilolicon committed Oct 7, 2016
  3. trim: use `import` for screenshot

    lolilolicon committed Oct 7, 2016
    `import` performance improves as the area decreases.
    `ffmpeg` performance improves as the area increases.
    They meet at about 400000 square pixels in my tests.
    
    `import` worst case is about 0.35s.
    `ffmpeg` worst case is about 0.7s.
    `ffmpeg` takes 0.36s at about 120000 square pixels.
    
    See: https://trac.ffmpeg.org/ticket/5878
  4. trim: add option -f for setting fuzz distance

    lolilolicon committed Oct 7, 2016
    Useful for trimming target on a slightly noisy background.
  5. trim: reuse 'pad'

    lolilolicon committed Oct 7, 2016
Commits on Oct 6, 2016
  1. Remove "Get the Source" section

    lolilolicon committed Oct 6, 2016
    I wonder where my keyboard is...
  2. Update README

    lolilolicon committed Oct 6, 2016
    Remove old NOTEs. Plus random edits. Positively pointless.
  3. ffcast(1): minor edit

    lolilolicon committed Oct 6, 2016
Commits on Oct 5, 2016
  1. Update 'trim' example

    lolilolicon committed Oct 5, 2016
  2. New sub-command 'trim'

    lolilolicon committed Oct 5, 2016
    Use ImageMagick convert(1) to detect trim bounding box. Similar to
    'pad', but smarter. Best used with 'pad', e.g.
    
        ffcast -s trim pad 10 png
  3. Example: trim a rough manual selection

    lolilolicon committed Oct 5, 2016
    The problem with manual selection is it's imprecise. Luckily, for
    targets on a solid background, the edges can be easily discarded by
    ImageMagick.
Commits on Oct 4, 2016
  1. lag: use word splitting for sleep(1)

    lolilolicon committed Oct 4, 2016
        lag '1m 2s' → sleep 1m 2s
  2. New sub-command 'lag'

    lolilolicon committed Oct 4, 2016
    Fixes #20
  3. png: don't show region for -qq (verbosity=0)

    lolilolicon committed Oct 4, 2016
    For example, to take a screenshot of every xterm window in parallel,
    
        xdotool search --onlyvisible --class '^XTerm$' |
        xargs -P0 -I+ ffcast -# + -qq pad '20 2 2' png -y /tmp/+.png
    
    previously, the show_region border would show up and ruin everything.
    
    (Assuming a tiling window manager.)
Commits on Oct 3, 2016
  1. Release 2.4.3

    lolilolicon committed Oct 3, 2016
  2. Follow bash 4.4 array compound assignment changes

    lolilolicon committed Oct 3, 2016
    Align with output of `declare -p`.
    
    > The declare builtin no longer displays array variables using the
    > compound assignment syntax with quotes; that will generate warnings
    > when re-used as input, and isn't necessary.
  3. Use `return` instead of `exit` in functions

    lolilolicon committed Oct 3, 2016
    Fixed: `ffcast -ww each` would print only the 1st selection.
Commits on Sep 16, 2016
Commits on Sep 11, 2016
  1. Fix missing quote in example

    lolilolicon committed Sep 11, 2016