input: Describe an input

Description Usage Arguments Value Author(s) References See Also

Description

Create an object that contains a description of an input for ffmpeg.

Usage

1
2
3
4
5
6
fileInput(filename, duration=NULL, framerate=NULL) 
screenInput(x=0, y=0, w=640, h=480, fps=25,
            format,
            input,
            duration=2)
concatInput(filenames) 

Arguments

filename

The name of an input file.

filenames

The names of one or more input files.

duration

The number of seconds to read from the input.

framerate

The number of frames per second.

x,y,w,h

The region of the screen to capture.

format

The ffmpeg device to use to grab the screen. If not specified, defaults to "x11grab" on Linux and "gdigrab" on Windows.

input

The input source to use to grab the screen. If not specified, defaults to Sys.getenv("DISPLAY")+x,y on Linux and "desktop" on Windows.

fps

The frame rate for screen capture.

Value

An input object.

Author(s)

Paul Murrell

References

https://ffmpeg.org/

See Also

ffmpeg


pmur002/ffmpeg documentation built on May 11, 2020, 5:52 a.m.