[FFmpeg-trac] #9271(avdevice:new): Get color information from source device

FFmpeg trac at avcodec.org
Mon May 31 23:50:08 EEST 2021

#9271: Get color information from source device
             Reporter:  Diederick    |                     Type:
  Niehorster                         |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  avdevice     |                  Version:  git-
                                     |  master
             Keywords:  dshow        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 As discussed in https://trac.ffmpeg.org/ticket/8454, if possible the dshow
 filter should provide information about the color range, color space,
 primaries, trc and chroma location of the frames a device provides. Some
 DirectShow devices do provide this information. I open an issue here with
 a partial patch, as a starting point and for discussion, before i send it
 to the list. I need help with the following:
 1. Check that my conversion from DXVA color information to FFmpeg's
 AVColorRange, AVColorPrimaries and AVColorTransferCharacteristic is
 2. Help to convert the DXVA color information to AVColorSpace
 3. Advice on how to provide this information to FFmpeg/the user. As far as
 i understand, this is not normally provided by the format, but by the
 codec, which (I think) it outside the purview of dshow/a format.
Ticket URL: <https://trac.ffmpeg.org/ticket/9271>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list