compress jpeg to video