Skip to content

Instantly share code, notes, and snippets.

View yadex205's full-sized avatar

Kanon Kakuno yadex205

View GitHub Profile
@yadex205
yadex205 / ffmpeg-crossfade.sh
Last active May 15, 2024 13:54
Make cross-faded seamless loop video from non-loop video
# Based on https://stackoverflow.com/questions/60043174/cross-fade-video-to-itself-with-ffmpeg-for-seamless-looping
# and conversations with ChatGPT
duration=$(ffprobe -v error -show_entries format=duration -of noprint_wrappers=1:nokey=1 input.mp4)
duration=$(echo "$duration - 2" | bc)
ffmpeg -i input.mp4 -filter_complex "[0]trim=end=1,setpts=PTS-STARTPTS,fps=fps=30[begin];[0]trim=start=1,setpts=PTS-STARTPTS,fps=fps=30[end];[end][begin]xfade=fade:duration=1:offset=${duration}" output.mp4
./autogen.sh
./configure --prefix=$HOME/local \
--without-mailutils \
--without-pop \
--without-sound \
--without-x-toolkit \
--without-xpm \
--without-jpeg \
--without-tiff \
--without-gif \
@yadex205
yadex205 / win10-setup.md
Last active October 17, 2020 03:25
Windows 10 環境構築メモ
  1. Heat Death Infinity Splitter - 65daysofstatic
  2. Ragga Bomb (feat. Ragga Twins) [Teddykillerz Remix] - Skrillex
  3. Diplodocus (Kill The Noise Remix) - Noisia
  4. Stigma - Noisia
  5. Printer Jam - Mistabishi
  6. Tokyo Hardcore - Forbidden Society
  7. Birth Cycle - Forbidden Society & Current Value
  8. Over the Edge (Current Value Remix) - THE SECT
  9. Wall of Death - Forbidden Society & Katharsys
  10. Voodoo (Noisia's 'outer Edges' Remix) - Noisia

gifs here

const async = require('async')
const path = require('path')
const spawn = require('child_process').spawn
const CONCURRENCY = 6
const VIDEO_STORE_ROOT = 'K:'
const VJ_VIDEO_STORE = 'Motion Graphics (VJ, Hap)'
const sources = require('yargs').argv._
@yadex205
yadex205 / init.sh
Created May 1, 2016 14:01
お手軽WordPress環境構築スクリプト
#!/bin/bash
# プロジェクトルート/bin/init.sh のように配置してください。
# ルート/vendor にwp-cli.pharを、ルート/htdocsにWordPressを配置します。
WPCLI_BIN="vendor/wp-cli.phar"
WPCLI="$WPCLI_BIN --path=htdocs"
WP_INSTALL_DIR="htdocs"
TITLE='a wordpress site'