Skip to content

Instantly share code, notes, and snippets.

@Yxogenium
Yxogenium / yuv420p.log
Last active Jul 14, 2019
FFmpeg + vidstab logs
View yuv420p.log
+ ffmpeg -ss 00:10 -t 00:10 -i 'Ultimate Frisbee GoPro Gameplay!-s-CuQ7b1XgA.mp4' -an -pix_fmt yuv420p input-yuv420p.mp4
ffmpeg version N-49274-gb1febda061-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvi
View Chrooting_rpi_partition.markdown

Chrooting RPi partition using systemd-nspawn

By chrooting a partition, you may issue any user command on a mounted partition as if you had booted on this partition. systemd-nspawn is a systemd-specific command providing better isolation than the traditional chroot command (see the archlinux wiki for a more in-depth description).

Prerequisites

pkcon install qemu qemu-user-static
View start-spigot.sh
#!/usr/bin/env bash
set -euo pipefail
mkdir -p "build" "bin"
if [[ ! $(find bin/ -name "spigot*.jar" -mtime -7) ]]; then
(echo "Spigot is older than a week"
cd "build" &&
curl -o "BuildTools.jar" -z "BuildTools.jar" "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" &&
java -jar "BuildTools.jar" &&
View spigot-win.bat
mkdir "Build" ".old"
robocopy /IS . .old\ "spigot.jar" /move /minage:7
if not exist "spigot.jar" (
cd "Build"
curl -o "BuildTools.jar" -z "BuildTools.jar" "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar"
java -jar "BuildTools.jar"
cd ..
for %%G in ("Build\spigot-*.jar") do (
You can’t perform that action at this time.