mbox series

[FFmpeg-devel,v7,00/12] dshow enhancements

Message ID 20211221135337.1348-1-dcnieho@gmail.com
Headers show
Series dshow enhancements | expand

Message

Diederick C. Niehorster Dec. 21, 2021, 1:53 p.m. UTC
This series solves some outstanding bugs in the dshow device, implements
get_device_list so that `ffmpeg -sources dshow` works and adds logic to
select a video format with extended color information (color range,
space, etc) if exposed by the device.

v7 adresses review comments from Hendrik on patch 11/12.

This is a new version of part of the patch series in
https://ffmpeg.org/pipermail/ffmpeg-devel/2021-July/282073.html,
addressing review comments i got there. They have been previously OK'ed
offlist by the dshow maintainer Roger Pack. Specifically, these patches
are the enhancements that should be uncontroversial as they do not touch
the avformat API. Once pushed, i'll re-send the other more controversial
patches on top of these.

Diederick Niehorster (12):
  avdevice/dshow: prevent NULL access
  avdevice/dshow: implement option to use device video timestamps
  avdevice/dshow: query graph and sample time only once
  avdevice/dshow: handle unknown sample time
  avdevice/dshow: set no-seek flags
  avdevice/dshow: implement get_device_list
  avdevice/dshow: list_devices: show media type(s) per device
  avdevice: add info about media types(s) to AVDeviceInfo
  avdevice/dshow: add media type info to get_device_list
  fftools: provide media type info for devices
  avdevice/dshow: discover source color range/space/etc
  avdevice/dshow: select format with extended color info

 doc/indevs.texi             |   6 +
 fftools/cmdutils.c          |  34 +-
 libavdevice/avdevice.c      |   1 +
 libavdevice/avdevice.h      |   2 +
 libavdevice/dshow.c         | 822 +++++++++++++++++++++++++++++++-----
 libavdevice/dshow_capture.h |   1 +
 libavdevice/dshow_pin.c     |  52 ++-
 libavdevice/version.h       |   4 +-
 8 files changed, 778 insertions(+), 144 deletions(-)