[FFmpeg-trac] #9271(avdevice:open): Get color information from source device
FFmpeg
trac at avcodec.org
Tue Jun 1 21:46:36 EEST 2021
#9271: Get color information from source device
-------------------------------------+-------------------------------------
Reporter: Diederick | Owner: (none)
Niehorster |
Type: enhancement | Status: open
Priority: normal | Component: avdevice
Version: git-master | Resolution:
Keywords: dshow | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Diederick Niehorster):
Ok, in dshow_color_primaries i now check if MFVideoTransFunc_2020_const is
applied, and symmetrically, in dshow_color_trc i now check if
MFVideoTransferMatrix_BT2020_10 or MFVideoTransferMatrix_BT2020_12 is
applied. Also fixed the DV PAL chroma location. I have updated the
attached patch. Does this look all correct to you then: ready to go? The
final patch will be more involved, as i ran into devices that expose the
same formats twice, just once with the extended info attached and once
not. So format selection logic needs to change to make sure the one with
extended info gets selected if available. I'll just send that along with
this to the devel list directly.
Great the Microsoft docs got fixed so quick, good you did that!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9271#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list