convert_to_mp4: Convert Video to .mp4

Description Usage Arguments Examples

Description

Reports the length of a video in seconds.

Usage

1
2
convert_to_mp4(path, out = paste0(substring(path, 1, nchar(path) - 4),
  ".mp4"), codec = NULL)

Arguments

path

Path to the in video file.

out

Path to the in out .mp4 file.

codec

An optional codec string to supply ffmpeg. If NULL), convert_to_mp4 will attempt to guess based on in put )path) video file extension.

Examples

1
2
3
4
5
## Not run: 
convert_to_mp4("new_project.wmv")
convert_to_mp4("x.avi")

## End(Not run)

trinker/embodied documentation built on May 31, 2019, 8:42 p.m.