copy ndarray before operating on it
fixed video extension by removing the prepending dot
fixing some import mishmash