video splitting and capture