A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
| #!/bin/bash | |
| OIFS="$IFS" | |
| IFS=$'\n' | |
| find ./ -name "*.srt" -type f | | |
| while read file | |
| do | |
| if ! [[ `file -bi "$file"` =~ utf-8$ ]] | |
| then |
| import glob, os | |
| # point path to directory containing the shows | |
| # load episode titles into `ep.txt` | |
| path = r"I:\Videos\show" | |
| new_filenames = [] | |
| with open(path + '\\ep.txt', 'r') as f: | |
| for line in f: | |
| new_filenames.append(line) |
| import subprocess | |
| import os | |
| import re | |
| import pycountry | |
| class RemuxingFilestoMKV: | |
| """ | |
| This python script combines videos and their subtitles into mkv container without loosing quality. |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| According to all known laws of aviation, there is no way a bee should be able to fly. | |
| Its wings are too small to get its fat little body off the ground. | |
| The bee, of course, flies anyway because bees don't care what humans think is impossible. | |
| Yellow, black. Yellow, black. Yellow, black. Yellow, black. | |
| Ooh, black and yellow! | |
| Let's shake it up a little. | |
| Barry! Breakfast is ready! | |
| Coming! | |
| Hang on a second. | |
| Hello? |
| #!/usr/bin/env python | |
| import sys | |
| import json | |
| import datetime | |
| # Feed me with output of: | |
| # ffprobe -f lavfi -i movie=INPUT.mov,ocr -show_entries frame=pkt_dts_time:frame_tags=lavfi.ocr.text -of json | |
| input= sys.argv[1] | |
| id = 0 | |
| old_time = '00:00:00,000' |
| MOVED HERE: | |
| https://gist.github.com/naveenkrdy/26760ac5135deed6d0bb8902f6ceb6bd |
Based on this blogpost.
To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.
Install with Homebrew:
$ brew install gpgI use a cheap Tapo C100 webcam to monitor my 3D prints. It supports RTSP.