Update the fourcc codes link
authorHenrik Dobbe Flemmen <hflemmen@gmail.com>
Mon, 12 Sep 2022 12:37:11 +0000 (14:37 +0200)
committerAlexander Smorkalov <alexander.smorkalov@xperience.ai>
Wed, 14 Sep 2022 06:25:57 +0000 (09:25 +0300)
modules/videoio/include/opencv2/videoio.hpp

index aa247dd84eac36d4d090e261df80ae1db48a0aad..b63441aca9ccb97c5c30746ce0cb87a4864a7eff 100644 (file)
@@ -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.