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:
| # 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: