Initialise frame data as well as metadata