fourcc: Codec Name to FOURCC Code

View source: R/VideoWriterClass.R

fourccR Documentation

Codec Name to FOURCC Code

Description

fourcc translates the 4-character name of a video codec into its corresponding FOURCC code.

Usage

fourcc(x)

Arguments

x

A 4-element character chain corresponding to the name of a valid video codec. A list of valid codec names can be found at this archived page of the fourcc site https://www.fourcc.org/codecs.php.

Value

An integer value corresponding to the FOURCC code of the video codec.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

VideoWriter, videoWriter, codec, invertFourcc

Examples

fourcc("xvid")


neuroconductor-devel/Rvision documentation built on June 10, 2025, 12:04 a.m.