These two patches check if a DirectShow device provides color
information and sets this in the AVStream. If a device provides equivalent 
formats with and without color information, the format with color information 
is used.

I'm a first-time contributor, hope all is in order.

Example output of list_options for a device supporting extended color
information, before and after this patch series:
pixel_format=yuyv422  min s=640x480 fps=5 max s=640x480 fps=30
pixel_format=yuyv422  min s=640x480 fps=5 max s=640x480 fps=30 (tv, 
bt470bg/bt709/unknown, topleft)

vcodec=h264  min s=640x480 fps=5 max s=640x480 fps=30
vcodec=h264  min s=640x480 fps=5 max s=640x480 fps=30 (tv, 
bt470bg/bt709/unknown, topleft)

vcodec=mjpeg  min s=1920x1080 fps=5 max s=1920x1080 fps=30
vcodec=mjpeg  min s=1920x1080 fps=5 max s=1920x1080 fps=30 (pc, 
bt470bg/bt709/unknown, center)

Diederick Niehorster (2):
  avdevice/dshow: discover source color range/space/etc
  avdevice/dshow: select format with extended color info

 libavdevice/dshow.c | 601 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 514 insertions(+), 87 deletions(-)

-- 
2.28.0.windows.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to