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:
#!/bin/sh | |
# modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script | |
# Uses curl to be compatible with machines that don't have wget by default | |
LINODE_API_KEY=licensekey | |
DOMAIN_ID=domainid | |
RESOURCE_ID=resourceid | |
WAN_IP=`curl -s ifconfig.me/ip` | |
if [ -f $HOME/.wan_ip.txt ]; then |
Note that there are API changes in BlackMagic Design (BMD) SDK 11 onwards; so as of vlc-3.0.8, compile it with BMD SDK 10.11.4.
Also note that you need to disable UEFI Secure Boot in order to install BMD driver successfully.
Additional note: VLC may have stuttering sound when playing through DeckLink which is caused by commit 576b4da8d674d8a98dd493e9b343f1875efde047
tar -xf Blackmagic_Desktop_Video_Linux_*.tar.gz
cd Blackmagic_Desktop_Video_Linux_*/deb/x86_64/
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.# If you change some settings in the zfs dataset you should rebalance it in order to store data with this current settings. | |
# Usage: | |
# zfs set recordsize=1M data/archive | |
# sh ./rebalance_zfs.sh /data/archive| parallel -P 16 --eta | |
mypath=$1 | |
find $mypath -type f | xargs -d '\n' -I{} echo "rsync -a --inplace \"{}\" \"{}.abcdef\";unlink \"{}\";mv \"{}.abcdef\" \"{}\" " |