diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 62a0a5c3157444023085e5a6d6405cde5885cb44..4995b61b7bce9b0b33424a5defb9c49e17c0b2a0 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -187,6 +187,7 @@
 #define VLC_CODEC_PIXLET          VLC_FOURCC('p','x','l','t')
 #define VLC_CODEC_MAGICYUV        VLC_FOURCC('M','8','Y','0')
 #define VLC_CODEC_IMM4            VLC_FOURCC('I','M','M','4')
+#define VLC_CODEC_AGM             VLC_FOURCC('A','G','M','0')
 
 /***********
  * Chromas
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index a9eb15aa9b37fe694897100ade79bec330042c62..c238c8702e7000b30391bc2349745fa73d27a6ba 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1208,6 +1208,16 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_D3D11_OPAQUE_BGRA, "BGRA D3D11 opaque"),
         A("DAGR"),
+
+    B(VLC_CODEC_AGM, "AmuseGraphics Movie"),
+        A("AGM0"),
+        A("AGM1"),
+        A("AGM2"),
+        A("AGM3"),
+        A("AGM4"),
+        A("AGM5"),
+        A("AGM6"),
+        A("AGM7"),
 };
 
 static const staticentry_t p_list_audio[] = {