Zaid Annas
Devsinc inc. 30/08/2018
# Interpolate video frames for a higher frame rate | |
ffmpeg -i source.mp4 -filter:v minterpolate -r 25 result.mp4 | |
ffmpeg -i source.mp4 -vf minterpolate=50,tblend=all_mode=average,framestep=2 result.mp4 | |
# Change the framerate (to 5 fps) of an input h264 raw video and convert to mkv | |
ffmpeg -r 5 -i input.h264 -vcodec copy output.mkv | |
# Crop a video to the bottom right quarter | |
ffmpeg -i in.mp4 -filter:v "crop=in_w/2:in_h/2:in_w/2:in_h/2" -c:a copy out.mp4 |
image: docker:latest | |
# Remember to set required vars as secret vars on GitLab CI settings | |
variables: | |
DOCKER_DRIVER: overlay | |
CONTAINER_TEST_IMAGE: ${CI_REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHA}_test | |
CONTAINER_DEPLOY_IMAGE: ${HEROKU_REGISTRY}/${CI_PROJECT_NAME}/web | |
HEROKU_API_KEY: ${HEROKU_AUTH_TOKEN} | |
services: |
image: docker:latest | |
variables: | |
REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME> | |
REGION: eu-central-1 | |
TASK_DEFINTION_NAME: <TASK DEFINITION NAME> | |
CLUSTER_NAME: <CLUSTER NAME> | |
SERVICE_NAME: <SERVICE NAME> | |
services: |
#chrome | |
cd /tmp | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
sudo apt-get -f install | |
#docker | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ |
#!/bin/sh | |
# More Mac setup at https://mac.iamdeveloper.com | |
# Log file | |
timestamp=$(date +%s) | |
logFile="./my-mac-setup-$timestamp.log" | |
# if true is passed in, things will reinstall | |
reinstall=$1 |
1. GetLink Fs4sTL: | |
<version1>5.7b</version1> | |
<download1>https://www.fshare.vn/file/GD7M96QXA84K</download1> | |
link tải: https://files.pw/vx4iplc14hs6 | |
2. Music-Video Downloader: | |
<version2>4.3</version2> | |
<download2>https://www.fshare.vn/file/H64R8JS4UPO1</download2> | |
link tải: https://files.pw/tislq1qnyrcb |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from March 2, 2019
Originally, I had included some other solution
""" | |
Get notification from ECS when a deployment is failing. Post to slack | |
This lambda function receives a notification from a cloudwatch log filter when | |
an ECS deployment fails, it creates a hash based on the cluster arn and then | |
task definition and saves the file in S3. | |
To make sure we don't get duplicate, if we already have a file in S3, we don't | |
resend the notification. |