In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
| # Put this function to your .bashrc file. | |
| # Usage: mv oldfilename | |
| # If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
| # Original mv is called when it's called with more than one argument. | |
| # It's useful when you want to change just a few letters in a long name. | |
| # | |
| # Also see: | |
| # - imv from renameutils | |
| # - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |
| // ==UserScript== | |
| // @name Netflix Profile Gate Blocker | |
| // @description Get rid of Netflix's annoying "Who's watching?" screen | |
| // @include https://www.netflix.com/* | |
| // @version 2.0 | |
| // ==/UserScript== | |
| /* | |
| Netflix shows a profile selection window when the | |
| user is inactive for more than 30 minutes. |
| /* | |
| Yes, 1024 is an internal limit of __android_log_print / __android_log_vprint functions which printf() uses. See https://github.com/android/platform_system_core/blob/master/liblog/logd_write.c | |
| As a workaround I can suggest using custom printf function: | |
| */ | |
| #include <android/log.h> | |
| void uprintf(const char* format, ...) { | |
| va_list args; |
| #!/bin/bash | |
| set -o errexit | |
| set -o nounset | |
| if [[ ${#} -ne 1 ]] | |
| then | |
| echo "Usage: ${0} upstart-conf-file" >&2 | |
| exit 1 | |
| fi |
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |