Video compression using wavelet transform