add utility to convert video into y-t slice image