Skip to content

Instantly share code, notes, and snippets.

View besworks's full-sized avatar

Russell Beswick besworks

View GitHub Profile
@witmin
witmin / ffmpeg-mp4-to-animated-webp.md
Last active July 13, 2025 14:57
Convert MP4 file to animated WebP in ffmpeg

Convert MP4 file to animated WEBP file in ffmpeg CLI

1. Install ffmpeg CLI through homebrew

In terminal.app, install ffmpeg through homebrew

brew install ffmpeg

Validate the installation:

@nitrag
nitrag / convert_m4b.sh
Last active July 9, 2025 01:54
Audibook convert m4b to mp3. This will split into chaptered mp3 files and automatically reconfigure proper ID3v2 tags.
#!/bin/bash
#
# sudo apt-get install id3v2 ffmpeg
#
# USAGE:
# cd /book title/
# bash ~/this_script_path.sh
# rm *.m4b (you need to manually remove the original in case something goes wrong)
#
#