Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.48k stars 788 forks source link

H265 GUID does not match in UVC Camera #436

Closed goldscu closed 3 years ago

goldscu commented 3 years ago

The GUID of H265 data read by UVC camera does not match. The GUID of DirectShow is {35363248-0000-0010-8000-00AA00389B71}, while the GUID of HEVC in LAV is {43564548-0000-0010-8000-00AA00389B71}, so it cannot Decoding, please solve this problem.

clsid2 commented 3 years ago

The GUID that LAV uses is actually correct (FourCC "HEVC"). There are multiple FourCCs for same format. What you are asking is to additionally support FourCC "H265".

Upload a short sample file. http://www.sendspace.com

goldscu commented 3 years ago

I can't upload a short sample file here, because I discovered this problem while debugging the uvc camera, and I need to debug with hardware equipment. When using DirectShow, because the two GUIDs of the subtype of AM_MEDIA_TYPE are inconsistent, the decoder Pin cannot be connected with source filter's Pin. Other people’s inability to decode H265 should be caused by this problem. I mean can you support the GUID read by DirectShow{ 35363248-0000-0010-8000-00AA00389B71}

clsid2 commented 3 years ago

I am not the developer. Just trying to help clarify things.

Which source filter are you using?

goldscu commented 3 years ago

The source filter is DirectShow offiial. When insert USB camera, the driver auto registed. Thanks for you helping!

goldscu commented 3 years ago

I uploaded a picture when debuging use graphstudionext, the FourCC describe as MEDIASUBTYPE_H265{35363248-0000-0010-8000-00AA00389B71}. Can your additionally support it? Thanks!

goldscu commented 3 years ago

https://www.sendspace.com/file/vn3vwi

goldscu commented 3 years ago

UVCSourceFilter