Mostly shell scripts
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
audio_capture.sh
bash_snippets.sh
better_import
capture.sh
check_and_update_checksums.sh
cronic
eb
generate_kanji_images.sh
nhk_download.sh
play
resize_videos
tex_diff.sh
timescale_video
windowid-screenshot

README

These are just some tools or snippets I wrote for some very specific
purposes.

This repository currently contains the following scripts:
* bash_snippets.sh
  Mostly useless stuff and experimental bash code.
* resize_videos
  Usage: resize_videos <height:width> <input files>

  Resizes the given videos and places the results in the current
  directory. Useful if a video happens to be too big for a netbook.

  On a technical note, this is the first script ever where I found use
  for the "coproc" bash built-in.
* timescale_video
  Usage: timescale_video factor filename

  Changes the speed of the video by the given factor. It uses
  soundstretch to resample the sound track of the source file. All
  other tracks are copied directly and only resynced to the new audio,
  so the frame rate of video tracks will increase/decrease
  accordingly. Subtitle tracks are resynced as well.

  Due to using soundstretch, the quality is somewhat better than with
  mplayer -af scaletempo.

  This script accepts most container formats and all audio formats
  ffmpeg can handle. Tested with mkv, mp4, flv and QuickTime. The
  result will always be a Matroska file (mkv) with ogg vorbis audio.
* windowid-screenshot
  Usage: windowid-screenshot [window-id]

  Takes a screenshot of the given window. If no window is given on the
  command line, it asks the user to click on a window. The screenshot
  is scaled down using two different resizing methods (both from
  imagemagick). Personally I use this script to create Anki cards from
  video games.