This file contains 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
var Xonomy={}; | |
Xonomy.xmlEscape=function(str) { | |
return String(str) | |
.replace(/&/g, '&') | |
.replace(/"/g, '"') | |
.replace(/'/g, ''') | |
.replace(/</g, '<') | |
.replace(/>/g, '>'); | |
}; |
This file contains 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 pandas as pd | |
import numpy as np | |
import math | |
# Read data. | |
with open('datafile.json') as f: | |
s = f.read().replace('{"n":"', '"').replace('{"s":"', '"').replace('"}', '"') | |
df = pd.read_json(s, lines=True) | |
# Re-shape dataframe with one line per guess. |
This file contains 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
ffmpeg ^ | |
-ss 00:00:05.7000 -i "videos\sevillanos (2).mp4" ^ | |
-ss 00:00:03.0000 -i "videos\sevillanos (3).mp4" ^ | |
-ss 00:00:00.8000 -i "videos\sevillanos (4).mp4" ^ | |
-ss 00:00:00.2000 -i "videos\sevillanos (5).mp4" ^ | |
-ss 00:00:02.1000 -i "videos\sevillanos (6).mp4" ^ | |
-ss 00:00:09.4000 -i "videos\sevillanos (8).mp4" ^ | |
-ss 00:00:03.4000 -i "videos\sevillanos (9).mp4" ^ | |
-ss 00:00:01.2000 -i "videos\sevillanos (11).mp4" ^ | |
-ss 00:00:01.2000 -i "videos\sevillanos (12).mp4" ^ |
This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
Generate a (Windows) ffmpeg script to create a video montage from multiple sources | |
Author: S Dobson | |
Date: 25/03/2020 | |
""" | |
import sys | |
##### CONFIGURATION ##### |