webrtc video not working for Logitech QuickCam S5500

RESOLVED FIXED in mozilla25

Status

()

Core
WebRTC: Audio/Video
P3
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: firefoxiscute, Assigned: jesup)

Tracking

24 Branch
mozilla25
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [getUserMedia][blocking-gum-])

Attachments

(4 attachments, 2 obsolete attachments)

(Reporter)

Description

5 years ago
Created attachment 751484 [details]
error-image.png

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0 (Beta/Release)

Steps to reproduce:

Hardware:
$ lsusb
Bus 002 Device 003: ID 046d:09a1 Logitech, Inc. QuickCam Communicate MP/S5500
OS: Linux Kubuntu 13.04

1. started nightly 24.0a1 (2013-05-19)
2. opened http://mozilla.github.io/webrtc-landing/gum_test.html
3. Clicked on "Video" button (behaviour the same for Video & Audio)
4. allowed to use "UVC Camera (046d:09a1)" in small window from url bar

(btw audio worked with mic from cam)


Actual results:

no video just strange colors (changing perhaps thrice per second) could be seen


Expected results:

See video from cam I expect
(Reporter)

Updated

5 years ago
OS: Windows 7 → Linux
Hardware: x86 → x86_64
Summary: webrtc video → webrtc video not working for Logitech QuickCam
(Reporter)

Comment 1

5 years ago
Created attachment 751485 [details]
log

The log from stdout and stderr while running the page
(Reporter)

Comment 2

5 years ago
Note that the browser I sent the bug report with is not the one I encountered the bug.
(Reporter)

Updated

5 years ago
Component: Untriaged → WebRTC
Product: Firefox → Core

Updated

5 years ago
Whiteboard: [getUserMedia][blocking-gum-]
(Assignee)

Comment 3

5 years ago
Could you repeat the test with NSPR_LOG_MESSAGES=getusermedia:5,mediamanager:5  ?
Flags: needinfo?(firefoxiscute)
(Reporter)

Comment 4

5 years ago
Created attachment 751804 [details]
log with NSPR_LOG_MESSAGES=getusermedia:5,mediamanager:5

ran with mozconfig:
ac_add_options --enable-debug
export NSPR_LOG_MESSAGES=getusermedia:5,mediamanager:5
mk_add_options NSPR_LOG_MESSAGES=getusermedia:5,mediamanager:5
Flags: needinfo?(firefoxiscute)
(Assignee)

Comment 5

5 years ago
Sorry - to get useful logging, you;ll need to download a Nightly Debug build.  They're available on the FTP site.

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/
Flags: needinfo?(firefoxiscute)
(Reporter)

Comment 6

5 years ago
Created attachment 751848 [details]
next try :-)

I assume NSPR_LOG_MESSAGES should be an environment variable set at execution time.
Used 24.0a1 (2013-05-20)
Attachment #751485 - Attachment is obsolete: true
Attachment #751804 - Attachment is obsolete: true
Flags: needinfo?(firefoxiscute)
(Assignee)

Comment 7

5 years ago
That's correct - NSPR_LOG_MESSAGES has limited use in non-debug builds as most debugs don't get compiled in.  You can also re-route the NSPR logs with NSPR_LOG_FILE (separate from stdout/err debugs).
(Assignee)

Comment 8

5 years ago
Comment on attachment 751848 [details]
next try :-)

Use "-no-remote", not --no-remote

Something's wrong; this should have printed a bunch of debugs

Verify it's running the build you think (Help/About Nightly)

Ugh.... NSPR_LOG_MODULES, not MESSAGES.  Sorry.
(Reporter)

Comment 9

5 years ago
Created attachment 751863 [details]
nspr log

This time the NSPR log.
Additional to the steps in the Bug Description I performed:
5. Click on "Stop" button

Browser version verified, still used "--no-remote".
(Assignee)

Comment 10

5 years ago
Comment on attachment 751863 [details]
nspr log

Ok, thanks.  That shows what's going on.

This webcam is an odd beast.  It supports "unknown", MJPEG, and YUY2 video formats, while we need I420 internally (aka YCrCb/YUV 4:2:0).  YUY2 is apparently YUV 4:4:4, so the conversion is easy.

I'll file a new bug to add support for incoming video format conversion.  Thanks!
(Assignee)

Updated

5 years ago
Assignee: nobody → rjesup
Status: UNCONFIRMED → NEW
Component: WebRTC → WebRTC: Audio/Video
Ever confirmed: true
OS: Linux → All
Priority: -- → P3
Hardware: x86_64 → All
(Assignee)

Updated

5 years ago
Depends on: 874351
(Assignee)

Updated

5 years ago
Summary: webrtc video not working for Logitech QuickCam → webrtc video not working for Logitech QuickCam S5500
(In reply to Randell Jesup [:jesup] from comment #10)
> formats, while we need I420 internally (aka YCrCb/YUV 4:2:0).  YUY2 is
> apparently YUV 4:4:4, so the conversion is easy.

Uh, YUY2 is 4:2:2, not 4:4:4.

Also pretty sure we use Y'CbCr internally, not CrCb.
(Assignee)

Comment 12

5 years ago
(In reply to Timothy B. Terriberry (:derf) from comment #11)
> (In reply to Randell Jesup [:jesup] from comment #10)
> > formats, while we need I420 internally (aka YCrCb/YUV 4:2:0).  YUY2 is
> > apparently YUV 4:4:4, so the conversion is easy.
> 
> Uh, YUY2 is 4:2:2, not 4:4:4.
> 
> Also pretty sure we use Y'CbCr internally, not CrCb.

Sorry, didn't bother to look up the 4cc details.  As we all know, video format naming is a mess.... and confusing.
(Reporter)

Comment 13

4 years ago
Created attachment 813771 [details]
nspr log with Nightly 27.0a1 (2013-10-03)

Fixed with the latest Nightly 27.0a1 (2013-10-03), as well as latest 25.0 beta.
I can still reproduce it with firefox 24.0.
(Assignee)

Comment 14

4 years ago
Those have long ago gotten to release.  Thanks
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.