Directshow: setting MPEG2VIDEOINFO extra info for MEDIASUBTYPE_HVC1

184 views Asked by At

I've wrapped the x265 code into a DirectShow filter and can't get the video to playback with LAV Filters.

I can't find any documentation from Microsoft with respect to how the MPEG MPEG2VIDEOINFO should be filled in when outputting MEDIASUBTYPE_HVC1 so I've tried using a similar to H.264.

enter image description here

Connection is fine, but playback results in a black window.

In the GraphStudioNext property window I see a "HEVC Decoder Configuration Record" structure but the values output by my filter don't look right.enter image description here

Does anyone know how to set the extra data of the MPEG2VIDEOINFO header? A link to some documentation on how this should be configured would be great as well.

0

There are 0 answers