Video preview works slowly