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
Execute not blocking async shell command in C#
Run 9front in Qemuplan9
Extend Lua with custom C functions using Clangc
Development environments with Nix
Add lazy loading of images in Jekyll posts
Easy measure time took in a bash script
Cache busting in Hugo
Compile drawterm on Fedora 38plan9
Write ISO to USB Key
Convert all MKV files into other formats
Set color temperature of displays on i3
Making cgit look nicer
Personal sane Vim defaultsvim
60's IBM Computers Commercial
Dungeon Crawl Stone Soup - New player guidedcss