added video conversion for local videos