This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Add overlay over entire video. No extra text | |
ffmpeg -i examplecut.mp4 -i overlay.png -filter_complex "[0:v][1:v] overlay" -c:a copy output.mp4 | |
2. Add overlay over for 10 seconds in the middle (5s - 15s in this example) | |
ffmpeg -i examplecut.mp4 -i overlay.png -filter_complex "[0:v][1:v] overlay=enable='between(t,5,15)'" -c:a copy output2.mp4 | |
2b. Add overlay starting from X time until the end (X=5 in this example) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is for development purposes only! Uses the werkzeug WSGI server that Flask ships with. | |
""" | |
import hmac | |
import logging | |
import hashlib | |
from flask import Flask, request | |
# Just tagging onto the dev server logger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
### HOW TO USE | |
# Forwards host port 5432 (change if necessary) | |
# Creates a user "vagrant" with password "vagrant" and database called "vagrant". | |
# "vagrant" user is a superuser. | |
# | |
# Example connection string: "postgresql://vagrant:vagrant@localhost:5432/vagrant" | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2018 Yassine Riahi and Liam Flookes. Provided under a MIT License, see license file on github. | |
// Used to generate a fastbuild .bff file from UnrealBuildTool to allow caching and distributed builds. | |
// Tested with Windows 10, Visual Studio 2015/2017, Unreal Engine 4.19.1, FastBuild v0.95 | |
// Durango is fully supported (Compiles with VS2015). | |
// Orbis will likely require some changes. | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Diagnostics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
logger_one = logging.getLogger('example') | |
logger_two = logging.getLogger('example') | |
assert logger_one is logger_two # True because they are the same instance |