[Webkit-unassigned] [Bug 240229] New: [GStreamer][VideoCapture] Add support for capturing encoded video streams from a webcam

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 05:03:05 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240229

            Bug ID: 240229
           Summary: [GStreamer][VideoCapture] Add support for capturing
                    encoded video streams from a webcam
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: llepage at igalia.com

Created attachment 459040

  --> https://bugs.webkit.org/attachment.cgi?id=459040&action=review

Capture video from a webcam and show effective stream configuration

Video streams captured from a webcam using the GStreamer API are limited to the raw video type only.
Some webcams may offer higher resolutions or frame rates with encoded streams (like image/jpeg or video/x-h264 for example).
Those resolutions and frame rates should be taken into account while choosing the webcam configuration.

Let's take for example a specific webcam with those characteristics:
video/x-raw, width=1280, height=720, framerate=10/1
image/jpeg, width=1280, height=720, framerate=30/1

When calling `navigator.mediaDevices.getUserMedia(constraints)` with those constraints:
```
video: {
    width: 1280,
    height: 720,
    frameRate: 30
}
```

The captured video stream configuration is 1280x720 at 10fps whereas the expected result should be 1280x720 at 30fps.

The attached index.html file try to capture a video stream from a webcam at 1280x720 at 30fps and shows the characteristics of the effective video stream configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220509/cae554a9/attachment-0001.htm>


More information about the webkit-unassigned mailing list