parse video information on Ruby