IT notes

libx265

To reduce/compress a video size you could use: ffmpeg -i input.mov -vcodec libx265 -crf 28 output.mp4 Be aware that libx265 is not supported in many players so you can always fallback to H.264: ffmpeg -i input.mov output.mp4 https://unix.stackexchange.com/questions/28803/how-can-i-reduce-a-videos-size-with-ffmpeg

aax2m4b

Convert an audiobook .aax to .m4b using ffmpeg brew install chromedriver ffmpeg sudo easy_install pip pip install selenium requests git clone https://github.com/inAudible-NG/audible-activator cd audible-activator sed -i '' 's,chromedriver_path = "./chromedriver",chromedriver_path = "/usr/local/bin/chromedriver",' audible-activator.py ./audible-activator.py When running audible-activator.py It will ask for the audible username/password it will open chrome, and when finish print the activation bytes: $ ./audible-activator.py Username: [email protected] Password: [*] Player ID is 1xmjyl5rSw0yVb/olWBYuU/NBxk= activation_bytes: b97f4709 One having the activation_bytes, use ffmpeg: