TIL: The mediainfo command (apt install mediainfo) will show you the codecs used by the audio and video in a file. Very useful if you have a .webm and it doesn't play in Jellyfin - for me most of the time it's the lack of AV1 support in iOS which means I have to convert using a command like:
ffmpeg -i input.webm -c:v libx264 -crf 20 -preset medium -c:a copy output.mp4
Although file size went from 650MB to 2.5GB!