Skip to content

Instantly share code, notes, and snippets.

@woniuzfb
woniuzfb / ffmpeg-minimalist-build-nvenc-static.md
Created April 30, 2019 20:41
This gist will show you how to build a minimalist, statically-linked ffmpeg binary under the ~/bin subdirectory on your home on Ubuntu 16.04LTS. Comes with (optiona) NPP, CUDA and NVENC capabilities. See notes in the warning section.

Minimalist static FFmpeg build on Ubuntu 18.04 with Nvidia NVENC enabled.

Original guide with a standard build is here.

With this guide, I'm adding more instructions to enable support for NVIDIA CUVID and NVIDIA NPP for enhanced encode and decode performance.

Warning:

If all you require is NVENC's enablement, you do NOT need the CUDA SDK. The nv-codec-headers (below) is ALL you require.

@woniuzfb
woniuzfb / cracking.md
Created April 2, 2019 08:21
Cracking guide for Sublime Text 3 Build 3203/3200 and Sublime Merge - Build 1111/1109 (Linux x86_64) - Updated #4 (20190401)

Script for patching Sublime Text 3 and Sublime Merge - Linux x64!

Only for builds 3203/3200 and 1111/1109

License key required: NO

3203_big

@woniuzfb
woniuzfb / base64
Last active March 19, 2019 17:33 — forked from toonetown/base64
Adds an option to encode/decode url-safe base64
###
# Shell script which adds the ability to encode/decode web-safe URLs in base64. Do this by specifying
#
#!/bin/bash
ARGS=()
BAD_CHARS="+/="
SAFE_CHARS="-_ "
URL="n"; CONVERT="n"; DECODE="n"; IN="-"; OUT="-"; HELP="n"
while (($#)); do
case "${1}" in