=== Create video from images in folder. 10 seconds per image (framerate 0.1 fps). Letterboxing: images are not stretched ===
cat {*.jpg,*.jpeg} | ffmpeg -f image2pipe -r 0.1 -vcodec mjpeg -i - -vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -vcodec libx264 out.mp4
=== Create video from images in folder. 11 seconds per image (framerate 25 fps). Letterboxing: images are not stretched ===
cat {\*.jpg,\*.jpeg} | ffmpeg -y -f image2pipe -vcodec mjpeg -i - -vf "setpts=11\*25*PTS","scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" out.mp4
=== Create video from images in folder. 11 seconds per image (framerate 25 fps). Letterboxing: images are not stretched, Magenta Box===
find -E . -regex '.*(JPG|jpeg|jpg)' | sort -R | tr "\n" "\0" | xargs -0 cat |ffmpeg -y -f image2pipe -vcodec mjpeg -i - -vf "setpts=1*25*PTS","scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2":color=magenta out.mp4
find -E . -regex '.*(JPG|jpeg|jpg)' | sort -R | tr "\n" "\0" | xargs -0 cat | ffmpeg -y -f image2pipe -vcodec mjpeg -i - -vf "setpts=1*25*PTS","scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" out.mp4
sips -Z 719 *.jpg
youtube-dl --extract-audio --audio-format mp3 "https://www.youtube.com/watch?v=....."
ffmpeg -i input.wav -filter:a loudnorm output.wav
find -E . -regex '.*(JPG|jpeg|jpg)' | sort -R | tr "\n" "\0" | xargs -0 sips --resampleHeight 500
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
@xset s noblank
@xset s off
@xset -dpms
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then SESSION_TYPE=remote/ssh else case $(ps -o comm= -p $PPID) in sshd|*/sshd) SESSION_TYPE=remote/ssh;; esac fi
docker run -it --entrypoint=/bin/bash name-of-image
(dann per CMD weitermachen)
sudo mount -t cifs -o guest //WindowsPC/share1 /mnt/mountfoldername
docker run -v /Users/andyfischer/Documents/spotdl/docker/LDM22:/music spotdl/spotify-downloader download query "https://open.spotify.com/playlist/7MyAH7PSi9oEhesI2jlmLF?si=b84195fc651440e5"
find -E . -regex '.*(wav)' | while read file; do ffmpeg -y -i "./$file" -acodec pcm_s16le "./${file%.wav}_16bit.wav" && rm ./$file; done