linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unsupported format MFVideoFormat_P010 for Elgato HD60S+
@ 2019-12-03 10:44 Qu Wenruo
  2019-12-03 11:09 ` Qu Wenruo
  2019-12-03 17:31 ` Nicolas Dufresne
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2019-12-03 10:44 UTC (permalink / raw)
  To: linux-media


[-- Attachment #1.1: Type: text/plain, Size: 404 bytes --]

Hi,

Just got my capture card, Elgato HD60S+.

Although it supports UVC, Linux still doesn't support it (yet?)

[34381.339277] uvcvideo: Unknown video format
30313050-0000-0010-8000-00aa00389b71

After a little search, that GUID looks like MFVideoFormat_P010, which
looks like a 10bit YUV format, and ffmpeg looks supporting it.

Any idea on the Linux support of that card?

Thanks,
Qu


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unsupported format MFVideoFormat_P010 for Elgato HD60S+
  2019-12-03 10:44 Unsupported format MFVideoFormat_P010 for Elgato HD60S+ Qu Wenruo
@ 2019-12-03 11:09 ` Qu Wenruo
  2019-12-03 17:31 ` Nicolas Dufresne
  1 sibling, 0 replies; 3+ messages in thread
From: Qu Wenruo @ 2019-12-03 11:09 UTC (permalink / raw)
  To: linux-media


[-- Attachment #1.1: Type: text/plain, Size: 2011 bytes --]



On 2019/12/3 下午6:44, Qu Wenruo wrote:
> Hi,
> 
> Just got my capture card, Elgato HD60S+.
> 
> Although it supports UVC, Linux still doesn't support it (yet?)
> 
> [34381.339277] uvcvideo: Unknown video format
> 30313050-0000-0010-8000-00aa00389b71
> 
> After a little search, that GUID looks like MFVideoFormat_P010, which
> looks like a 10bit YUV format, and ffmpeg looks supporting it.
> 
> Any idea on the Linux support of that card?

And the probing log:

uvcvideo: Probing generic UVC device 2
uvcvideo: Found format YUV 4:2:2 (YUYV).
uvcvideo: - 1920x1080 (60.0 fps)
uvcvideo: Found format YUV 4:2:0 (NV12).
uvcvideo: - 1920x1080 (60.0 fps)
uvcvideo: Found format YUV 4:2:0 (I420).
uvcvideo: - 1920x1080 (60.0 fps)
uvcvideo: Unknown video format 30313050-0000-0010-8000-00aa00389b71
uvcvideo: Found format 30313050-0000-0010-8000-00aa003.
uvcvideo: - 1920x1080 (60.0 fps)
uvcvideo: Found a Status endpoint (addr 82).
uvcvideo: Found UVC 1.10 device Game Capture HD60 S+ (0fd9:006a)
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device
2 entity 2
uvcvideo: Adding mapping 'Brightness' to control
00000000-0000-0000-0000-000000000101/2.
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device
2 entity 2
uvcvideo: Adding mapping 'Contrast' to control
00000000-0000-0000-0000-000000000101/3.
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device
2 entity 2
uvcvideo: Adding mapping 'Hue' to control
00000000-0000-0000-0000-000000000101/6.
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device
2 entity 2
uvcvideo: Adding mapping 'Saturation' to control
00000000-0000-0000-0000-000000000101/7.
uvcvideo: Scanning UVC chain: OT 3 <- PU 2 <- IT 1
uvcvideo: Found a valid video chain (1 -> 3).

It looks like there are still supported format, but guvcview can't
detect the device.

But OBS can utilize the device.

So it's a user-space problem...
> 
> Thanks,
> Qu
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unsupported format MFVideoFormat_P010 for Elgato HD60S+
  2019-12-03 10:44 Unsupported format MFVideoFormat_P010 for Elgato HD60S+ Qu Wenruo
  2019-12-03 11:09 ` Qu Wenruo
@ 2019-12-03 17:31 ` Nicolas Dufresne
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Dufresne @ 2019-12-03 17:31 UTC (permalink / raw)
  To: Qu Wenruo, linux-media

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

Le mardi 03 décembre 2019 à 18:44 +0800, Qu Wenruo a écrit :
> Hi,
> 
> Just got my capture card, Elgato HD60S+.
> 
> Although it supports UVC, Linux still doesn't support it (yet?)
> 
> [34381.339277] uvcvideo: Unknown video format
> 30313050-0000-0010-8000-00aa00389b71
> 
> After a little search, that GUID looks like MFVideoFormat_P010, which
> looks like a 10bit YUV format, and ffmpeg looks supporting it.

This format is mapped in DRM already, you will need to map it into the
V4L2 enum, document it and then add the mapping in the UVC driver.
Should not be too hard.

https://docs.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats

You could also add P012 and P016 while at it. These are not super
memory efficient in 10 and 12 bits, but they are compatible with 16
bits and are efficient to read/write.

> 
> Any idea on the Linux support of that card?
> 
> Thanks,
> Qu
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-03 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 10:44 Unsupported format MFVideoFormat_P010 for Elgato HD60S+ Qu Wenruo
2019-12-03 11:09 ` Qu Wenruo
2019-12-03 17:31 ` Nicolas Dufresne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).