From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B80B440584 for ; Tue, 21 Dec 2021 13:54:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1315768AF42; Tue, 21 Dec 2021 15:54:00 +0200 (EET) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 546F868A921 for ; Tue, 21 Dec 2021 15:53:53 +0200 (EET) Received: by mail-lj1-f180.google.com with SMTP id 207so21495507ljf.10 for ; Tue, 21 Dec 2021 05:53:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2iJbRAZn13xO5l+Ye4V7P10P6oL0vqBAB2irGeK7gv0=; b=qVluZcz+6NVJLp2BThCtVhJjpwxudh8zkGTv+l1MD9Sj5ogGy16rMS0zHT32kC5th+ pPVCTEuehcdvbmdXUTpfIbKEnPMhYU9VJZqQKPmec3p1skJCFvHY3etuG5eRmww9ghmi tpQJihyECW8dBsyjl2Kuj4bO2VGL1q81YNoCSJObSWuD1GzYrVrywE/n7KU42lRuwsC4 d4D0XOR1tqxjphuYHqab9teUsQnVK7Xk/rezIWgdgs8xnt7oaLP3nHdGYg+JKO4Qn7/H 3Ec1nO15W2dkUr874VNg4PuJjKAiny1vPvrrDO9SZUT+UjS5HS4wUmQ5Tr0e4kaygXa3 cYWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2iJbRAZn13xO5l+Ye4V7P10P6oL0vqBAB2irGeK7gv0=; b=iyHSw+cmzH/vYS79UfYChlnnM9kMMGALcVxToIegqQMRHDVyHymCKObCNOsgmEiwWK ngI+OoshAI4Cosr24YAD8WNkuMqQhh4BpZGFuvKAo3cvTms5nbQ2b/grZ77lK/Uw2Ff9 eUQkV8DvLyGguDqpEeW40zj9IRR/EomlsarXNYnVKlnog0nziziFW5iJZES3cN2UuKwV M8/1+fLzXF/gVbAPFwHTvc+lJ5r+zB7WWLf23sYXzmTplCTJf0BNYQQl/fAdc4wQPT9W 70Sv4u9MUeI5qBJqhRlfifCJIEcbGJJ0dUUxx3OwyRgjbYDquc4SsAET0Mo2GmXsFIzA 0s+g== X-Gm-Message-State: AOAM533G3LQE26V4m8Nyrc5zCHqpAih6DWTnbjoSRomUmH66oQsZYZbG IwYwPh8mwNMB0PRN+G1VZaYC2xZxloGpKw== X-Google-Smtp-Source: ABdhPJyMHlxaUmyiQKnICH16NytYX1wIuMsfkLhADOAP3kN9/BLwMC+KqwxEnG1OanLLScPhsekUOA== X-Received: by 2002:a2e:9b07:: with SMTP id u7mr2700720lji.200.1640094832313; Tue, 21 Dec 2021 05:53:52 -0800 (PST) Received: from localhost.localdomain ([196.244.192.13]) by smtp.gmail.com with ESMTPSA id m18sm883788lfg.147.2021.12.21.05.53.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Dec 2021 05:53:51 -0800 (PST) From: Diederick Niehorster To: ffmpeg-devel@ffmpeg.org Date: Tue, 21 Dec 2021 14:53:25 +0100 Message-Id: <20211221135337.1348-1-dcnieho@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v7 00/12] dshow enhancements X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Diederick Niehorster Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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(-) -- 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-request@ffmpeg.org with subject "unsubscribe".