[Bug 793939] New: Device Monitor shows caps containing "format(string)=H264" instead of "video/x-h264" for my Webcam

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 28 21:16:01 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793939

            Bug ID: 793939
           Summary: Device Monitor shows caps containing
                    "format(string)=H264" instead of "video/x-h264" for my
                    Webcam
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: marcos.ktn at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I'm using a webcam (Logitech C920) on Windows 10. Device monitor shows some
caps containing "video/x-raw, format(string)=H264", which AFAIK is not valid
(it should be "video/x-h264").

Here are the full caps I got from device monitor:

___


gst-device-monitor-1.0.exe
Probing devices...

Device found:

        name  : HD Pro Webcam C920
        class : Video/Source
        caps  : video/x-raw, format=(string)YUY2, width=(int)640,
height=(int)480, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)160,
height=(int)90, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)160,
height=(int)120, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)176,
height=(int)144, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)12/11;
                video/x-raw, format=(string)YUY2, width=(int)320,
height=(int)180, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)320,
height=(int)240, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)352,
height=(int)288, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)12/11;
                video/x-raw, format=(string)YUY2, width=(int)432,
height=(int)240, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)640,
height=(int)360, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)800,
height=(int)448, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)800,
height=(int)600, framerate=(fraction)[ 5/1, 24/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)864,
height=(int)480, framerate=(fraction)[ 5/1, 24/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)960,
height=(int)720, framerate=(fraction)[ 5/1, 15/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)1024,
height=(int)576, framerate=(fraction)[ 5/1, 15/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)1280,
height=(int)720, framerate=(fraction)[ 5/1, 10/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)1600,
height=(int)896, framerate=(fraction)[ 5/1, 15/2 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)1920,
height=(int)1080, framerate=(fraction)5/1, pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)2304,
height=(int)1296, framerate=(fraction)2/1, pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)YUY2, width=(int)2304,
height=(int)1536, framerate=(fraction)2/1, pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)640,
height=(int)480, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)160,
height=(int)90, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)160,
height=(int)120, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)176,
height=(int)144, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)12/11;
                video/x-raw, format=(string)H264, width=(int)320,
height=(int)180, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)320,
height=(int)240, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)352,
height=(int)288, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)12/11;
                video/x-raw, format=(string)H264, width=(int)432,
height=(int)240, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)640,
height=(int)360, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)800,
height=(int)448, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)800,
height=(int)600, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)864,
height=(int)480, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)960,
height=(int)720, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)1024,
height=(int)576, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)1280,
height=(int)720, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)1600,
height=(int)896, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                video/x-raw, format=(string)H264, width=(int)1920,
height=(int)1080, framerate=(fraction)[ 5/1, 30/1 ],
pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)640, height=(int)480,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)160, height=(int)90,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)160, height=(int)120,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)176, height=(int)144,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)12/11;
                image/jpeg, width=(int)320, height=(int)180,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)320, height=(int)240,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)352, height=(int)288,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)12/11;
                image/jpeg, width=(int)432, height=(int)240,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)640, height=(int)360,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)800, height=(int)448,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)800, height=(int)600,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)864, height=(int)480,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)960, height=(int)720,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)1024, height=(int)576,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)1280, height=(int)720,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)1600, height=(int)896,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
                image/jpeg, width=(int)1920, height=(int)1080,
framerate=(fraction)[ 5/1, 30/1 ], pixel-aspect-ratio=(fraction)1/1;
        gst-launch-1.0 ksvideosrc
device-path="\\\\\?\\usb\#vid_046d\&pid_082d\&mi_00\#7\&38a25b45\&0\&0000\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\global"
! ...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list