On Apr 25, 2015 3:39 PM, <[email protected]> wrote: > > Le jeudi 23 avril 2015 01:12:54 UTC+2, Randell Jesup a écrit : > > On 4/22/2015 5:45 PM, Gian-Carlo Pascutto wrote: > > > On 21/04/2015 22:24, [email protected] wrote: > > > > > >> I discovered that the pixels coming form getUserMedia() have been > > >> compressed (VP8 codec). This gives messy values to my depth pixels. > > > That sounds wrong. Why would the local video be compressed? > > > > > > Maybe you're seeing some colorspace conversion instead? > > > > If your camera is using MJPEG (which was broken for a long time, and > > just re-landed) then obviously the video is compressed. > > > > Cameras are inherently noisy, and often run mini-DSPs to do color > > correction, deflickering (florescents), denoising, low-light > > compensation (adds noise or removes detail or both), etc. > > > > We do prefer YPrPb 4:2:0 video, and convert to that if it isn't. > > > > -- > > Randell Jesup > > Actually, I create the video pixels in a directshow video camera driver. > I use 24 RGB RAW color format.
Even if it's a fake RGB camera, we'll convert it to YPrPb 4:2:0. That shouldn't be noisy, but is lossy. -- Randell Jesup _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

