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

FFmpeg trac at avcodec.org
Tue Jun 1 23:20:18 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):

 >>  Yeah, looks nice. The only moment I dunno is MFVideoPrimaries_DCI_P3.
 Is it DCI-P3 or actually Display P3 (DCI-D65 uses D65)? Sigh. Not
 documented by Micro.

 Lets leave it as is, best guess i guess.

 >> Also, fallback to primaries/trc and stuff already happens here:
 ​https://github.com/FFmpeg/FFmpeg/blob/bc70684e74a185d7b80c8b80bdedda659cb581b8/libavfilter/vf_colorspace.c#L74

 Best to keep it here anyway, many signals don't go through that filter?

 >> Also, is P010BE signalisation is actually big endian or is that (as
 Carl noted) actually little endian and dshow is just swapped??
 Thats a question for the other patch, right? I have no clue, hope the
 original submitter can chime in on that (e.g. by trying it out once
 patches are in).

 I haven't worked with this FATE thing before. Do both my patch here and
 the other patch trigger changes in these hashes? Then i could do them both
 at once. If my patch here doesn't, i'd hope to stay away from it ;)
 Proof's in the pudding, i'll give it a try.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9271#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list