Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| param( | |
| [switch]$source, | |
| [string]$manifest_file = (Join-Path $env:USERPROFILE "Documents\tts_cache_manifest.txt"), | |
| [string]$tts_mod_path = (Join-Path $env:USERPROFILE "Documents\My Games\Tabletop Simulator\Mods"), | |
| [string]$zip_file = (Join-Path $env:USERPROFILE "Documents\tts_cache_missing_files_$(Get-Date -Format 'yyyyMMdd_HHmmss').zip") | |
| ) | |
| function Get-RelativePaths { | |
| param([string]$path) |
| # Pre-requisites: Python and tweepy. You will also need to register a Twitter app here: https://apps.twitter.com/ | |
| # To use: replace XXXXXX with the appropriate info and run the script. | |
| # Tip: To find the ID of a retweet, view the page source in your browser and look for data-retweet-id. | |
| import tweepy | |
| # auth and api | |
| consumer_key = 'XXXXXX' | |
| consumer_secret = 'XXXXXX' | |
| access_token = 'XXXXXX' |
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |
As configured in my dotfiles.
start new:
tmux
start new with session name: