Link Diary April 2022

ffmpeg: Get an Image off a video at an exact time

ffmpeg -ss 00:00:05.01 -i myvideo.avi -frames:v 1 myimage.jpg

Mount a directory as Docker volume

Start Docker container without a server:

docker run -d ubuntu sleep infinity

Suppress questions during apt installations for automation:

DEBIAN_FRONTEND="noninteractive" apt-get install --yes python-opencv

Video picks

Youtube Preview/Vorschau

English Homer Simpson's voice (and more)

OEmbed Error
  • Provider returned HTTP Status 403 for
  • All resolution methods failed

(german) Report on protests in Russland

Youtube Preview/Vorschau

Middleschool teacher spreads positive messsage

Youtube Preview/Vorschau

Make a logo appear from particles with Geometry Nodes

Youtube Preview/Vorschau

Tutorial: Fish scales in Blender with Geometry Nodes

Youtube Preview/Vorschau

Quick Docker Intro

Youtube Preview/Vorschau

NFTs explained by an artist

Youtube Preview/Vorschau

He underestimated her chess

Youtube Preview/Vorschau

Russion girl Natasha answers viewer questions in times of war.

Youtube Preview/Vorschau

Blender: Create flowers automatically on a curve with Geometry Nodes

Youtube Preview/Vorschau

Nice Sound Animation with Blender

Youtube Preview/Vorschau

I did not know "Caging"

Youtube Preview/Vorschau

Artist Catnapp from Berlin was in "Unorthodox".

Youtube Preview/Vorschau

Jim Carrey motivational speech

Youtube Preview/Vorschau

Test drive of the Toyota bz4x

Options of strptime

Python: Time from string without dateutil

import datetime
datetime.datetime.strptime("2022-04-21T20:30:00", "%Y-%m-%dT%H:%M:%S")

(german) Generator for legally correct imprint and data security policy

Determine SATA version on Linux

Image upscaling

Needed lower versions than I would have with Ubuntu 20.04, so i dockered 18.04 and configured all packages accordingly.

FROM nvidia/cuda:11.6.2-cudnn8-devel-ubuntu18.04
RUN apt update
RUN apt install git python3 python3-pip -y
RUN pip3 install torch 
RUN pip3 install --upgrade pip
RUN pip3 install numpy opencv-python
RUN apt install libsm6 libxext6 libxrender-dev -y
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip
RUN pip install basicsr
RUN pip install facexlib
RUN pip install gfpgan
RUN git clone
RUN pip install -r requirements.txt
RUN python develop
RUN apt install wget -y
RUN wget -P experiments/pretrained_models
RUN mkdir -p inputs results
RUN DEBIAN_FRONTEND="noninteractive" apt-get install python3-opencv -y
VOLUME /Real-ESRGAN/inputs
VOLUME /Real-ESRGAN/results
WORKDIR /usr/local/lib/python3.6/dist-packages/facexlib/weights/
RUN wget
WORKDIR /usr/local/lib/python3.6/dist-packages/gfpgan/weights/
RUN wget

curl -s -L | \
  sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L$distribution/nvidia-container-runtime.list | \
  sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list
sudo apt-get update
apt-get install nvidia-container-runtime
service docker restart
> docker run --gpus all -v "inputs":"/Real-ESRGAN/inputs" -t keinerweiss/esrgan python -n RealESRGAN_x4plus -i inputs --face_enhance --tile 256

(german) List of games featuring raytracing or DLSS

Megabyte ... MB oder MiB?

Insert Emojis with Ubuntu Gnome

Practice patience with Sudoku Online