Skip to content

Instantly share code, notes, and snippets.

View MichaelHeimann's full-sized avatar

MichaelHeimann

  • Munich, Germany
View GitHub Profile
@MichaelHeimann
MichaelHeimann / dvplexfix.sh
Last active December 29, 2025 00:57 — forked from BluSyn/dvplexfix.sh
Converts Dolby Vision Profile 5 encoded video files into format acceptable to Plex
#!/bin/bash
origfile="$(realpath "${1}")"
basefile="$(basename "${origfile}")"
basedir="$(dirname "${origfile}")"
ext="${basefile##*.}"
newfile="$(basename -s "${ext}" "${origfile}")nodv.${ext}"
echo "Transcoding File ${basefile} in ${basedir}..."