It is a linux script, but perhaps also a hint for another systems . :

Code:
#!/bin/bash

# if the script was not launched from a terminal, restart it from a terminal
if [ ! -t 0 ] && [ -x /usr/bin/konsole ]; then
    /usr/bin/konsole -e "bash -c \"$0 $*; read -s -p 'Press enter to continue...'\""
    exit
fi

while IFS= read -r -d $'\0' video
do
    filename=$(basename -- "$video")
    filename="${filename%.*}"
    
    ffmpeg -y -i "$video" -vcodec libx264 -crf 51 -preset ultrafast -acodec copy -f mp4 -movflags frag_keyframe+empty_moov+delay_moov pipe:1 >/dev/null 2>"${filename}.txt" </dev/null
    TxtFileName="${filename}.txt" 
    mystring=${TxtFileName}
    echo $mystring
    grep -i -n 'error\|duplicate\|failure\|missing\|POCs\|corrupt' "${TxtFileName}"
    echo "Ready"
    
done < <(find -iregex ".*\.\(mp4\|mkv\|m2ts\|mov\|mpg\|ts\)" -print0)
echo "Ready"
notify-send "Frame check complete"
mpv --no-video /home/richard/Musik/JamieWaltersHoldOn.mp3
Every video with the respective container (mp4, ...) will be analyzed, a txt-file will be generated, video-file-name.txt
To have a complete indication, a notification will be written also an acoustic feedback I will get (must be adapted to your system, wishes).