Skip to contents

Retrieve the reproducibility manifest recorded by ffm_batch() when it was run with manifest = TRUE. The manifest is a tibble with one row per job. Each row has the compiled command and the FFmpeg and FFprobe versions used. It also has the time of the run, the input and output paths, and the output file size. When the batch ran with checksums = TRUE, each row also has md5 checksums of the input and output files. With the manifest, a batch run leaves a record that others can check.

Usage

ffm_manifest(x, path = NULL)

Arguments

x

A tibble returned by ffm_batch() with manifest = TRUE.

path

An optional file path. When supplied, the manifest is also written there as CSV (via utils::write.csv, no row names) and returned invisibly.

Value

The manifest tibble; invisibly when path is written.

See also

ffm_batch(), which records the manifest.

Other verification functions: verify_media()

Examples

video <- system.file("extdata", "sample.mp4", package = "tidymedia")
jobs <- tibble::tibble(input = video, output = tempfile(fileext = ".mp3"))
res <- ffm_batch(jobs, manifest = TRUE, .f = function(input, output, ...) {
  ffm_files(input, output) |> ffm_drop("video")
})
ffm_manifest(res)
#> # A tibble: 1 × 7
#>   command      input output output_size ffmpeg_version ffprobe_version timestamp
#>   <chr>        <chr> <chr>        <dbl> <chr>          <chr>           <chr>    
#> 1 "-y -i \"/h… /hom… /tmp/…        8898 6.1.1-3ubuntu5 6.1.1-3ubuntu5  2026-10-…