Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: toots@rastageeks.org
To: ffmpeg-devel@ffmpeg.org
Cc: Romain Beauxis <toots@rastageeks.org>
Subject: [FFmpeg-devel] [PATCH 0/6] Various libavdevice cleanup & enhancements
Date: Tue, 22 Mar 2022 14:39:51 +0100
Message-ID: <20220322133957.81743-1-toots@rastageeks.org> (raw)

From: Romain Beauxis <toots@rastageeks.org>

This is a series of patches that fix and enhances libavdevice & have been submitted multiple times in the past 6 months. In the series, the most straightforward patches have been placed first in the list.

While I have a lot of appreciation for all the solid work done in this project, seeing the difficulty in getting them included makes one wonder what is the status of libavdevice and if it is still actively maintained.

Typically, in the first patch, we fix the name/machine readable ID of dshow devices. If the API has any significant use or maintenance, this should have been caught and fixed much sooner.

Next, the patches fixing the avfoundation device audio format and concurrency models are absolutely required to get any use of this operator as audio input and, quite likely, as video input as well.

This is a lot of changes to make the library usable for a cross-platform project and, with the lack of traction with the changes, this makes the developer wonder if the library is ready for production use and if it wouldn't be easier to implement hardware handling separately and plug into FFmpeg after retreiving media data.

There are more that I have noticed with the API, in particular the fact that audio/video devices are labelled as video. I would love to submit changes to enhance that aspect but, not with all these patches already pending..

Thanks for y'all consideration.
-- Romain

Romain Beauxis (6):
  Fix dshow device name/description
  Use appropriate method for device discovery, fix crash with bogus
    device index.
  libavdevice/avfoundation.m: Allow to select devices by unique ID
  libavdevice/avfoundation.m: use setAudioSettings, extend supported
    formats
  libavdevice/avfoundation.m: Replace mutex-based concurrency handling
    in avfoundation.m by a thread-safe fifo queue with maximum length
  Add AudioToolbox audio input device.

 configure                      |   5 +
 doc/indevs.texi                |  41 ++-
 libavdevice/Makefile           |   1 +
 libavdevice/alldevices.c       |   1 +
 libavdevice/audiotoolbox.m     |   8 +-
 libavdevice/audiotoolbox_dec.m | 530 ++++++++++++++++++++++++++++++++
 libavdevice/avfoundation.m     | 547 ++++++++++++++++-----------------
 libavdevice/dshow.c            |   4 +-
 8 files changed, 843 insertions(+), 294 deletions(-)
 create mode 100644 libavdevice/audiotoolbox_dec.m

-- 
2.32.0 (Apple Git-132)

_______________________________________________
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".

             reply	other threads:[~2022-03-22 13:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22 13:39 toots [this message]
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 1/6] Fix dshow device name/description toots
2022-03-22 14:10   ` Roger Pack
2022-03-22 19:07     ` Diederick C. Niehorster
2022-04-09 19:39       ` Marton Balint
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 2/6] Use appropriate method for device discovery, fix crash with bogus device index toots
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 3/6] libavdevice/avfoundation.m: Allow to select devices by unique ID toots
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 4/6] libavdevice/avfoundation.m: use setAudioSettings, extend supported formats toots
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 5/6] libavdevice/avfoundation.m: Replace mutex-based concurrency handling in avfoundation.m by a thread-safe fifo queue with maximum length toots
2022-03-22 13:39 ` [FFmpeg-devel] [PATCH 6/6] Add AudioToolbox audio input device toots
2022-03-22 14:12 ` [FFmpeg-devel] [PATCH 0/6] Various libavdevice cleanup & enhancements Roger Pack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220322133957.81743-1-toots@rastageeks.org \
    --to=toots@rastageeks.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git