Convert all MKV files into other formats

note, May 14, 2023, on Mitja Felicijan's blog

You will need ffmpeg installed on your system. This will convert all MKV files into WebM format.

# Convert all MKV files into WebM format.
find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" -vcodec libvpx -acodec libvorbis -cpu-used 5 -threads 8 "${0%%.mp4}.webm"' {} \;
# Convert all MKV files into MP4 format.
find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" c:a copy -c:v copy -cpu-used 5 -threads 8 "${0%%.mp4}.mp4"' {} \;

Other notes

DateTitle
Lua performance in different environments
Minimal desktop setup with cwm and conky
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Edsger W. Dijkstra Manuscripts ebook
Bulk thumbnails
Making cgit look nicer
Write and read structs to/from files in Cc
Write ISO to USB Key
Convert all MKV files into other formats
Aerial photography of algae spotted on river Sava
Display xterm color palette
Parse RSS feeds with Lua
Execute not blocking async shell command in C#
Embedding resources into binary with Cc
Change permissions of matching files recursively