mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 04:12:52 +08:00
Update the fourcc codes link
This commit is contained in:
parent
d885242b61
commit
6481cfd048
@ -876,9 +876,11 @@ public:
|
||||
/** @overload
|
||||
@param filename Name of the output video file.
|
||||
@param fourcc 4-character code of codec used to compress the frames. For example,
|
||||
VideoWriter::fourcc('P','I','M','1') is a MPEG-1 codec, VideoWriter::fourcc('M','J','P','G') is a
|
||||
motion-jpeg codec etc. List of codes can be obtained at [Video Codecs by
|
||||
FOURCC](http://www.fourcc.org/codecs.php) page. FFMPEG backend with MP4 container natively uses
|
||||
VideoWriter::fourcc('P','I','M','1') is a MPEG-1 codec, VideoWriter::fourcc('M','J','P','G')
|
||||
is a motion-jpeg codec etc. List of codes can be obtained at
|
||||
[MSDN](https://docs.microsoft.com/en-us/windows/win32/medfound/video-fourccs) page
|
||||
or with this [archived page](https://web.archive.org/web/20220316062600/http://www.fourcc.org/codecs.php)
|
||||
of the fourcc site for a more complete list). FFMPEG backend with MP4 container natively uses
|
||||
other values as fourcc code: see [ObjectType](http://mp4ra.org/#/codecs),
|
||||
so you may receive a warning message from OpenCV about fourcc code conversion.
|
||||
@param fps Framerate of the created video stream.
|
||||
|
Loading…
Reference in New Issue
Block a user