| ffm_manifest | R Documentation |
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.
ffm_manifest(x, path = NULL)
x |
A tibble returned by |
path |
An optional file path. When supplied, the manifest is also
written there as CSV (via |
The manifest tibble; invisibly when
path is written.
ffm_batch(), which records the manifest.
Other verification functions:
verify_media()
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_codec(audio = "libmp3lame")
})
ffm_manifest(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.