Just use the command below:
ffmpeg -i INPUT_FILE \
  -vf scale=3840x2160:flags=lanczos \
  -c:v libx264 \
  -crf 13 \
 -c:a aac -b:a 512k \
This note describes how to connect two networks/devices/VMs over public network using Wireguard with Layer 2 support (ARP, IPv6 link-local, etc).
This can also be achieved using SSH and its "tap" tunnel, however, it does not provide the same level of latency and bandwidth as full-blown VPN such as Wireguard.
In addition, this note describes how to tunnel Wireguard over TCP connection. This may be of use if you encounter firewall in-between so, for instance, you can use TCP port 443 only.
| #!/bin/bash | |
| # Simple single-command mfplat installation designed for use with protontricks | |
| # https://github.com/Matoking/protontricks | |
| # | |
| # Licensed under CC0 1.0 Universal: | |
| # https://creativecommons.org/publicdomain/zero/1.0/ | |
| PYTHON_INSTALLCAB_PATH="/tmp/mfplat-python-installcab"; | |
| INSTALLCAB_PY="python2 $PYTHON_INSTALLCAB_PATH/installcab.py"; | |
| WINETRICKS_CACHE_PATH=$(cd ~/.cache/winetricks; pwd); | 
$ cd /tmp/
$ curl -O https://web.archive.org/web/20190512112704/https://download.microsoft.com/download/3/0/8/3080C52C-2517-43DE-BDB4-B7EAFD88F084/wmp11-windowsxp-x64-enu.exe$ cabextract wmp11-windowsxp-x64-enu.exe -d wmp11$ cd $HOME/.local/share/Steam/steamapps/compatdata/287290$ WINEPREFIX=$PWD/pfx wine winecfg
https://untrusted.website/@mr_daemon
This roughly describes the process I use to dump my old CDs to image files while attempting to retain as much of the original data as possible.
This covers mostly data cds such as games and software, and has mixed results with some copy protections, even if you dump subchannel data.
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load | 
ipvtap is similar to macvtap, but works over wifi too, since it uses the same mac address as the wifi interface.
libvirt doesn't support ipvtap, so we have to configure everything manually. Important data we need before we start:
wlan0 in my case (it's already connected - use NM or networkd+iwd).On the host:
| #!/bin/sh | |
| # Remove the performance overlay, it meddles with some tasks | |
| unset LD_PRELOAD | |
| ## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
| ## whilst being launched by plasma-session | |
| mkdir $XDG_RUNTIME_DIR/nested_plasma -p | |
| cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper | |
| #!/bin/sh | 
DB
ovs-vsctl list open_vswitch
ovs-vsctl list interface
ovs-vsctl list interface vxlan-ac000344
ovs-vsctl --columns=options list interface vxlan-ac000344
ovs-vsctl --columns=ofport,name list Interface
ovs-vsctl --columns=ofport,name --format=table list Interface
ovs-vsctl -f csv --no-heading --columns=_uuid list controller
ovs-vsctl -f csv --no-heading -d bare --columns=other_config list port