install_ffmpeg: Install external FFmpeg software into 'glatos' package

View source: R/util-install_ffmpeg.r

install_ffmpegR Documentation

Install external FFmpeg software into 'glatos' package

Description

Downloads and installs external ffmpeg into 'glatos' package directory system to enable creation animated videos of fish movements

Usage

install_ffmpeg()

Details

install_ffmpeg determines operating system (Windows or Mac) and downloads the latest stable version of FFmpeg software. FFmpeg software is installed within glatos package and may be accessed using system.file

Value

message is returned to console signalling successful installation

Author(s)

Todd Hayden

Examples


## Not run: 

# call function
install_ffmpeg()

# determine version of FFmpeg installed and if install was successful
fle <- system.file("bin", "ffmpeg.exe", package = "glatos")
system2(fle, "-version")


## End(Not run)

jsta/glatos documentation built on July 11, 2022, 7:01 a.m.