Bash Snippets
Youtube-dl into Ffmpeg
Benötigt youtube-dl, parallel und ffmpeg.
Holt sich die direkte Video-URL via youtube-dl und piped die Video und Sound-Url direkt in ffmpeg.
Ermöglicht alles was ffmpeg kann, z.B. herauschneiden eines Clips:
youtube-dl -g [url] | parallel -N 2 ffmpeg -ss [start] -i {1} -i {2} -map 0:v -map 1:a -t [time] -c copy out.webm
Filtered Chmod
find . [filters here] -exec chmod [MOD] -- {} +
#z.B. chmod nur Dateien
find . -type f -exec chmod 644 -- {} +
Forge Install
java -jar forge-[version]-installer.jar --installServer