GitLab CI/CD is GitLab's continuous integration and continuous delivery service. It helps developers automatically run a series of tasks after every commit, such as compiling, testing, packaging and deploying. MinIO is a high-performance object storage service that offers an Amazon S3-compatible API and supports features like distributed deployment, fault tolerance and encryption. This article shows how to use GitLab CI/CD to publish generated files to MinIO, creating a simple yet efficient automated workflow.
1. Background
I recently needed to encode H.265 video efficiently. Software encoding and decoding with FFmpeg is fairly slow, so I wanted to speed up the encoding process with the GPU.
2. Setting Up the Environment
- Make sure your graphics card is on this list: https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new
- Download and install the CUDA Toolkit: https://developer.nvidia.com/cuda-downloads
- Have the latest FFmpeg downloaded: https://ffmpeg.org/download.html
- Run the following command to list all available hardware accelerators
ffmpeg -hwaccels
Here you can see that CUDA, which we need, is already available.
1. Symptoms
Some macOS users find that the ESC key suddenly stops working, with no response from either an external keyboard or the on-screen keyboard.
2. Solution
Method 1:
- Press command+Space, search for Terminal, and open it.
- Enter the following command and press Return.
kill -9 $(pgrep Siri)
Method 2:
- Open Launchpad and click "Other".
