for f in *.mkv; do ffmpeg -i "$f" -c copy "$f%.mkv.mp4" done
If you are having trouble getting .mkv video files to work on your server, the issue is typically related to or missing codecs rather than the server itself. myservercom filemkv work
To get files working correctly on your server (like Jellyfin ), you typically need to ensure your server can properly recognize and stream the codecs contained within those files. How to Make MKV Files Work on Your Server for f in *
Quality loss, time, and storage but maximum compatibility. for f in *.mkv