fourcc
translates the 4-character name of a video codec
into its corresponding FOURCC code.
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.
Author
Simon Garnier, garnier@njit.edu