Closed Bug 1227343 Opened 9 years ago Closed 9 years ago

Unable to get 90p in 16:9 aspect ratio(160x90)

Categories

(Core :: WebRTC: Audio/Video, defect, P2)

42 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1194640

People

(Reporter: rdaware, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Steps to reproduce:

Refer to bug 1193640. 
Used the link provided by Jan-Ivar
http://jsfiddle.net/swytxe44/

I am not able to get 90p resolution in 16:9 aspect ratio. Whenever I change the resolution, I get 160x120 i.e. 4:3 aspect ratio. Looks like firefox has issue supporting 90p on 16:9 ratio


Actual results:

Received 4:3 ratio with 160x120 resolution


Expected results:

Received 16:9 ratio with 160x90 resolution
OS: Unspecified → All
Priority: -- → P2
Hardware: Unspecified → All
Please provide your camera and system information.

Unless 160x90 is a native resolution of your camera, this is a dup of Bug 1194640. See Bug 1194640 comment 14 for a workaround (crop in playback).
Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core
Camera: Logitech c920.(It has 160x90 as native resolution)
System: Windows 10
You're right, it does appear to have that mode:
http://wiki.oz9aec.net/index.php/Logitech_HD_Pro_Webcam_C920

I only have a c910 myself which does not have that mode unfortunately (the lowest is 640x120), so I'm unable to verify.

If you could upload NSPR logs that would help.

* /c/moz/mozilla-central $ set | grep NSPR
NSPR_LOG_FILE='c:\temp\nspr.log'
NSPR_LOG_MODULES=GetUserMedia:4,MediaManager:4,CamerasParent:4,timestamp

Depending on which version of Firefox you're running, the log will have one of these names. Look for date and file size to determine which one to upload. e.g.:
* /c/temp $ ls -ltr
-rw-r--r-- 1 Jan-Ivar Administrators 116423 Nov 11 20:33 nspr.log.child-2
-rw-r--r-- 1 Jan-Ivar Administrators      0 Nov 24 09:23 nspr.log
-rw-r--r-- 1 Jan-Ivar Administrators  66908 Nov 24 09:28 nspr.log.child-1
Flags: needinfo?(rdaware)
Hi Jan-Ivar,

My bad. My webcam is Logitech B910. I tried the jsfiddle link on chrome. It supports 160x90. If I run the same script on firefox, i get 160x120. You can have a try with your webcam and compare with chrome.
Flags: needinfo?(rdaware)
AFAICT the only difference between B910 and c910 (my camera) seems to be packaging, software and maybe price, which means the camera does not have a 160x90 native resolution, according to http://wiki.oz9aec.net/index.php/Logitech_HD_Pro_Webcam_C910 , and Chrome is merely cropping 160x120 (which Firefox wont do).

So this sounds like Bug 1194640 as mentioned in comment 1. I'll close this as a duplicate of that unless there is more information.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.