Skip to content

Instantly share code, notes, and snippets.


With you get something like:

dyld: Library not loaded: @rpath/ffmpeg/lib/osx/libavutil.55.dylib Referenced from: /Users/studio/Work/Repositories/Cannula/HAPTest/bin/ Reason: image not found

On Xcode > Build Settings > Other Linker Flags > Debug AND Release (not using AppStore), change:


youandhubris /
Created Apr 13, 2018
Bash - Adding a new PATH on macOS



(edit ~/.bash_profile and append)

# Setting PATH for something
export PATH
youandhubris / AppleScript Mail Send.scpt
Last active Aug 29, 2022
AppleScript to send e-mail, using Apple's Mail, with multiple recipients, cc, bcc and attachments
View AppleScript Mail Send.scpt
tell application "Mail"
set theFrom to ""
set theTos to {}
set theCcs to {}
set theBccs to {}
set theSubject to ""
set theContent to ""
set theSignature to ""
youandhubris /
Created Apr 12, 2018
Force GitHub to properly detect your repositories main language(s)

Create/Edit .gitattributes, and declare what to ignore, like so:

.make linguist-vendored


Reference/Credits to Monica Powell

youandhubris / GLFW - Error-65544 - Windows
Last active Apr 12, 2018
Possible fix for GLFW error 65544 on Windows
View GLFW - Error-65544 - Windows

GLFW error 65544: No monitor found.

Go to Device Manager > Monitors and check if the correct device is enabled and properly installed. Do Update Driver.

View .gitattributes
# Auto detect text files and perform LF normalization
* text=auto
youandhubris / Config
Last active Apr 4, 2018
Configure submodule to be able to commit and update from another repository
View Config

On the submodule repository:

git config receive.denyCurrentBranch updateInstead


youandhubris / openframeworks.gitignore
Last active Apr 1, 2018
Collection of useful Git ignores
View openframeworks.gitignore
# Linux
# macOS
youandhubris / HAP-Alpha-1080p.epr
Last active Apr 1, 2018
Presets for Adobe Media Encoder
View HAP-Alpha-1080p.epr
<?xml version="1.0" encoding="UTF-8"?>
<PremiereData Version="3">
youandhubris /
Last active Mar 8, 2022
FFmpeg & FFprobe


To HAP Alpha

ffmpeg -i in.mp4 -vcodec hap -format hap_alpha

To HEVC (x265) GPU

ffmpeg -hwaccel cuvid -i in.mkv -c:v hevc_nvenc -preset slow -b:v 8M -maxrate:v 8.5M -pix_fmt yuv420p out.mkv


Aiff from H264