Credit @sainyamkapoor for videoweed extractor