diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c
index e5c2c82..b60fe1c 100644
--- a/gst-libs/gst/video/video.c
+++ b/gst-libs/gst/video/video.c
@@ -713,6 +713,12 @@ gst_video_format_from_fourcc (guint32 fourcc)
       return GST_VIDEO_FORMAT_NV12;
     case GST_MAKE_FOURCC ('N', 'V', '2', '1'):
       return GST_VIDEO_FORMAT_NV21;
+    case GST_MAKE_FOURCC ('Y', '8', '0', '0'):
+    case GST_MAKE_FOURCC ('Y', '8', ' ', ' '):
+    case GST_MAKE_FOURCC ('G', 'R', 'E', 'Y'):
+      return GST_VIDEO_FORMAT_GRAY8;
+    case GST_MAKE_FOURCC ('Y', '1', '6', ' '):
+      return GST_VIDEO_FORMAT_GRAY16_LE;
     case GST_MAKE_FOURCC ('v', '3', '0', '8'):
       return GST_VIDEO_FORMAT_v308;
     default:
@@ -764,6 +770,10 @@ gst_video_format_to_fourcc (GstVideoFormat format)
       return GST_MAKE_FOURCC ('N', 'V', '1', '2');
     case GST_VIDEO_FORMAT_NV21:
       return GST_MAKE_FOURCC ('N', 'V', '2', '1');
+    case GST_VIDEO_FORMAT_GRAY8:
+      return GST_MAKE_FOURCC ('Y', '8', '0', '0');
+    case GST_VIDEO_FORMAT_GRAY16_LE:
+      return GST_MAKE_FOURCC ('Y', '1', '6', ' ');
     case GST_VIDEO_FORMAT_v308:
       return GST_MAKE_FOURCC ('v', '3', '0', '8');
     default:
@@ -916,6 +926,8 @@ gst_video_format_is_yuv (GstVideoFormat format)
     case GST_VIDEO_FORMAT_v216:
     case GST_VIDEO_FORMAT_NV12:
     case GST_VIDEO_FORMAT_NV21:
+    case GST_VIDEO_FORMAT_GRAY8:
+    case GST_VIDEO_FORMAT_GRAY16_LE:
     case GST_VIDEO_FORMAT_v308:
       return TRUE;
     case GST_VIDEO_FORMAT_RGBx:
