vlc with error treatment