New issue
Advanced search Search tips

Issue 645494 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 584797



Sign in to add a comment

Add support for MJPEG to FakeVideoCaptureDevice

Project Member Reported by chfremer@chromium.org, Sep 9 2016

Issue description

FakeVideoCaptureDevice is used for testing video capture code without depending on an actual device. It generates frames and currently outputs them in the I420 format.

Many actual capture devices deliver their video in MJPEG format. To enable testing the code paths for those scenarios it would be useful to have FakeVideoCaptureDevice be configurable to output MJPEG instead of I420.


 
Sounds like a good idea. Since Motion JPEG is actually not
specified ([1] : "Unlike the video formats specified [...], 
there is no document that defines a single exact format that 
is universally recognized as a complete specification of 
'Motion JPEG' for use in all contexts"), I'd recommend
just producing independent encoded JPEG images using 
gfx::JPEGCodec [2].


[1] https://en.wikipedia.org/wiki/Motion_JPEG#Disadvantages
[2] https://cs.chromium.org/chromium/src/ui/gfx/codec/jpeg_codec.h?q=jpegcodec&sq=package:chromium&l=23&dr=CSs
Labels: Hotlist-GoodFirstBug
Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)
This work has been completed, see https://codereview.chromium.org/2721633006/

Sign in to add a comment