get_frame works with metadata