[FFmpeg-devel] [PATCH] avformat/riff: add more GeoVision FOURCC

Thomas Guillem thomas at gllm.fr
Thu Feb 17 12:01:38 EET 2022


---
 libavformat/riff.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/riff.c b/libavformat/riff.c
index 27a9706510..23e6306b66 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -32,6 +32,7 @@
  * files use it as well.
  */
 const AVCodecTag ff_codec_bmp_tags[] = {
+    { AV_CODEC_ID_H265,         MKTAG('G', 'H', 'E', 'C') }, /* GeoVision camera */
     { AV_CODEC_ID_H264,         MKTAG('H', '2', '6', '4') },
     { AV_CODEC_ID_H264,         MKTAG('h', '2', '6', '4') },
     { AV_CODEC_ID_H264,         MKTAG('X', '2', '6', '4') },
@@ -115,6 +116,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { AV_CODEC_ID_MPEG4,        MKTAG('P', 'L', 'V', '1') }, /* Pelco DVR MPEG-4 */
     { AV_CODEC_ID_MPEG4,        MKTAG('G', 'L', 'V', '4') },
     { AV_CODEC_ID_MPEG4,        MKTAG('G', 'M', 'P', '4') }, /* GeoVision camera */
+    { AV_CODEC_ID_MPEG4,        MKTAG('G', 'M', '4', '0') }, /* GeoVision camera */
     { AV_CODEC_ID_MPEG4,        MKTAG('M', 'N', 'M', '4') }, /* March Networks DVR */
     { AV_CODEC_ID_MPEG4,        MKTAG('G', 'T', 'M', '4') }, /* Telefactor */
     { AV_CODEC_ID_MSMPEG4V3,    MKTAG('M', 'P', '4', '3') },
-- 
2.30.2



More information about the ffmpeg-devel mailing list