for file in *; do 
  if [[ -f "$file" ]]; then 
    if file "$file" | grep -q "ISO Media, MPEG v4 system, 3GPP"; then
      new_name="FIX_$(basename -- "$file")"
      mv "$file" "$new_name"
      ffmpeg -i "$new_name" "fix/${new_name%.*}.mp4"
    else
      echo "File '$file' is not an MP4-compatible format. Skipping."
    fi
  fi 
done
