check for nice and ionice #504 if no ffmpeg look for lib-av #503