Skip to contents

Retrieve a data object stored in a video file metadata tag

Usage

ov_get_video_data(video_file, tag = "ov_court_info", b64 = TRUE)

Arguments

video_file

string: path to the video file

tag

string: the tag name to use

b64

logical: was obj serialized and base64-encoded before storing?

Value

The stored information, or NULL if there was none

Examples

if (FALSE) {
  if (interactive()) {
    ## mark the geometry of the court in the video
    ref <- ov_shiny_court_ref(video_file = ov_example_video(), t = 5)

    ## store it
    newfile <- ov_set_video_data(ov_example_video(), obj = ref)

    ## retrieve it
    ov_get_video_data(newfile)
  }
}